Cancel all orders
Request via this endpoint to cancel all open orders. The response is a list of ids of the canceled orders.
HTTP REQUEST
DELETE /api/v1/orders
Example
DELETE /api/v1/orders?symbol=ETH-BTC&tradeType=TRADE
DELETE /api/v1/orders?symbol=ETH-BTC&tradeType=MARGIN_ISOLATED_TRADE
{
"cancelledOrderIds": [
"5c52e11203aa677f33e493fb",
"5c52e12103aa677f33e493fe",
"5c52e12a03aa677f33e49401",
"5c52e1be03aa677f33e49404",
"5c52e21003aa677f33e49407",
"5c6243cb03aa67580f20bf2f",
"5c62443703aa67580f20bf32",
"5c6265c503aa676fee84129c",
"5c6269e503aa676fee84129f",
"5c626b0803aa676fee8412a2"
]
}
API KEY PERMISSIONS
This endpoint requires the Spot Trading or Margin Trading permission.
REQUEST URL
This endpoint support Spot URL
REQUEST RATE LIMIT
Spot weight
:20
PARAMETERS
Param | Type | Mandatory | Description |
---|---|---|---|
symbol | String | No | cancel the orders for the specified symbol. |
tradeType | String | No | the type of trading :TRADE (Spot Trading), MARGIN_TRADE (Cross Margin Trading), MARGIN_ISOLATED_TRADE (Isolated Margin Trading), and the default is TRADE to cancel the spot trading orders. |
RESPONSES
Param | Description |
---|---|
cancelledOrderIds | Unique ID of the cancelled order |