It looks like you're new here. If you want to get involved, click one of these buttons!
Node JS client
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
Historical Candle data is missing in live market
In Live market Historical data candle is missing(refer screenshot)
Script : IOC
Got data till 15:05:00
Got data till 15:03:00
1) why this is happening
2) How to handle it
Hist_data_error from zerodha.png
edited May 30
In the 1st dataset,you have all the completed candles, and the running live candle of 15:05. So, nothing is missing.
About 2nd,did you use different 'to' parameter than the previous one??
1) I'm fetching Historical data in While loop
2) Historical function parameters are same for 1st and 2nd dataframe
Weird , how can the candle disappear after it has started??
However,historical data is provided only for backtesting purposes .
To generate live candles, websocket is recommended.
You can know more here: