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
1
vote
0 answers

Retrieve intraday data with BDH() using blpapiwrapper in Python

I'm trying to get the stock price at a specific time using the blpapiwrapper (https://github.com/alex314159/blpapiwrapper) with inspiration from this…
SHK
  • 31
  • 5
1
vote
2 answers

Blpapi 'ignore_security_error=1' is an unexpected keyword

I'm getting "ref() got an unexpected keyword argument 'ignore_security_error'" when using ignore_security_error=1 with Blpapi. I have some bad tickers in my list i want to ignore using ignore_security_error=1 but getting an error. tc3 is a ticker…
1
vote
2 answers

How can I use a CSV file for Python pdblp instead of a ticker reference for getting API from con.ref

I very new to Python and I want to replace an exact ticker with a reference to a column of a Data Frame I created from a CVS file, can this be done. i'm using: import pandas as pd import numpy as np import pdblp as pdblp import blpapi as blp con =…
1
vote
4 answers

Error in importing bloomberg Api, how do I resolve it?

I am trying to import the bbg package from the tia library in python. But it gives me the following error. ImportError: DLL load failed: The specified module could not be found. I also tried importing blpapi lib but it gives the same error as well.…
1
vote
1 answer

BBG_ROOT for xbbg (simplified blpapi package)

So I've been using this one package called xbbg which is more or less syntactically the same as the Excel API, and everything has been working fine except for the blp.bdib calls. Every time I try running it, including the example provided in the…
user494427
  • 11
  • 4
1
vote
0 answers

How to install new libraries in BQuant?

I've been trying to connect BQuant to mySQL and want to try and import pymysql to do it. I was wondering if there was the ability to download new libraries not currently on Bquant because it seems like installing new libraries on my computer doesn't…
1
vote
0 answers

getting pdblp or pybbg to work in spyder python

I have been trying to get either pdblp or pybbg to work in python. I have installed blpapi via pip, and download the experimental c++ version and added it to my PATH environmental variables. When running the following code I get this error for…
runccoabcc
  • 11
  • 4
1
vote
0 answers

Rblpapi: BDP ignores date-override

I am trying to retrieve option data of a specific past day from Bloomberg, especially the volumes. I pulled an Option chain ticker list from Bloomberg by: ovr <- c("SINGLE_DATE_OVERRIDE"="20171201") T_DBK_20171201 = bds("DBK GR Equity", "OPT_CHAIN",…
Maurice
  • 11
  • 2
1
vote
0 answers

MATLAB 2018b - Datafeed Toolbox: Retrieving tick data for a specific time range from Bloomberg

I am trying to retrieve tick data for a specific ticker for a specific time range from Bloomberg using MATLAB 2018b and its Datafeed Toolbox. In the documentation for the 'timeseries' function in the Datafeed Toolbox I found an example which does…
robbertvdh
  • 61
  • 1
  • 4
1
vote
1 answer

Bloomberg API: Can I use TLS with Python SDK?

I am trying to connect to Bloomberg ZFP Service using TLS trust material and credentials. I could find how to do it with C++ and with Java, But is it possible to achieve using BLPAPI Python SDK? For example, this is how it looks when I login with…
1
vote
0 answers

Accessing the C Interface from the C/C++ BLPAPI SDK

I'm trying to use the Bloomberg API with C instead of C++. However, there doesn't seem to be any documentation online regarding this usage, aside from a sentence in the Developer's Guide on pg.78: "... while the C interface provides a C-style…
Ben Yang
  • 67
  • 5
1
vote
1 answer

Bloomberg API: Accessing fields for symbol containing fractions

I am using Bloomberg API C# library, version 3.8.10.1. I am wondering, what is the rule for formatting/escaping fractions in symbol names? Instruments service (//blp/instruments) returns symbols like RIOLN 3<3/4> 03/22/2022, however, querying…
soliloquyy
  • 355
  • 3
  • 14
1
vote
0 answers

how to input kwargs into bloomberg wrapper function

I am referring to the following code posted on GitHub which creates a wrapper interface around the blpapi package to replicate Excel functionality of the popular functions: BDP, BDH, and BDS.…
laszlopanaflex
  • 1,836
  • 3
  • 23
  • 34
1
vote
3 answers

Bloomberg Anywhere and BLPAPI

I successfully developed an application through BLPAPI (Bloomberg API) on a Bloomberg Terminal machine (in Python). Unfortunately my company is thinking to switch to Bloomberg Anywhere...I will have the chance to run my application there?
DPColombotto
  • 159
  • 1
  • 3
  • 11
1
vote
3 answers

Conda install BLPAPI

I followed the answer in: Anaconda - Install blpapi in environment but could not comment because I don't reputation high enough. When I use conda install -c dsm/blpapi I get the following: Fetching package metadata ........... Solving package…
dsugasa
  • 663
  • 1
  • 9
  • 26