Skip to main content

Cancel All Orders

This command will cancel all active orders across all accounts and broker connections.

Every resting order on the account before the command and none afterwards, with the positions still open. Cancel all orders clears the working orders account-wide without closing anything, which leaves any open position unprotected until you place new stops. That is the difference between this and flatten.

Clears the orders account-wide and closes nothing, so positions are left bare.

Example Payload​

key=your-secret-key;
command=cancelallorders;
On Tradovate

cancelallorders works with destination=tradovate;: every working order on every linked identity is cancelled. Tradovate has no bulk cancel endpoint, so the sweep is one cancel request per working order; partial failures are reported in Alert History rather than silently dropped.

ACCOUNT is rejected on Tradovate

On destination=tradovate;, including an account= field with cancelallorders returns an error instead of running. This command is always account-wide by design, and silently ignoring the field would widen a scoped request to every linked account. To cancel orders on one specific account, use cancelorders with account= instead. If you reuse one alert template across NT8 and Tradovate destinations, remove account= from the Tradovate variant of this command.