Margin Account Cancel all Open Orders on a Symbol (TRADE)
Changed on- Cancels all active orders on a symbol for margin account.
- This includes OCO orders.
Weight(IP): 1
Request
- Base URLhttps://api.binance.com
- URLhttps://api.binance.com/sapi/v1/margin/openOrders
- AuthAPI key in header X-MBX-APIKEY
Query parameters
Trading symbol, e.g. BNBUSDT
- TRUE - For isolated margin
- FALSE - Default, not for isolated margin
The value cannot be greater than 60000
UTC timestamp in ms
Signature
Response
Cancelled margin orders
Example response
[
{
"symbol": "BNBUSDT",
"origClientOrderId": "E6APeyTJvkMvLMYMqu1KQ4",
"orderId": 11,
"orderListId": -1,
"clientOrderId": "pXLV6Hz6mprAcVYpVMTGgx",
"price": "0.089853",
"origQty": "0.178622",
"executedQty": "0.000000",
"cummulativeQuoteQty": "0.000000",
"status": "CANCELED",
"timeInForce": "GTC",
"type": "LIMIT",
"side": "BUY"
}
]Changes
- 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 type changed fromobjectto no type for status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added to the
response propertyanyOflist for the response 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