History analysis
analyze_historyTrends, comparisons & 'movers': % change, strength, and min/max/avg over a window. Growth plan or higher.
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_history"
}
}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 | Currency everything is measured against (3-letter ISO 4217). Defaults to USD. | |
| from | No | Window start YYYY-MM-DD (UTC). Defaults to 20 years (2 decades) before `to`. See `period` for a shorthand. | |
| sort | No | Movers ranking: strengthened (default) or weakened. | |
| limit | No | Movers: how many top results to return (default 10, max 200). | |
| stats | No | Include min/max/avg over the window per currency. Defaults to true; pass false to skip. | |
| period | No | Relative window shorthand for `from`: e.g. 10y, 6m, 30d, ytd, max. Ignored if `from` is given. | |
| interval | No | Attach a trend series per named currency: weekly, monthly, or yearly (compare mode only). | |
| assetClass | No | Movers universe: fiat (default, the liquid tradeable currencies), metals (XAU/XAG/XPT/XPD), or all (every currency incl. illiquid/frontier). fiat excludes metals/synthetics + illiquid frontier codes; redenomination artifacts are always dropped. | |
| currencies | No | Comma-separated currencies to compare, e.g. GBP,EUR,AED. OMIT to rank ALL currencies vs base ('movers' mode). |