is the candle at 15:15 represent data from 15:15 to 15:30 or it represents data from 15:00 to 15:15 . In my opinion, it represents data from 15:00 to 15:15 . I am saying this because when I call kite.historical for a fifteen minute candle at 9:30 it already has data for 09:30 ?
Please correct me if I am wrong. I will do more checks on my side though to verify this
Does it also mean that if I ask for the historical candle at 9:16 in the morning , than I should not get any data for that instrument_token ? I should get my first candle at 9:30 only , but what I see the moment I run in the morning, the historical function starts giving me data for 9:15 . Please clarify , thanks
@Rishant i guess the way it works is,it creates a 15 minute candle from the data till most recent 1 minute candle So for example if you call the api at 9:29 for a 15 minute candle you would get a candle thats made up of 14 1 minute candles (9:15 - 9:29). so calling the api at 9:16 would give you a very incorrect candle
Can you elaborate what is the confusion?
Please correct me if I am wrong. I will do more checks on my side though to verify this
So for example if you call the api at 9:29 for a 15 minute candle you would get a candle thats made up of 14 1 minute candles (9:15 - 9:29). so calling the api at 9:16 would give you a very incorrect candle