Margin Account Cancel OCO (TRADE)
Cancel an entire Order List for a margin account
- Canceling an individual leg will cancel the entire OCO
- Either orderListId or listClientOrderId must be provided
Weight(UID): 1
Query parameters
Trading symbol, e.g. BNBUSDT
- TRUE - For isolated margin
- FALSE - Default, not for isolated margin
Order list id
A unique Id for the entire orderList
Used to uniquely identify this cancel. Automatically generated by default
The value cannot be greater than 60000
UTC timestamp in ms
Signature
Response
Margin OCO details
Example response
{
"contingencyType": "OCO",
"listStatusType": "ALL_DONE",
"listOrderStatus": "ALL_DONE",
"listClientOrderId": "C3wyj4WVEktd7u9aVBRXcN",
"transactionTime": 1574040868128,
"symbol": "BNBUSDT"
}Changes
Changed in 1 of the 26 revisions of this API.331
- ▲
for the
queryrequest parameterorderListId, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
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 response property
codebecame required for the status400response-property-became-required
- ○
the response property
codebecame required for the status401response-property-became-required
- ○
the response property
contingencyTypebecame required for the status200response-property-became-required
- ○
the response property
isIsolatedbecame required for the status200response-property-became-required
- ○
the response property
listClientOrderIdbecame required for the status200response-property-became-required
- ○
the response property
listOrderStatusbecame required for the status200response-property-became-required
- ○
the response property
listStatusTypebecame required for the status200response-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
- ○
the response property
orderListIdbecame required for the status200response-property-became-required
- ○
the response property
orderReportsbecame required for the status200response-property-became-required
- ○
the response property
orderReports/items/clientOrderIdbecame required for the status200response-property-became-required
- ○
the response property
orderReports/items/cummulativeQuoteQtybecame required for the status200response-property-became-required
- ○
the response property
orderReports/items/executedQtybecame required for the status200response-property-became-required
- ○
the response property
orderReports/items/orderIdbecame required for the status200response-property-became-required
- ○
the response property
orderReports/items/orderListIdbecame required for the status200response-property-became-required
- ○
the response property
orderReports/items/origClientOrderIdbecame required for the status200response-property-became-required
- ○
the response property
orderReports/items/origQtybecame required for the status200response-property-became-required
- ○
the response property
orderReports/items/pricebecame required for the status200response-property-became-required
- ○
the response property
orderReports/items/sidebecame required for the status200response-property-became-required
- ○
the response property
orderReports/items/statusbecame required for the status200response-property-became-required
- ○
the response property
orderReports/items/stopPricebecame required for the status200response-property-became-required
- ○
the response property
orderReports/items/symbolbecame required for the status200response-property-became-required
- ○
the response property
orderReports/items/timeInForcebecame required for the status200response-property-became-required
- ○
the response property
orderReports/items/typebecame required for the status200response-property-became-required
- ○
the response property
ordersbecame required for the status200response-property-became-required
- ○
the response property
orders/items/clientOrderIdbecame required for the status200response-property-became-required
- ○
the response property
orders/items/orderIdbecame required for the status200response-property-became-required
- ○
the response property
orders/items/symbolbecame required for the status200response-property-became-required
- ○
the response property
symbolbecame required for the status200response-property-became-required
- ○
the response property
transactionTimebecame required for the status200response-property-became-required
- ▲