New Order (TRADE)
Send in a new order.
- LIMIT_MAKER are LIMIT orders that will be rejected if they would immediately match and trade as a taker.
- STOP_LOSS and TAKE_PROFIT will execute a MARKET order when the stopPrice is reached.
- Any LIMIT or LIMIT_MAKER type order can be made an iceberg order by sending an icebergQty.
- Any order with an icebergQty MUST have timeInForce set to GTC.
- MARKET orders using quantity specifies how much a user wants to buy or sell based on the market price.
- MARKET orders using quoteOrderQty specifies the amount the user wants to spend (when buying) or receive (when selling) of the quote asset; the correct quantity will be determined based on the market liquidity and quoteOrderQty.
- MARKET orders using quoteOrderQty will not break LOT_SIZE filter rules; the order will execute a quantity that will have the notional value as close as possible to quoteOrderQty.
- same newClientOrderId can be accepted only when the previous one is filled, otherwise the order will be rejected.
Trigger order price rules against market price for both MARKET and LIMIT versions:
- Price above market price: STOP_LOSS BUY, TAKE_PROFIT SELL
- Price below market price: STOP_LOSS SELL, TAKE_PROFIT BUY
Weight(IP): 1
Query parameters
Trading symbol, e.g. BNBUSDT
Order type
Order time in force
Order quantity
Quote quantity
Order price
Used to uniquely identify this cancel. Automatically generated by default
The value cannot be less than 1000000.
Used with STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, and TAKE_PROFIT_LIMIT orders.
Used with STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, and TAKE_PROFIT_LIMIT orders.
Used with LIMIT, STOP_LOSS_LIMIT, and TAKE_PROFIT_LIMIT to create an iceberg order.
Set the response JSON. MARKET and LIMIT order types default to FULL, all other orders default to ACK.
The allowed enums is dependent on what is configured on the symbol. The possible supported values are EXPIRE_TAKER, EXPIRE_MAKER, EXPIRE_BOTH, NONE.
The value cannot be greater than 60000
UTC timestamp in ms
Signature
Response
Order result
Example response
{
"symbol": "BTCUSDT",
"orderId": 28,
"orderListId": -1,
"clientOrderId": "6gCrw2kRUAF9CvJDGP16IP",
"transactTime": 1507725176595
}