- Clone the repo
- In R:
source("path/to/repo/tools.r")
source("path/to/repo/common.r")
For each library that does not exist, you will have toinstall.packages("offending_library") - Have a look at the code but the main usefull tools are
blpConnect,bbdhfor daily historical data,bbdtfor ticks,bdsreference data, andregressfor regression charting. - There is a bunch of other linear algebra stuff in there specifically PCA-related like
makePCs, and also convenience functions likelogret.
Disclaimer: NOT responsible for any messups whatsoever. This code has been accumulated over many years of using R and is not meant to be canonical, but instead helps with exploratory financial data science, and especially, using the Terminal.