Request
- Base URLhttps://api.binance.com
- URLhttps://api.binance.com/sapi/v1/margin/order
- AuthAPI key in header X-MBX-APIKEY
Query parameters
Trading symbol, e.g. BNBUSDT
- TRUE - For isolated margin
- FALSE - Default, not for isolated margin
Order type
Quote quantity
Order price
Used with STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, and TAKE_PROFIT_LIMIT orders.
Used to uniquely identify this cancel. Automatically generated by default
Used with LIMIT, STOP_LOSS_LIMIT, and TAKE_PROFIT_LIMIT to create an iceberg order.
Set the response JSON.
Default NO_SIDE_EFFECT
Order time in force
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
Margin order info
Example response
{
"symbol": "BTCUSDT",
"orderId": 28,
"clientOrderId": "6gCrw2kRUAF9CvJDGP16IP",
"transactTime": 1507725176595
}Changes
- breaking
added the new required
queryrequest parameterautoRepayAtCancel - info
added the new optional
queryrequest parameterselfTradePreventionMode
- breaking
- breaking
for the
queryrequest parameterrecvWindow, the format changed from no format toint64 - breaking
for the
queryrequest parametertimestamp, the format changed from no format toint64 - breaking
the
////response's property format changed fromfloattodoublefor status - info
for the
queryrequest parametericebergQty, the format was generalized fromfloattodouble - info
for the
queryrequest parameterprice, the format was generalized fromfloattodouble - info
for the
queryrequest parameterquantity, the format was generalized fromfloattodouble - info
for the
queryrequest parameterquoteOrderQty, the format was generalized fromfloattodouble - info
for the
queryrequest parameterstopPrice, the format was generalized fromfloattodouble - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
//////became required for the status - info
the response property
//////became required for the status - info
the response property
//////became required for the status - info
the response property
//////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status - info
the response property
////became required for the status
- breaking