Hello all,
Just need some help with something I can't find the reference for...
In Pipeline, I am using the Q1500 and SimpleMovingAverage. I do not know how to call the previous SMA.
For instance:
def make_pipeline():
base_universe = Q1500US()
mean_5 = SimpleMovingAverage(inputs=[USEquityPricing.close], window_length=5, mask=base_universe)
--> how would I call mean_5's previous value here? <--
I appreciate anyone's assistance.
Thank you.
Danny