Getting started with quantmod

Jan 27, 2010

I got quantmod installed on R at work and home couple of months ago. Here are the instructions for installing them from the R command line.

install.packages(c('xts','Defaults','quantmod'))

Check out the Quantmod homepage for further information.

To quickly whip up an example to check your installation is alright, use this script:

 # chart AAPL ticker
library(quantmod)
getSymbols("AAPL")
chartSeries(AAPL)