New to quantopian. How would I go about using an exponential moving average in a pipeline without using the talib library? I see this thread (https://www.quantopian.com/posts/how-to-add-exponential-weighted-moving-average-into-a-pipeline), but I'm not at all sure what value to use as the "decay rate" in order to get a result equal to a generic EMA.
Suppose we want a 21 day EMA:
ema_21 = ExponentialWeightedMovingAverage(
inputs=[USEquityPricing.close],
window_length=21,
decay_rate= ?,
)
Thanks for any help!