Skip to main content

Cancel All Orders

Info
  • This endpoint requires signature. For specific signature rules, please refer to Authentication
  • This endpoint will trigger rate limit. For specific rules, please refer to Rate Limit.

HTTP request

POST /spot/cancel-all-order

Request parameters

Parameter NameRequiredTypeNotes
markettruestringMarket name
market_typetruestringMarket type.
Note: In spot related functions, only SPOT or MARGIN can be used.
In futures related functions, only FUTURES can be used.
sidefalsestringOrder side

Return parameters

None


Request example

{
"market": "CETUSDT",
"market_type": "MARGIN",
"side": "sell"
}

Response example

{
"code": 0,
"data": {},
"message": "OK"
}