Duplicate 09:15 Candle in 5-Minute OHLC Data – Bug or Data Sync Issue?

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!

Hey @113877128516688714763 ,

As checked locally the data is coming fine for me without any duplicate timestamps , this should be due to the code implementation . Could you please run the sample code and check once if the response is right :
https://myapi.fyers.in/docsv3#tag/Postback-(Webhooks)/3.-Response