Historical API incorrect data

I am pulling historical data at 5min freq. But the latest row data that comes is incorrect and updates again after the next 5min run. Say the system runs to pull the latest data at 10.25. when the system runs again at 10.30, the data that was fetched at 10.25 changes again. This affected my entire algo. How do i avoid this
Sign In or Register to comment.