Cancel All Orders
Cancel all outstanding orders in the specified side for a trading pair
(Authentication type:SIGNED, See Interface Permission)
Request Format
POST https://api-cloud.bitmart.com/spot/v1/cancel_orders
Request Limit
Request Parameter
Field | Type | Description |
---|---|---|
symbol | string | Trading pair (e.g. BTC_USDT) |
side | string | buy or sell |
Request example
https://api-cloud.bitmart.com/spot/v1/cancel_orders
{
"symbol":"BTC_USDT",
"side":"buy"
}
Response Data
If code value is 1000, it means the order is successfully canceled.
Example of returned data format
{
"code": 1000,
"trace":"886fb6ae-456b-4654-b4e0-d681ac05cea1",
"message": "OK",
"data": {
}
}