Skip to main content

Cancel Order

Description

The interface is used to cancel an order in futures trading.

HTTP Request

DELETE /v3/trade/order

Request Parameters

ParameterRequiredTypeDescription
symbolYesStringA trading pair, consisting of two currencies: base currency and quote currency
ordIdNoStringThe ID of the order to be canceled.
clOrdIdNoStringClient 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

ParameterTypeDescription
ordIdStringOrder ID
clOrdIdStringClient 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"
}