getHistoricalIndexLightChart
Retrieve end-of-day historical prices for stock indexes by symbol and optional date range, enabling analysis of price movements and volume over time.
Instructions
Retrieve end-of-day historical prices for stock indexes using the Historical Price Data API. This API provides essential data such as date, price, and volume, enabling detailed analysis of price movements over time.
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": {
"symbol": "<symbol>"
},
"name": "getHistoricalIndexLightChart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date (YYYY-MM-DD) | |
| symbol | Yes | Index symbol (e.g., ^GSPC for S&P 500) | |
| from_date | No | Start date (YYYY-MM-DD) |