API Reference

Batch cancel Futures Open 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.

Weight: 1

Request Parameters


PARAMETERTYPEReq'dExample valuesDESCRIPTION
symbolSTRINGETHUSDT-PERPETUALName of the contract.
Return results for all symbols if not specified.
sideSTRINGBUYBUY or SELL
recvWindow
timestampLONGY1714311403031Timestamp
fromOrderIdLONG1470930457684189696From Order ID
limitINTEGER20Default 100, Maximum 200

Response Content


PARAMETERTYPEExample valuesDESCRIPTION
codeSTRING0000Return 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 (return 0 if no order can be cacencelled)
Language
Credentials
Header
Click Try It! to start a request and see the response here!