Skip to main content
The cancelConditional action cancels a single conditional order by its order ID. It works for both TP/SL orders created via tpSl and standalone trigger orders. Use this action when you need to cancel a specific leg of a TP/SL setup; to cancel all TP/SL orders for a position at once, use cancelTpSl instead.

Endpoint

Request

All requests must include an ECDSA signature and a millisecond-precision nonce.

Action fields

string
required
Fixed value: "cancelConditional".
int64
required
The conditional order ID to cancel. Must be greater than 0. You receive this ID in the tpOrderId or slOrderId field of the tpSl response.

Response

Success

Response fields

int
The number of orders cancelled. Always 1 on success for this action.

Error reference