Question: Write script in R/R-Studio to execute a trend following strategy for the stock Suzlon Energy (SUZLON.NS) using the historical stock price data from 01-02-2012 onwards.

 Write script in R/R-Studio to execute a trend following strategy for

Write script in R/R-Studio to execute a trend following strategy for the stock Suzlon Energy (SUZLON.NS) using the historical stock price data from 01-02-2012 onwards. Use SMA function & download the stock price data from getSymbols.yahoo

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!