get_atr
Fetch Average True Range (ATR) for any trading symbol using your active broker or a specific broker, with customizable period, timeframe, and date range to measure market volatility.
Instructions
Get ATR (Average True Range) for a symbol from active or specific broker in your session
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "get_atr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| broker | No | Specific broker (optional) | |
| period | No | ATR period (default: 14) | |
| symbol | Yes | Trading symbol | |
| to_date | No | End date (YYYY-MM-DD) | |
| interval | No | Time interval (1m, 5m, 15m, 1h, 1d) | |
| from_date | No | Start date (YYYY-MM-DD) |