Skip to main content

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

ParameterTypeRequiredDescription
symbolstringYesTrading 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

ParameterTypeDescription
codestringResponse code
msgstringResponse message
requestTimenumberRequest timestamp in milliseconds
dataobjectCancel result data
> symbolstringTrading pair symbol

Response Example

Success Response

{
"code": "00000",
"msg": "success",
"requestTime": 1732000000000,
"data": {
"symbol": "BTCUSDT"
}
}

Error Codes

CodeMessage
40001Parameter cannot be empty
40002Unauthorized
43000Invalid symbol format: symbol