Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Running SimpleMovingAverage with derived data (Pipeline)

Hi all, I'm new to Quantopian.

Recently, I tried defining a pipeline in which I'm trying to get the median price factor to be fed into a SimpleMovingAverage. However, the SimpleMovingAverage doesn't seem to work with the median price. I think it's something to do with the syntax or the class of the median_price variable not being correct for the SimpleMovingAverage to work. Can anyone share a workaround to my problem?