Why history api is giving sometimes wrong and sometimes correct data.
I am fetching nifty data on 1 min time frame, but most of times OPEN value is not correct, and I am also fetching after 10s candle closed. So check this at your end for few minutes and you will see inconsistencies, please fix this