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
2
votes
1 answer

Has anybody used Blpapi/Pdblp etc packages to export Supply chain data (SPLC) from Bloomberg?

I am using pdblp package to gather supply chain data. But I am facing two problems. First, it just gives me the just first five suppliers of current date, not even all. Also, it does not give any historical data. By changing any date, still get the…
2
votes
1 answer

How to "slice" or get a certain value from a subscription in BLPAPI from Python?

I started working on BLPAPI for Python from BBG. And I got it to work. Now I get market data outputs, but I don't know how to handle them properly (heck I don't even know what kind of data this is). The code: def main(): options =…
HME
  • 103
  • 8
2
votes
0 answers

blpapi override is requested but not represented in outputted value?

I am requesting the field TRADING_DAY_START_TIME_EOD (Market Open time). In excel I can give overrides so I am doing the same for blpapi. The request is: securities[] = { "/sedol1/ AU Equity" } fields[] = { …
2
votes
0 answers

BLPAPI & Bloomberg Swap Manager

Any blpapi users, specifically the python API, have any examples/guidance on using the swap manager function? In excel, we have a formula that access the swap manager, it looks somewhat like this…
Juan Lopez
  • 21
  • 2
2
votes
1 answer

query bloomberg api with python; tickers return nothing

I'm new to bloomberg terminals but I'm trying to pull data from bloomberg using the python API. The underlying c++ SDK seems to be working as I have pip installed the following python libraries: blpapi pdblp I can connect to the terminal and run…
user3062260
  • 1,584
  • 4
  • 25
  • 53
2
votes
1 answer

cannot install blpapi in macOS

I have just tried to install blpapi into my MacBook and I have the below error. I have installed the C++ SDK and export both BLPAPI_ROOT and DYLD_LIBRARY_PATH to the right directory. It generates errors like error: use of undeclared identifier…
K.C.
  • 21
  • 3
2
votes
1 answer

IB (Instant Bloomberg) chat transcript via API

I have a Bloomberg terminal running on my PC. Is there a way of reading chat transcript from my own application ? For example I am using Bloomberg API from C#, but developer's guide does not mention anything about "Instant Bloomberg". I use BBG API…
Jack
  • 350
  • 2
  • 15
2
votes
2 answers

Import error for blpapi module

This is my first post. I run the following: Win 10 Anaconda with Python 3.6.5 Bloomberg Anywhere I am trying to use the blpapi (bloomberg professional API) for Python. Downloaded the Desktop API package (with C++ libraries), downloaded…
chmith
  • 21
  • 1
  • 6
2
votes
2 answers

Error Accessing Data in Message Element

I have an issue trying to process a ReferenceDataRequest. Here is all the code I am using to fill in a session. global options options = parseCmdLine() sessionOptions = blpapi.SessionOptions() …
Torin M.
  • 523
  • 1
  • 7
  • 26
2
votes
2 answers

How do I extract user details for Bloomberg Desktop API connection?

If you type IAM in the terminal you'll be shown the UserID, UUID, CLID etc. Is it possible to extract this information through blpapi when using the Desktop API to connect via BBComm? I've seen references to Identity and populating that by…
Jon Freedman
  • 9,469
  • 4
  • 39
  • 58
2
votes
1 answer

R blpapi forward spread as points or outright

I am using the blpapi package in R to download FX forward prices. In the formula I want to specify the setting to download forward prices as points or as outright prices. I have tried the following: conn <- blpConnect() sdate <-…
Jelle Jansen
  • 448
  • 4
  • 16
2
votes
1 answer

How to request data from an isin instead of a ticker

Using the Bloomberg API via jBloomberg, how do I retrieve data based on an isin or a sedol code instead of a Bloomberg ticker?
assylias
  • 321,522
  • 82
  • 660
  • 783
2
votes
1 answer

Can you login to Bloomberg via R when the user is logged off on the workstation?

How can one login to Bloomberg via R when the user is logged off on the workstation? The workflow is that during off-hours a batch file will run via task scheduler to gather some data from Bloomberg when the user is not logged in to the machine. I…
pulp_fiction
  • 185
  • 1
  • 12
2
votes
1 answer

Bloomberg Security Lookup Request

In the Bloomberg API Developer’s Guide it reads: The Security Lookup [...] request constructs a search based upon the "query" element's string value, as well as the additional filters that you set [...]. This unctionality can also be found on the…
antonio
  • 10,629
  • 13
  • 68
  • 136
2
votes
1 answer

Bloomberg API Option Valuation

In Bloomberg, to value an option I can enter something like IBM US Equity OVME S C180 > OVME - Which loads a page which has valued an option for me. I just want to get this data back via the API. The API seems really unintuitive to me so any help…
user2051876
  • 21
  • 1
  • 2
1 2
3
11 12