Compute true range, ATR, NATR and historical volatility
technical-analysis_volatility-measuresCompute true range, Wilder ATR, NATR and annualised close-to-close historical volatility on caller-supplied OHLCV bars. Price $0.02 USDC. POST /api/v1/technical-analysis/volatility-measures. An unpaid call returns the x402 payment terms and does not run.
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": {
"bars": "<bars>"
},
"name": "technical-analysis_volatility-measures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | Yes | bars, array. Required. | |
| hvPeriod | No | hvPeriod, integer, from 2 to 20000. Required. | |
| atrPeriod | No | atrPeriod, integer, from 1 to 20000. Required. | |
| annualization | No | annualization, number, from any to 100000. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hv | No | hv. Array. | |
| tr | No | tr. Array. | |
| atr | No | atr. Array. | |
| natr | No | natr. Array. | |
| params | No | params. Object. | |
| warmup | No | warmup. Object. | |
| sources | No | sources. Array. | |
| limitations | No | limitations. Array. |