atr
Calculate Average True Range (Wilder's) for any symbol and timeframe, with volatility-regime classification into low, normal, high, or extreme based on historical percentiles.
Instructions
Average True Range (Wilder's) + volatility-regime classification (low/normal/high/extreme by historical percentile) — Average True Range (Wilder's) + volatility-regime classification (low/normal/high/extreme by historical percentile). Crypto or stocks.
Example: /v1/atr?symbol=BTC&timeframe=1h&period=14
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class | No | Optional. stock|crypto for non-curated symbols. | |
| period | No | Optional. ATR period (default 14). | |
| symbol | Yes | Required. e.g. BTC, NVDA, SPY (or any with &class=). | |
| timeframe | No | Optional. 1m,5m,15m,30m,1h,2h,4h,6h,12h,1D,1W (default 1h). |