Get Historical Data
get_historical_dataFetch historical price and metric data for Indian stocks by stock name and period, with optional filters like PE, sales, or EV/EBITDA.
Instructions
Get historical price and metric data for a stock.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Metric to filter by (options: 'price', 'pe', 'sm', 'evebitda', 'ptb', 'mcs') | price |
| period | Yes | Time period (options: '1m', '6m', '1yr', '3yr', '5yr', '10yr', 'max') | |
| stock_name | Yes | Name of the stock (e.g., 'RELIANCE') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |