A new release of my code to move data from Bloomberg to Mathematica. The big changes here include
- rolling all four functions (current data, historical data, intraday data, and intraday bar data) into a single executable. This reduces the number of connections needed by Mathematica among other advantages,
- standardization of function names,
- addition of DPDF code to intraday functions, allowing the user to specify whether or not data should be adjusted for dividends, and
- it has been compiled for the first time for x64 as well as x86.
This interface, its source code, and compiled binaries are freely available at
https://github.com/MichaelSternNYC/
Example:
x1 = msBBGhistory["IBM US Equity", "Px_Close_1D", {2015, 1, 1}, "", "Day", "use DPDF" -> False];
x2 = msBBGhistory["IBM US Equity", "Px_Close_1D", {2015, 1, 1}, "", "Day", "use DPDF" -> True];
DateListPlot[{Callout[x1/x1["FirstValue"], "without dividends"], Callout[x2/x2["FirstValue"], "with dividends"]}, PlotStyle -> {Red, Blue}, PlotLabel -> "Historical IBM Returns", Frame -> {True, True, False, False}, ImageSize -> Large]