Good day,

In order to understand Lean better, I peppered a simple example with Debug messages to see what going on on the hood.

In below algorithm i am trying to print out a 2 day moving average for the equities (line 57/58)

But it returns this value as 0.0 for all assests. Why am I not getting any values?

Regards,

Andre

Author