From the course: Algorithmic Trading and Finance Models with Python, R, and Stata Essential Training (2019)

Unlock the full course today

Join today to access over 24,200 courses taught by industry experts.

quantmod and R

quantmod and R

- [Instructor] R has a variety of third party tools that you can use in order to improve and develop financial algorithms that can help you with your trading needs. I'm in the 0303 Begin file now this is an R script. You can start from scratch if you'd like by clicking File, New File and then R Script within the R Studio framework. But if you'd like you can begin in the 0303 Begin file with me. Now what I've done is gone through in advance and installed what's called QuantMod on my machine. You'll want to follow along and do the same thing. First of all in order to install QuantMod we've got to know and understand what it is. QuantMod is a third party tool that lets you go through and pull data on a variety of different financial products. So we're installing that using this line of code and this line of code and we're pulling it from the R Studio site, and so if we hit Control and then Enter at this point it'll go through and install all of the code and you'll see that down below in…

Contents