set_kill_switch
Activate or deactivate the engine kill switch to halt or resume trading. Dry run mode lets you test changes.
Instructions
Set the engine's kill-switch state. active=true halts all trading; active=false resumes. Default dry_run=true; explicit dry_run=false applies the change. Use for emergency halt and for resuming after manual review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | Yes | ||
| reason | No | Free-text annotation recorded in the audit log. | |
| dry_run | No |