Drawdown
analyze_drawdownMaximum peak-to-trough decline vs a base (with peak/trough/recovery), or a drawdown ranking. 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_drawdown"
}
}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 365 days before `to`. | |
| sort | No | Ranking direction: deepest (largest decline first, default) or recovery (fastest recovery first). | |
| 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. OMIT to RANK the liquid set by drawdown. | |
| universe | No | Ranking universe: liquid (default) or majors. |