Hi Quantopian Community.
I am in the process of writing my first algorithm. To get the moving average of all equities, I have been using:
hweek_ma = SimpleMovingAverage(inputs=[EquityPricing.close], window_length=3)
How would I get the moving average of just the S&P 500 ?