Cancel All Open Orders by Symbol

Cancel all open orders by Symbol. (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
symbolSTRINGYBTCUSDTCurrency pair name.
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
Query Params
string
required
Defaults to BTCUSDT

Name of instrument e.g. "BTCUSDT", "ETHUSDT"

string
enum

BUY or SELL

Allowed:
int64
required
Defaults to 1745308024222

Millisecond Timestamp

string
required
Defaults to fa08374bdda972048d050cf5e82c9a3ec93bb9fcbe1e869fcba78defd449c05a

Signature

int64

From Order ID

int32

Default 100, Max 200

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain