Place a spot market order sized in the base asset on both sides. The matching behavior is identical to order_market_place; the difference is that amount is always stock, on a buy as well as on a sell. This method suits sizing logic expressed in coins rather than in quote currency.
Rate limits
Place market order in stock
Request parameters
Response
The result object is the standard order object — see the order object reference. This method reports type 202 and price "0".
A buy still consumes quote currency even though the order is sized in stock. The balance must cover amount multiplied by the best ask, plus fee, otherwise the order fills only partially. The deal_money field reports what the fill actually cost.
Error codes
Standard transport errors and the shared account, rate-limit, and region codes are listed in Order Management.