Cancel Trigger Order
Cancel Trigger Order
Cancel an incomplete trigger order
Request frequency limit: 60/2s
Rate limit rule:
- Derivatives: UserID + (instrumentType, underlying)
- Spot: UserID + (instrumentType, instrumentID)
Request URL
POST /deepcoin/trade/cancel-trigger-order
Request Parameters
| Field Name | Required | Type | Description |
|---|---|---|---|
| instId | true | string | Product ID |
| ordId | true | string | Trigger Order ID |
| clOrdId | false | string | Client Order ID (currently not supported) |
Request Example
{
"instId": "BTC-USDT-SWAP",
"ordId": "1001063717138767"
}
Response Parameters
| Field Name | Type | Description |
|---|---|---|
| ordId | string | Order ID |
| clOrdId | string | Client Order ID as assigned by the client |
| sCode | string | Status code of execution result, 0: Success |
| sMsg | string | Rejection message if the request is unsuccessful |
Response Example
{
"code": "0",
"msg": "",
"data": {
"ordId": "1001063717138767",
"clOrdId": "",
"sCode": "0",
"sMsg": ""
}
}
Error Response Example
{
"code": "0",
"msg": "",
"data": {
"ordId": "",
"clOrdId": "",
"sCode": "1033201232",
"sMsg": "Order not found"
}
}
Notes
- Only incomplete trigger orders can be cancelled
- Both spot and derivatives trigger orders are supported
- The order must belong to the authenticated user
- Rate limiting is applied per user and instrument type