get_kill_switch
Check if trading is halted by reading the kill-switch state from the runtime snapshot. Returns whether active, the reason, and when it was tripped.
Instructions
Read kill-switch state from the runtime state snapshot. Returns {active, reason, since_ns}. Use this for 'is trading halted' / 'why was the kill switch tripped'. When no engine has written a snapshot, returns the idle response with active=false (there is no live trading to halt). Read-only — to flip the switch use set_kill_switch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state_path | No | Override snapshot path. |