get_atr
Calculate Average True Range (ATR) for a cryptocurrency to assess market volatility. Use ATR values to set stop-losses and optimize position sizing.
Instructions
Get ATR (Average True Range) for a cryptocurrency.
ATR measures volatility - higher values mean more volatility. Useful for setting stop-losses and position sizing.
Args: symbol: Trading pair symbol (e.g., BTCUSDT, ETHUSDT) interval: Candle interval - 1m, 5m, 15m, 30m, 1h, 4h, 1d period: ATR period (default 14) limit: Number of values to return (default 10) start_time: Start time in ISO format (e.g., 2024-01-01) end_time: End time in ISO format (e.g., 2024-02-01)
Returns: ATR values showing volatility
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 |
|---|---|---|---|
| limit | No | ||
| period | No | ||
| symbol | Yes | ||
| end_time | No | ||
| interval | No | 1h | |
| start_time | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |