i just started quantconnect here.

i am trying to align data in quantconnect to my live Oanda before proceeding with algorithm. 

i found that they are not the same... i read it due to GMT diff but is there a way to align it?

i tried..

startdate = startdate.AddHours(-11);

 SetStartDate(startdate);

but looks like setstartdate do not take in hours into consideration

then how do i align it.. or should i use a ( if {timerange} do....; else{null} ) during ondata()?

log here

2020-05-17 00:00:00 Startdate = 5/17/2020 12:00:00 AM
2020-05-17 00:00:00 Enddate = 5/23/2020 12:00:00 AM
2020-05-17 20:00:00 107.21
2020-05-18 20:00:00 107.39
2020-05-19 20:00:00 107.82
2020-05-20 20:00:00 107.59
2020-05-21 20:00:00 107.65
2020-05-22 20:00:00 107.64

 

Author