Skip to Content

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

ParameterTypeRequiredDescription
contFlagnumbernoContinuation flag (optional, use 1 for continuous data)
dateFormatstringyesDate format (always use ‘1’)
oiFlagnumbernoOpen interest flag (optional, use 1 to include OI data)
rangeFromstringyesStart date in YYYY-MM-DD format (e.g., ‘2021-01-01’)
rangeTostringyesEnd date in YYYY-MM-DD format (e.g., ‘2021-03-01’)
resolutionstringyesTime resolution (e.g., ‘1’, ‘5’, ‘15’, ‘30’ for minutes, ‘1D’ for daily)
symbolstringyesTrading 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

ParameterTypeRequiredDescription
strikecountnumbernoNumber of ITM and OTM strikes to include per option type (1-50). Total strikes = (strikecount * 2) + 1 ATM. Default shows all available strikes.
symbolstringyesUnderlying symbol (e.g., NSE:NIFTY50-INDEX) - must be valid equity symbol with listed options
timestampnumbernoEpoch 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

ParameterTypeRequiredDescription
contFlagnumbernoContinuation flag (optional, 0 or 1)
countbacknumbernoNumber of candles to fetch (optional)
currencyCodestringnoCurrency code (optional, e.g., ‘INR’)
dataReqstringnoData request parameter (optional)
fromstringyesStart timestamp in epoch format (e.g., ‘1708819200’)
resolutionstringyesTime resolution (e.g., ‘1D’, ‘1H’, ‘30’, ‘15’)
symbolstringyesTrading symbol (e.g., NSE:NIFTY2560526000CE for options)
tostringyesEnd timestamp in epoch format (e.g., ‘1748822400’)
tokenIdstringyesToken ID for the symbol (required for authentication)
Last updated on