This lesson requires a premium membership to access.
Premium membership includes unlimited access to all courses, quizzes, downloadable resources, and future content updates.
We will use QuantMod R package to download stock data. This allows for downloading stock data from multiple sources, although Yahoo is the default option.
To start using the Quantmod library, you can install and load it in your R environment using the following commands in R console or R Studio (Preferred).