Scott shared the details of algorithm profiling that he recently completed on an algorithm using the new Pipeline API. This resulted in the addition of two new built in factors that are now available for use.
- Exponentially weighted moving average (EWMA) - which allows you to calculate a moving average while weighting the importance of the data based on recency
- Exponentially weighted moving standard deviation (EWMSTD) - which allows you to see the variance in the EWMA
The attached backtest was the backtest shared with us by Simon Thornington which resulted in the addition of these two new built in factors. I thought it relevant to share and have updated it to use the two new factors. Simon asked that I give a nod to Systematic Trading: A unique new method for designing trading and investing systems since most of the naive risk parity sizing etc came from his book.