getHistoricalSectorPE
Retrieve historical price-to-earnings (P/E) ratios for any sector to analyze valuation trends over time. Input sector, date range, and exchange to understand long-term market shifts.
Instructions
Access historical price-to-earnings (P/E) ratios for various sectors using the Historical Sector P/E API. Analyze how sector valuations have evolved over time to understand long-term trends and market shifts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sector | Yes | Sector (e.g., Energy) | |
| from_date | No | Start date (YYYY-MM-DD) | |
| to | No | End date (YYYY-MM-DD) | |
| exchange | No | Exchange (e.g., NASDAQ) |