Bot Cancel Order
Bot-specific cancel order interface, only sends to matching engine.
đ Requires IP whitelist authorization.
API Informationâ
- Method:
DELETE - Path:
/api/v1/bot/orders/{id}
Request Parametersâ
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | Yes | Order ID |
| symbol | query | string | Yes | Trading pair |
Request Exampleâ
DELETE /api/v1/bot/orders/1234567890123456789?symbol=BTC_USDT
Response Fieldsâ
| Field | Type | Description |
|---|---|---|
| code | integer | Status code |
| message | string | Response message |
| data.order_id | string | Order ID |
| data.cancel_id | string | Cancel ID |
| data.client_cancel_id | string | Client cancel ID |
Response Exampleâ
{
"code": 0,
"message": "success",
"data": {
"order_id": "1234567890123456789",
"cancel_id": "1234567890123456789",
"client_cancel_id": "my-cancel-001"
}
}