Cancel Order
Description
The interface is used to cancel an order in futures trading.
HTTP Request
DELETE /v3/trade/order
Request Parameters
Parameter | Required | Type | Description |
---|---|---|---|
symbol | Yes | String | A trading pair, consisting of two currencies: base currency and quote currency |
ordId | No | String | The ID of the order to be canceled. |
clOrdId | No | String | Client Order ID as assigned by the client |
tip
Either ordId or clOrdId must be provided, but if both are provided, ordId will take precedence.
Response Parameters
Parameter | Type | Description |
---|---|---|
ordId | String | Order ID |
clOrdId | String | Client Order ID as assigned by the client |
Request Example
{
"symbol":"BTC_USDT_PERP",
"ordId":"331378951194935296"
}
Response Example
{
"code":200,
"data":{
"clOrdId":"1e073485-dfdc-44b9-9523-3daa871984f3",
"ordId":"331378951194935296"
},
"msg":"Success"
}