Skip to main content

Cancel an order

Cancels a single order identified by orderId or clOrderId for the given symbol.

Request Parameters​

NameTypeRequiredDescription
symbolStringYesTrading pair symbol of the order to cancel.
orderIdStringNoServer-assigned order id to cancel. Required if clOrderId is not provided.
clOrderIdStringNoClient-assigned order id to cancel. Required if orderId is not provided.

Response Content​

NameTypeDescription
orderIdStringServer-assigned order id of the cancelled order.
clOrderIdStringClient-assigned order id echoed from the request.
symbolStringTrading pair symbol of the cancelled order.
orderSideStringOrder side: BUY or SELL.
typeIntegerOrder type code.
orderPriceDoubleLimit price of the cancelled order.
orderSizeDoubleOrder size in number of contracts at the time of cancellation.
filledSizeDoubleCumulative filled size before the cancel took effect.
statusIntegerOrder status code after the cancel.
timestampLongServer timestamp of the cancellation, in milliseconds since epoch.
example
DELETEhttps://api.btse.com/futures/api/v3/trade/orders

Request (default)

{
"symbol": "BTC-PERP",
"orderId": "0251ea47-88b5-48c0-aeb3-b38774fd1f90"
}

Response (default)

[
{
"orderId": "0251ea47-88b5-48c0-aeb3-b38774fd1f90",
"clOrderId": "",
"symbol": "BTC-PERP",
"orderSide": "BUY",
"type": 76,
"orderPrice": 0,
"orderSize": 1,
"filledSize": 0,
"status": 6,
"timestamp": 1784882345126
}
]