Index history
fp_index_historyRetrieve daily history for a market or industry index, oldest first, with up to 60 evenly spaced points and optional value or returns series. Use it after fp_indices to view index trends.
Instructions
Get the daily history of one market or industry index, oldest first, at most 60 evenly spaced points.
Use after fp_indices. The value series also has the change over the window.
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": {
"ins_code": "<ins_code>"
},
"name": "fp_index_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Latest trading days (about 250 per year). | |
| series | No | value: daily close, low, high. returns: six rolling returns (percent). | value |
| ins_code | Yes | ins_code from fp_indices, e.g. '32097828799138957' (total index). |