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=on;
in a webhook message along with our key
.
As soon as the 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;
Last updated