Compute realised volatility from OHLC bars
options-analytics_historical-volatilityCompute close-to-close, Parkinson, Garman-Klass, Rogers-Satchell and Yang-Zhang realised volatility from OHLC bars, optionally excluding flagged days and returning a rolling series. Price $0.04 USDC. POST /api/v1/options-analytics/historical-volatility. 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": "options-analytics_historical-volatility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | Yes | bars, array. Required. | |
| window | No | window, value. Optional. | |
| estimators | No | estimators, array. Required. | |
| annualization | No | annualization, integer, from 1 to 366. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | model. String. | |
| rolling | No | rolling. Null. | |
| sources | No | sources. Array. | |
| excluded | No | excluded. Number. | |
| parkinson | No | parkinson. Number. | |
| inputsUsed | No | inputsUsed. Object. | |
| yang_zhang | No | yang_zhang. Number. | |
| limitations | No | limitations. Array. | |
| garman_klass | No | garman_klass. Number. | |
| observations | No | observations. Number. | |
| close_to_close | No | close_to_close. Number. | |
| rogers_satchell | No | rogers_satchell. Number. |