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.
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": {
"stock_name": "<stock_name>",
"period": "<period>"
},
"name": "get_historical_data"
}
}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 |