Hi everyone,
I’ve been using the Fyers API to fetch 5-minute OHLC data after market hours (usually around 7:00 PM IST), and I’ve noticed a recurring issue with the 09:15 candle.
For most symbols (especially FnO stocks), the 09:15 candle appears twice in the data set – once in the usual time range (09:15–15:25), and then again as a duplicate, resulting in 150 candles instead of 149 for the day.
However, this issue only happens for the current trading day. When I fetch the previous day’s data, the 09:15 candle is fetched only once, as expected.
Has anyone else encountered this?
Is this a known issue with how the API syncs real-time vs historical data?
Should we filter this manually each time, or is there a way to get clean intraday data directly?
I’m currently deduplicating by timestamp and comparing OHLC values, but I’d love to know if there’s a more robust or official solution.
Any insights or confirmation from the Fyers team would be appreciated.
Thanks in advance!