7

Does anyone know any good resources/ tutorials/ books to get started with Bloomberg's API blpapi in python?

I have searched everywhere and I haven't found anything at all.

Paulina Khew
  • 397
  • 4
  • 13
mrt
  • 339
  • 1
  • 2
  • 14

2 Answers2

6

If you download the API from the official website and you the zip file, you will find an "examples" folder which has plenty of examples.

Then there's the core developer guide if you need help on the schemas.

assylias
  • 321,522
  • 82
  • 660
  • 783
  • Would you happen to know where the schemas guide is? In the core developers guide there is a reference `For additional information, refer to the "Reference Services and Schemas Guide"` however I have be unable to find this? I have found a document referencing the schemas however this is somewhat old https://data.bloomberglp.com/labs/sites/2/2014/07/blpapi-developers-guide-2.54.pdf – mgilbert Jan 25 '18 at 02:49
  • 2
    It is available in WAPI then click on API Developers Guide and the document is in the list. – assylias Jan 24 '23 at 08:50
1

xbbg is a library with minimum setup and some relatively powerful functionalities:

https://xbbg.readthedocs.io/

For example this is how to download historical intraday data:

from xbbg import blp

blp.bdib('AAPL US Equity', '2018-11-21')
Alpha
  • 2,372
  • 3
  • 21
  • 23