Doubt regarding Historical Data API

Dear Team,

I have few doubts regarding Historical Data API, can someone please clarify:

Q1: Does Historical data API provides OHLC values of last resolution candle of Today or last resolution candle of last trading day? (considering Today is also a trading day) (resolution = 1 min, 5 min, 15 min, 60 min etc)

Q2: I want to capture historical data for Stock Options (for a particular strike), does fyers supports Stock Options in historical data API?

Q3: One question out of the context, Is websock asynchronous or synchronous? If my websocket is running in a seperate thread, can I subscribe a new symbol from another thread to the websocket? Will it start providing me feed of that new subscription also?

Thanks.

Hi @aksjn.xtbk71q9

Please read API docs for that.

Hello @Z4PBvkQGyF, I’ve already read the API Docs and then posted the queries here for clarification. Can you please answer?

Hi @aksjn.xtbk71q9

  1. Historical Data API provides OHLCV values upto latest candle of today, also considering today is trading day in progress.
    (Basically you can use it for capturing live data as well like Quotes API but you will need to poll it for every x minutes and you might hit API Rate Limit / CPU usage)

  2. Yes, you can fetch Stock Options Data as well with History API, provided they do NOT belong to expired series.

Thanks @nsuyash11-m18 Bro