Skip to main content
Coming soon: order placement over WebSocket becomes available on September 2, 2026, on the global platform only. The EU platform is not yet supported.
Cancel a single order — a resting limit order, a plain conditional stop, or an individual TPSL leg — across spot, margin, and futures markets. The response returns the full order object in its final state.

Rate limits

Cancel order

Request parameters

The market parameter routes the call, so it stays required even when the order id alone would identify the order. When both identifiers are supplied, client_order_id takes precedence — the response still reports the engine id, which confirms which order was hit. Canceling by client order id follows the same shape:

Response

The result object is the standard order object with status CANCELED — see the order object reference. The mtime field advances to the cancellation time while ctime stays at placement, so the pair tells how long the order lived.
Verify the outcome by status, not by the absence of an error. A successful call returns CANCELED; an unknown or already-finished order returns error 6. A partially filled order reports its matched quantity in deal_stock — cancellation withdraws only the remainder in left.
Groups need a different call. Use order_cancel_conditional for OCO and OTO groups — passing a group id here returns error 6. Plain stop orders and TPSL legs, on the other hand, belong to this method.

Error codes

Standard transport errors and the shared account, rate-limit, and region codes are listed in Order Management.