Cancel Order
Description
- Please contact your BD or RM to apply for access permissions.
Request Example
{
"args": [
{
"orderId": "xxxxxxxxxxxxxxxxxx",
"clientOid": "xxxxxxxxxxxxxxxxxx"
}
],
"id": "c8a1999c-1f82-409d-870e-f40ff49c4072",
"op": "trade",
"topic": "cancel-order"
}
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| op | String | Yes | Operation: trade trade |
| id | String | Yes | Request identifier |
| topic | String | Yes | opiccancel-order |
| category | String | No | Category spotSpotmargin Marginusdt-futures USDT futurescoin-futures Coin futuresusdc-futures USDC futures |
| args | List<Object> | Yes | Channel list |
| > orderId | String | No | Order ID Either clientOid or orderId must be provided. If both are present or do not match, orderId will take priority |
| > clientOid | String | No | Client order ID Either clientOid or orderId must be provided. If both are present or do not match, orderId will take priority |
Response
{
"event": "trade",
"id": "1750034870205",
"topic": "cancel-order",
"args": [
{
"orderId": "xxxxxxxx",
"clientOid": "xxxxxxxx"
}
],
"code": "0",
"msg": "Success",
"ts": "1750034870597"
}
Response Parameters
| Parameters | Type | Description |
|---|---|---|
| event | String | Eventtrade/error |
| id | String | Request identifier |
| topic | String | Topiccancel-order cancel-order |
| args | List<Object> | Channel list |
| > orderId | String | Order ID |
| > clientOid | String | Client order ID |
| code | String | Code |
| msg | String | Message |
| ts | String | Timestamp |