Hi!

 

I'm using the following code to detect the intraday High of Day.

 

But it seems that so many times it gets updated with a delay compared to the current price...

For instance if you take a look at logs:

2021-03-25 14:50:00 :Current AIG price 46.24002021-03-25 14:50:00 :Current HOD AIG price 46.1500

Why don't we have the current HOD AIG price as 46.24, just as current AIG price?