Questions tagged [blpapi]

API to Bloomberg data services, available in a variety of languages

The Bloomberg API (BLPAPI) is a comprehensive API providing access to financial market data feeds provided by Bloomberg's products (Bloomberg Professional Service, Platform, B-Pipe and others). The API is free-to-use and distribute; documentation and library downloads are available from the Open Bloomberg site. API libraries are offered for many platforms (Windows, Linux, and Solaris) and for a variety of programming languages (C, C++, C#, Java, Python and more).

This tag should be used for asking questions about the usage of the API itself, but not for technical support questions about Bloomberg's services and products. For example, if you cannot establish a server session using the API because the library cannot connect, you should contact Bloomberg's customer support team. However, if you are unsure how to apply a particular API call to the problem you are trying to solve, ask away right here on Stack Overflow, and be sure to tag your question appropriately with the platform and language you are developing with.

166 questions
31
votes
6 answers

How do I store data from the Bloomberg API into a Pandas dataframe?

I recently started using Python so I could interact with the Bloomberg API, and I'm having some trouble storing the data into a Pandas dataframe (or a panel). I can get the output in the command prompt just fine, so that's not an issue. A very…
Danny
  • 625
  • 2
  • 8
  • 11
11
votes
2 answers

Rblpapi - using bdp with ISIN / Cusip gives error

I get following error, when I use bdp with ISIN or CUSIP. bdp ("US25470XAB10 ISIN","ULT_PARENT_TICKER_EXCHANGE") bdp ("25470XAB1 CUSIP","ULT_PARENT_TICKER_EXCHANGE") Error in bdp_Impl(con, securities, fields, options, overrides, identity) :…
pulp_fiction
  • 185
  • 1
  • 12
10
votes
1 answer

Python Bloomberg API request does not return result

I am attempting to install the Bloomberg API. I have followed all instructions and can run code without producing any errors. However it doesn't produce any useful output which makes me think something went wrong with the install. I've been trying…
Tom
  • 1,003
  • 2
  • 13
  • 25
7
votes
1 answer

How to implement BQL Bloomberg excel formula to python API (blpapi)?

Is there a way to implement BQL using python API or even any language`s API?
user10917828
7
votes
2 answers

Bloomberg API for python tutorial

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.
mrt
  • 339
  • 1
  • 2
  • 14
7
votes
3 answers

Python 2.7 with Bloomberg API import blpapi failure

This is my development environment: Windows 7 on a 64-bit HP Pavilion laptop Python 2.7, 32-bit in folder C:\python27 Development environment is Eclipse with PyDev, but this doesn't seem to matter, because I get the same kind of failure whether I…
TARKUS
  • 2,170
  • 5
  • 34
  • 52
6
votes
4 answers

Starting bbcomm in Java v3 Bloomberg API

When I use the Java Bloomber V3 API it usually works. However, sometimes, especially after a reboot, bbcomm.exe is not running in the background. I can start it manually by running blp.exe, but I wondered if there was a way of doing this via the…
Nick Fortescue
  • 43,045
  • 26
  • 106
  • 134
6
votes
7 answers

Bloomberg API request timing out

Having set up a ReferenceDataRequest I send it along to an EventQueue Service refdata = _session.GetService("//blp/refdata"); Request request = refdata.CreateRequest("ReferenceDataRequest"); // append the appropriate symbol and field data to the…
Unsliced
  • 10,404
  • 8
  • 51
  • 81
5
votes
3 answers

How do you Download Bloomberg intraday data

How do you get intraday 1 minute data from Bloomberg please? I want bid & ask for 5 futures saved as a data frame please. Thanks.
Dan Needham
  • 71
  • 1
  • 1
  • 5
5
votes
2 answers

Getting no module named _internals error while using Bloomberg API

I am currently using Python 2.7 and my OS is Windows 7. While attempting to use the Bloomberg API I am getting this error: Traceback (most recent call last): File "datagrab.py", line 1, in import blpapi, time, json File…
Bumblebee9898
  • 71
  • 1
  • 6
4
votes
0 answers

Python 2.7 Bloomberg blpapi import error on Mac OS X Sierra

After successful installation of the pybgg, when tried to run $python test_pybbg.py Got the following error message: ImportError: No module named blpapi MacBook:pfinance Allen$ which python /Users/Allen/anaconda/bin/python MacBook:pfinance Allen$…
Rider44
  • 141
  • 3
  • 8
4
votes
0 answers

Get average (Quote field in BDH) when loading data from Bloomberg

In Excel, it is possible to define whether the BDH function returns average (a) or close (c) quotes. Can this be done when loading data from Bloomberg to MATLAB using the history command? e.g., in MATLAB: javaaddpath 'C\Matlab\blpapi3.jar' c =…
Kaisa
  • 81
  • 4
4
votes
2 answers

Bloomberg Api connection issue - Connection failed

I was trying out bloomberg c++ api example. Got the error below: ritesh@Ritesh:~/Desktop/blpapi_cpp_3.7.5.1/Linux$ ./RequestServiceExample_64 RequestServiceExample Connecting to port 8194 on localhost Server is…
Ritesh
  • 41
  • 1
  • 2
3
votes
2 answers

blpapi in python version 3.9

I am trying to install the blpapi in python version 3.9 For the record i am able to get 3.7 and 3.8 working using the standard setup and running the pip command at the bottom of this page: www.bloomberg.com/professional/support/api-library The only…
D.L
  • 4,339
  • 5
  • 22
  • 45
3
votes
4 answers

How to download BLPAPI using pip install

I am a new Bloomberg Terminal user and I have tried following the instructions here to download the Bloomberg API using python. However, when I run the following in the command prompt python -m pip install…
Andy
  • 109
  • 1
  • 3
  • 14
1
2 3
11 12