getHistoricalSectorPE
Analyze historical price-to-earnings (P/E) ratios for specific sectors and exchanges to track valuation trends and market shifts over time.
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 |
---|---|---|---|
exchange | No | Exchange (e.g., NASDAQ) | |
from | No | Start date (YYYY-MM-DD) | |
sector | Yes | Sector (e.g., Energy) | |
to | No | End date (YYYY-MM-DD) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"exchange": {
"description": "Exchange (e.g., NASDAQ)",
"type": "string"
},
"from": {
"description": "Start date (YYYY-MM-DD)",
"type": "string"
},
"sector": {
"description": "Sector (e.g., Energy)",
"type": "string"
},
"to": {
"description": "End date (YYYY-MM-DD)",
"type": "string"
}
},
"required": [
"sector"
],
"type": "object"
}