Cancel Orders
Requests cancellation for one pending order or for open strategy orders.
Requests cancellation for one pending order or for open strategy orders.
When to use
Use it on timeout, safety, or cleanup paths when pending orders should no longer remain active.
Example
After Await Order Event times out, request cancellation and report whether cancellation succeeded.
Cancel the intended ticket
For Single order, extract Client Order ID from the Order Ticket on the same submission path and connect it to Cancel Orders. Set a confirmation timeout that matches the test you are running. If the cancellation is confirmed, follow Canceled and inspect Cancel Result. If it is not confirmed, follow Not Canceled and inspect why. An order that filled before the request cannot be made unfilled by cancellation. All open orders is a broader scope; review the optional side filter and the affected-order count before using it as a cleanup action.
Common problems
A request can return Not Canceled. Provide the intended scope or identifier and handle both control outcomes.
Next steps
Review the generated Parameters, Outcomes, and Data Ports on this page, then open the related guides for the complete workflow.
Related documentation
- Await Order EventWaits for lifecycle events associated with a submitted Order Ticket.
- Cancel Result FieldExtracts one field from the result of a cancellation request.
- Tactical order and position monitoringUnderstand a Tactical pattern that sizes an order, checks margin, tracks its lifecycle, and monitors the position.