Emergency Stop
emergency_stopCancel all open orders, disable new order placement, and send a Telegram alert in emergencies.
Instructions
PANIC BUTTON: cancel ALL open orders, disable order placement in control.json, and send a Telegram alert. Use only in emergency situations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | emergency stop |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Human-readable summary. | |
| success | Yes | Whether the emergency stop completed. | |
| ordersCancelled | Yes | Number of orders cancelled. | |
| tradingDisabled | Yes | Whether trading was disabled in control.json. | |
| telegramNotified | Yes | Whether a Telegram notification was sent. | |
| cancelledOrderIds | No | IDs of cancelled orders. |