Cancel Orders by Symbol
Cancel all active orders for a specific trading symbol.
HTTP Request
POST /api/v1/spot/trade/cancel-symbol-order
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | Yes | Trading pair symbol (e.g., BTCUSDT) |
Request Example
curl -X POST "https://open-api.bydoxe.com/api/v1/spot/trade/cancel-symbol-order" \
-H "ACCESS-KEY: your-api-key" \
-H "ACCESS-SIGN: your-signature" \
-H "ACCESS-PASSPHRASE: your-passphrase" \
-H "ACCESS-TIMESTAMP: 1659076670000" \
-H "Content-Type: application/json" \
-d '{
"symbol": "BTCUSDT"
}'
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | string | Response code |
| msg | string | Response message |
| requestTime | number | Request timestamp in milliseconds |
| data | object | Cancel result data |
| > symbol | string | Trading pair symbol |
Response Example
Success Response
{
"code": "00000",
"msg": "success",
"requestTime": 1732000000000,
"data": {
"symbol": "BTCUSDT"
}
}
Error Codes
| Code | Message |
|---|---|
| 40001 | Parameter cannot be empty |
| 40002 | Unauthorized |
| 43000 | Invalid symbol format: symbol |