Hi, I was writing my algorithm that subscribes to hourly data when I realized that the end time of hourly bars are not accurate. (ie. the end time of the first hourly bar is now 10:00am rather than 9:30am, and 11:00am rather than 10:30, etc). Is this a bug or am I writing code incorrectly?

This issue has extended to causing big discrepancies with OHLC prices from other sources outside (e.g. TradingView, etc)

Can someone please help? I have illustrated the issue with the attached code. I am new to quantconnect and python so appreciate more understandable responses. Thanks!