New Bloomberg-to-Mathematica interface for Mathematica 10

I have added a new interface notebook for those using Mathematica 10. It fixes some bugs, increases flexibility, and most importantly, takes input and produces output using Mathematica’s new date and temporal data types, and using an Association rather than a list. It’s cleaner and more robust than the old method (though the old notebook will continue to work for those afraid of change.) If you upgrade from the old interface to the new one, note that all the functions have changed names, and their default installation path has changed as well. It’s all documented in the new notebook in the zip file at

https://www.wheels.org/monkeywrench/wp-content/uploads/2013/02/bloomberg_to_mathematica.zip

Sample usage of the new version:

aaplNF2 = msBBGetNF2["AAPL Equity", "Px_Last", DateObject["20070901"], DateObject["20081020"], "day"]; ibmNF2 = msBBGetNF2["IBM US Equity", "Px_Last", DateObject["20070901"], DateObject["20081020"], "day"];
DateListPlot[{aaplNF2[["data"]], ibmNF2[["data"]]}, Frame -> {True, True, False, False},
PlotLabel -> "IBM and Apple in 2007 and 2008", Epilog -> {(Text["apple", {{2008, 8, 1}, 18}]), (Text["ibm", {{2008, 8, 1}, 110}])}]

ex50

[ March 4, 2016 Update coming. See https://www.wheels.org/monkeywrench/?p=834 ]
[ March 7, 2016: the new source code and executables are available on Github, at https://github.com/MichaelSternNYC The Win32 binaries and instructions for use can be found at https://github.com/MichaelSternNYC/bloomberg-to-mathematica]

One thought on “New Bloomberg-to-Mathematica interface for Mathematica 10

  1. Pingback: Bloomberg to Mathematica | monkeywrench

Comments are closed.