Private
Cancel Order Channel
Description
- Cancel order
Code
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| op | String | Yes | "trade" |
| args | List<Object> | Yes | List of channels to request subscription |
| > id | String | Yes | Unique Identifier Length<= 40 ("^[0-9A-Za-z_:#\-+\s]*$"); |
| > instType | String | Yes | Product line type USDT-FUTURES |
| > instId | String | Yes | Product ID, e.g. ETHUSDT |
| > channel | String | Yes | Channel name, cancel-order |
| > params | Object | Yes | |
| >> orderId | String | No | Order ID Either orderId or clientOid is required.If both are present, orderId prevails. |
| >> clientOid | String | No | Custom order ID Either orderId or clientOid is required.If both are present, orderId prevails. |
Code
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| event | String | Eventtrade error |
| arg | Object | Channel |
| > id | String | Unique Identifier Length<= 40 ("^[0-9A-Za-z_:#\-+\s]*$"); |
| > instType | String | Product line type USDT-FUTURES |
| > instId | String | Product ID, e.g. ETHUSDT |
| > channel | String | Channel name, cancel-order |
| > params | Object | |
| >> orderId | String | Order ID Either orderId or clientOid is required.If both are present, orderId prevails. |
| >> clientOid | String | Custom order ID Either orderId or clientOid is required.If both are present, orderId prevails. |
| code | String | code |
| msg | String | msg |
