TRADING DAY'S CANDLE DATA

I WANT EVERYONE TO TAKE THE ATTENTION

After market hours almost everyday (i.e. 90% and above) when i am going to fetch 5 minute or 15 minute of candle data of FnO stock (Cash) (Not sure about other cash stocks) in the evening after 7:00 pm (time mentioned here I fetched almost everyday at this time or after that) every candle comes twice i.e. first it fetches 09:15 to 15:25 candle then again it fetches 09:15 to 15:25 candle so in the python terminal i can see 150 rows for 5 minute candle for every symbol i fetch

Now if I fetch last 2 days data of 5 minute candle the previous day’s candle is fetched curreclty meaning 09:15 candle of previous day fetched once but 09:15 candle of current day is fetched twice and every candle is fetched twice

This bug is coming from long time ago
But it still no fixes

Hey @demochana-wlg ,

As checked from my side the data is coming correctly without any duplication , could you please check this by using our sample code . this might be due to the implementation of code
https://myapi.fyers.in/docsv3#tag/Postback-(Webhooks)/4.-Blacklisting

kindly check after evening at least after 7:00 pm
you will recieve every candle twice first 09:15 to 15:25 and again it populates 09:15 to 15:25 candles

even today i recived twice every candle

it populates 5 minute data twice via
from fyers_apiv3 import fyersModel

client_id = “XC4XXXXM-100”
access_token = “eyJ0eXXXXXXXX2c5-Y3RgS8wR14g”

Initialize the FyersModel instance with your client_id, access_token, and enable async mode

fyers = fyersModel.FyersModel(client_id=client_id, is_async=False, token=access_token, log_path=“”)

data = {
“symbol”:“NSE:SBIN-EQ”,
“resolution”:“D”,
“date_format”:“0”,
“range_from”:“1690895316”,
“range_to”:“1691068173”,
“cont_flag”:“1”
}

response = fyers.history(data=data)
print(response)

and also from

curl --location --request GET 'https://api-t1.fyers.in/data/history?symbol=NSE:SBIN-EQ&resolution=30&date_format=1&range_from=2021-01-01&range_to=2021-01-02&cont_flag=' \
 --header 'Authorization:app_id:access_token’

here