This story explains how to implement the moving average trading algorithm with R. If you’re interested in setting up your automated trading pipeline, you should first read this article. This story is a purely technical guide focusing on programming and statistics, not financial advice.

Throughout this story, we will build an R function which takes historical stock data and arbitrary threshold as…

#programming #statistics #algorithmic-trading #trading #data-science #algorithms

Implementing a Trading Algorithm with R
2.00 GEEK