Statistics for Several Instruments
stats.bundleVolatility, change and range for up to 20 instruments in ONE call. A separate tool from price.stats, for the same pricing reason as price.bundle. Returns the same derived statistics over the full retained history per instrument, with per-instrument errors rather than a whole-call failure when one has no history. Paid; charged only if at least one instrument resolves.
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": {
"codes": "<codes>"
},
"name": "stats.bundle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codes | Yes | Instrument codes, up to 20. | |
| windows | No | Lookback windows, e.g. ["30d", "90d", "1y"]. Defaults to those three. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| stats | Yes | ||
| dropped_codes | No |