Trading Status
get_trading_statusRetrieves the current trading-control state from control.json to check if trading is enabled or paused.
Instructions
Inspect trading-control state from control.json.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_trading_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | Yes | Configured dry-run flag. | |
| updatedAt | No | Last control update timestamp. | |
| updatedBy | No | Who last updated control.json. | |
| blockReason | No | Optional operator-supplied block reason. | |
| controlPath | Yes | Absolute path to control.json. | |
| tradingMode | Yes | Current trading mode. | |
| ordersEnabled | Yes | Whether orders are enabled. | |
| effectiveDryRun | Yes | Effective dry-run status after safety rules. | |
| validationErrors | No | Validation errors for the control state. | |
| overrideFileExists | No | Whether the override file exists. | |
| overrideFileMessage | No | Override-file validation detail. | |
| isLiveTradingEnabled | Yes | Whether live trading is fully enabled. | |
| liveTradingOverrideFile | No | Live override file path. |