Volatility analysis
analyze_volatilityReturn annualized volatility (%) for each currency against base, with the number of daily returns used. Use to rank stability or find the most volatile currency or pair. Omit currency to rank the universe (sort stable or volatile); provide one currency or a comma-separated list to compare. Use analyze_drawdown for worst peak-to-trough loss and analyze_safe_haven for crisis resilience. Defaults: 365-day window, base USD, sort stable, universe liquid, limit 10. Returns { base, from, to, mode, basis, results[] }; volatility is null when there is too little data. Requires a signed-in connection and the Growth plan or higher; each successful call bills 1 API request.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analyze_volatility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Window end YYYY-MM-DD (UTC). Defaults to today; a future date clamps to today. | |
| base | No | Base currency to measure against (3-letter ISO 4217). Defaults to USD. | |
| from | No | Window start YYYY-MM-DD (UTC). Defaults to 365 days before `to`. | |
| sort | No | Ranking direction: stable (least volatile first, default) or volatile. | |
| limit | No | Ranking: how many to return (default 10, max 50). | |
| currency | No | Currency to measure (3-letter ISO 4217), or a comma-separated list to compare. OMIT to RANK the liquid-currency set by stability. | |
| universe | No | Ranking universe: liquid (default, broad set) or majors (USD/EUR/GBP/JPY/CHF/CAD/AUD/NZD). Use majors for 'most volatile major pair'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| base | Yes | ||
| from | Yes | ||
| mode | Yes | ||
| sort | No | ||
| basis | Yes | ||
| results | Yes | ||
| universe | No |