I have a question relating to barsRequest.
I am asking to load data from 5/20/2020 6:00PM to 5/21/2020 9:30AM.
When I print the start date to load from the barsRequest It shows 5/20/2020. Everything's fine.
I have a for loop that goes through the bars. On bars.Bars.GetTime(i) when i=0 ( the first bar loaded ) it shows me 5/19/2020 6:00PM.
Here is the print out :
new BarsRequest StartDateToLoad 5/20/2020 6:00:00 PM new BarsRequest EndDateToLoad 5/21/2020 9:30:00 AM
bars.Bars.GetTime(i) when i=0 : 5/19/2020 6:00:00 PM
Am I missing something ?
Thank you

Comment