API Reference

Cancel All Open Spot Orders

Cancel all open orders (Max 200 orders per request).
If requesting via main trading account API Key, only orders from main trading account will be canceled, but not the ones from sub trading account.

📘

Each batch cancel has a upper limit of 200 orders

Frequency Limit Type: Weight 1

Request Parameters


PARAMETERTYPEReq'dExample valuesDESCRIPTION
symbolSTRINGBTCUSDTCurrency pair name.
Return results for all Symbols if not specified.
sideENUMBUYBUY or SELL
timestampLONGY1714311403031Timestamp
fromOrderIdLONG1470930457684189696From Order ID, from which order Id will the results be generated.
limitINTEGER20Default 100, Max 200. Will only return 200 results even if limit being set greater than 200.

Response Content


PARAMETERTYPEExample valuesDESCRIPTION
codeSTRING0Return code of cancellation request.
messageSTRINGsuccessReturn message of cancellation request. Reflecting whether the request is successfully accepted (does not indicate the task is successfully completed)
timestampLONG1541161088303Timestamp when returning
lastOrderIdLONG1470930457684189696Last Order ID to be canceled
Language
Authorization
Header
Click Try It! to start a request and see the response here!