trademcp_get_price_history
Retrieve historical OHLCV price candles for Indian stocks on NSE or BSE to chart trends, analyze price action, and review period returns.
Instructions
Get historical OHLCV candles for an Indian stock.
Returns the most recent candles with date, open, high, low, close and volume, newest first, along with the period's start/end prices and total return so the caller can chart or analyse the series.
Args: symbol: NSE symbol or company name range: lookback window interval: candle size limit: maximum candles to return exchange: 'NSE' or 'BSE' response_format: 'markdown' or 'json'
Returns: Markdown table of candles, or JSON with 'candles' and 'period_summary'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of candles to return (1-500) | |
| range | No | Lookback window: 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max | 6mo |
| symbol | Yes | NSE symbol or company name, e.g. 'INFY' | |
| exchange | No | 'NSE' or 'BSE' | NSE |
| interval | No | Bar size: 1d, 1wk, 1mo, 1h, 30m, 15m, 5m | 1d |
| response_format | No | 'markdown' or 'json' | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |