get_stock_history
Retrieve OHLCV price history for NSE/BSE stocks and indices by symbol, with selectable period and interval, capped to recent rows for analysis.
Instructions
Price history (OHLCV) for an NSE/BSE stock or index ticker like '^NSEI'.
period: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max.
interval: 1d, 5d, 1wk, 1mo. Returns at most max_points recent rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 1y | |
| symbol | Yes | ||
| exchange | No | NSE | |
| interval | No | 1d | |
| max_points | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||