An example of a trading strategy coded in R
Back-testing of a trading strategy can be implemented in four stages. Getting the historical data Formulate the trading strategy and specify the rules Execute the strategy on the historical data Evaluate performance metrics In this post, we will back-test our trading strategy in R. The quantmod package has made it ... [Read more...]