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)
Query Params
string
required
Defaults to 2528f7032c6d068e07320d3199bd0ef94d16be1d9f568e1bf446fd283e6d6827

signature

string
required
Defaults to ETHUSDT-PERPETUAL

Name of the contract

string
required
Defaults to BUY

BUY or SELL

int64

recv window

int64
required
Defaults to 1714406332440

timestamp

int64

From Order ID

int32

Default 100, Maximum 200

Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json