getHistoricalIndexLightChart
Retrieve end-of-day historical prices for stock indexes, including date, price, and volume, to analyze price movements over a chosen date range.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Index symbol (e.g., ^GSPC for S&P 500) | |
| from_date | No | Start date (YYYY-MM-DD) | |
| to | No | End date (YYYY-MM-DD) |