Bars Endpoint returning future data

when requesting minute resolution data from the Bars API endpoint I am receiving values for times in the future… the following was the result of running a request at 1:31PM Eastern time on 3-26-2021

as you can see there is data returned for times stretching all the way to 17:30 (5:30PM Eastern time) on 3-26-2021. This is in the future! Could anyone point to a potential reason that this could be? AFAIK there is no reason I should be getting data for times in the future.

EDIT: This is my mistake, the bars API endpoint is now returning times in UTC not eastern time as it was previously. 17:31 UTC corresponds to 1:31 Eastern.

1 Like