Margin Account Cancel all Open Orders on a Symbol (TRADE)
- Cancels all active orders on a symbol for margin account.
- This includes OCO orders.
Weight(IP): 1
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
Changed in 1 of the 26 revisions of this API.3145
- ▲
for the
queryrequest parameterrecvWindow, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parametertimestamp, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
the
items/response's property type/format changed fromobject/to/for status200response-property-type-changed
- ●
removed the optional property
items/clientOrderIdfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/cummulativeQuoteQtyfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/executedQtyfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/isIsolatedfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/orderIdfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/orderListIdfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/origClientOrderIdfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/origQtyfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/pricefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/sidefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/statusfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/symbolfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/timeInForcefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/typefrom the response with the200statusresponse-optional-property-removed
- ○
added
canceledMarginOrderDetailmarginOcoOrderto theitems/response propertyanyOflist for the response status200response-property-any-of-added
- ○
the response property
codebecame required for the status400response-property-became-required
- ○
the response property
codebecame required for the status401response-property-became-required
- ○
the response property
msgbecame required for the status400response-property-became-required
- ○
the response property
msgbecame required for the status401response-property-became-required
- ▲