stockPortfolio package can be used to access stock data via the
getReturns function. Additional functions are provided that implement
some traditional stock modeling approaches.
Use this R package as a tool for making investments at your own risk. There is no guarantee of implementation accuracy or the usefulness of the methods for actual investments.
# install.packages("devtools") library(devtools) install_github("OpenIntroOrg/openintro-r-package", subdir = "stockPortfolio")