Skip to main content

Kill Switch

In the XT Control Panel, we can set the master Kill Switch to block all alerts. Turning on the Kill Switch prevents CrossTrade from taking any action on any new alerts until the switch is turned off.

But what if you want to toggle this kill switch in an automated way?

We can toggle the master kill switch by setting kill_switch=on; or kill_switch=off; in a webhook message along with our key.

As soon as the request has been processed, the master kill switch will be immediately engaged and will block all incoming alerts.

Example Payloads

Turning the master Kill Switch on:

key=your-secret-key;
kill_switch=on;

Turning the master Kill Switch off:

key=your-secret-key;
kill_switch=off;

On Tradovate

The master Kill Switch blocks every alert, including destination=tradovate; ones — the switch is evaluated before any broker routing. The toggle payloads themselves (kill_switch=on; / kill_switch=off;) are a CrossTrade control rather than a broker order: send them without a destination field.