Mean-reversion analysis
analyze_mean_reversionRank currencies by how strongly they revert to their historical mean, using a composite 0–100 score (crossing frequency + reversion half-life), plus current deviation and half-life in days. Use for questions like "does EUR snap back to its average". Provide currencies to score specific codes, or omit to rank the liquid set. Use analyze_history for raw change and analyze_volatility for dispersion. Defaults: roughly a 2-year window, base USD, limit 10. Returns { base, from, to, results[] }; score and halfLifeDays are null when there is not enough reverting 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_mean_reversion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Window end YYYY-MM-DD (UTC). Defaults 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 ~2 years before `to`. | |
| limit | No | How many to return (default 10, max 50). | |
| currencies | No | Comma-separated currencies to score, e.g. EUR,GBP. OMIT to rank the liquid set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| base | Yes | ||
| from | Yes | ||
| results | Yes | ||
| universe | No |