Implemented API support for placing orders.