Index history
get_index_historyRetrieve historical price data for a market or sector index over selected periods, including today's minute data or 1-week to 1-year ranges.
Instructions
History of a market or sector index. index can be "ASPI", "S&P SL20",
a sector name/symbol from get_sector_indices (e.g. "Banks", "BNK") or its
numeric index_id. period: "today" (minute data), "1w", "1m", "3m", "1y".
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": "get_index_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ASPI | |
| period | No | 1m | |
| max_points | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||