Market Data
Get historical candles and option chains for analysis. Ask your AI client in plain language; it picks the tool.
get_chart_data
Get historical OHLCV candlestick data for technical analysis and charting. Use for price charts, technical analysis, trading signals, and calculating indicators like RSI, MACD. Supports various timeframes.
Example prompts
- “Show daily candles for NIFTY 50 for the last 3 months.”
- “Calculate the 14-day RSI of RELIANCE.”
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
contFlag | number | no | Continuation flag (optional, use 1 for continuous data) |
dateFormat | string | yes | Date format (always use ‘1’) |
oiFlag | number | no | Open interest flag (optional, use 1 to include OI data) |
rangeFrom | string | yes | Start date in YYYY-MM-DD format (e.g., ‘2021-01-01’) |
rangeTo | string | yes | End date in YYYY-MM-DD format (e.g., ‘2021-03-01’) |
resolution | string | yes | Time resolution (e.g., ‘1’, ‘5’, ‘15’, ‘30’ for minutes, ‘1D’ for daily) |
symbol | string | yes | Trading symbol (e.g., NSE:SBIN-EQ) |
get_option_chain
Get option chain data with strike prices, premiums, Open Interest, and volatility for CE/PE options. Use for option chain tables, analyzing premiums, monitoring OI changes, market sentiment, option strategy planning, and getting expiries.
Example prompts
- “Show the NIFTY option chain with 10 strikes around the ATM strike.”
- “What are the available expiries for BANKNIFTY options?”
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
strikecount | number | no | Number of ITM and OTM strikes to include per option type (1-50). Total strikes = (strikecount * 2) + 1 ATM. Default shows all available strikes. |
symbol | string | yes | Underlying symbol (e.g., NSE:NIFTY50-INDEX) - must be valid equity symbol with listed options |
timestamp | number | no | Epoch timestamp for historical option chain data (optional, current data if not provided) |
get_indus_history
Get historical OHLCV data from Indus endpoint for options/futures contracts and granular data access. Use when main chart data endpoint doesn’t provide sufficient data or for complex technical analysis of derivatives.
Example prompts
- “Get 5-minute candles for this month’s NIFTY futures contract.”
- “Fetch historical data for a BANKNIFTY option contract.”
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
contFlag | number | no | Continuation flag (optional, 0 or 1) |
countback | number | no | Number of candles to fetch (optional) |
currencyCode | string | no | Currency code (optional, e.g., ‘INR’) |
dataReq | string | no | Data request parameter (optional) |
from | string | yes | Start timestamp in epoch format (e.g., ‘1708819200’) |
resolution | string | yes | Time resolution (e.g., ‘1D’, ‘1H’, ‘30’, ‘15’) |
symbol | string | yes | Trading symbol (e.g., NSE:NIFTY2560526000CE for options) |
to | string | yes | End timestamp in epoch format (e.g., ‘1748822400’) |
tokenId | string | yes | Token ID for the symbol (required for authentication) |