I have been downloading 5 min candles using python API for a long time now. But recently updated my code to check the accuracy of the candle time stamps. I seem to notice that there is a few seconds delay in few of the candles.
Ex. if i download a candle at 14:00 hrs and 1 second , the last candle in the json data is for 14:00 hrs(partial candle just started), but for a few it is still 13:55 hrs.
i tried to delay the download from 1 to 10 seconds . Ex. i tried to download the candle at 14:00 hrs 10 seconds , i still had some candles with time stamps of 13:55 hrs , while it should have 14:00 hr timestamp