Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 885 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 885 Bytes

blpapiwrapper

Simple Python wrapper for the Python Open Bloomberg API

Requisites:

This wrapper allows simple use of the Bloomberg Python API. It only works if you're connected to Bloomberg, typically on a machine where the Bloomberg terminal application is running.

There are three main components:

  • a simple implementation that emulates the Excel API bdp and bdh functions, useful for scripting;
  • a thread-safe implementation of the Response/Request paradigm; and
  • a thread-safe implementation of the Subscription paradigm.

For the Response/Request paradigm the bdp output comes as a string, the bdh output comes as pandas DataFrame. Check the main() function for examples.

The Observer pattern is also implemented for the subscription paradigm.