Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
69 views

Translate BDP function with overrides to XBBG API for python

I have the following bbg bdp function in excel: =BDP("ZAG000016320 ISIN", "MMS_SPREAD_MID", "USER_LOCAL_TRADE_DATE", TEXT("03/03/2024","YYYYMMDD"), &...
user27251716's user avatar
0 votes
0 answers
75 views

SOFR swap NPV and cashflow different from BBG results using Python Quantlib

I'm using python quantlib to price a swap, but the NPV and cashflow result differently from BBG results as all the input controls the same, fixed schedule should be the same but floating cashflow is ...
Hanqing's user avatar
0 votes
1 answer
65 views

VBA #NA Requesting Data Trying to pull data from BBG

I've been running into the BBG Add-in "NA Requesting Data" issue when building a button that takes data from BBG, takes the inverse of them, and inputs into the cell F16 and G16. Sub ...
Ashley Lin's user avatar
0 votes
1 answer
60 views

"#N/A Requesting" error - VBA button pulling data from Bloomberg

I was trying to create a button that whenever I press it, it retrieves data from Bloomberg. I know I can directly use BDP function, but I want to also be able to enter a number into this cell to ...
Ashley Lin's user avatar
1 vote
1 answer
47 views

Application.OnTime not executing following Sub in an orderly manner

I am trying to write a simple VBA in excel to run through a loop of stock tickers and update certain data from Bloomberg API, but the code seems not to be working appropiately. Sub RunMacroForDropdown(...
Imanol Landa's user avatar
-1 votes
1 answer
295 views

Override blpapi in Bloomberg data retrieval (Python)

Hope all of you are doing well. I'm having some trouble with dynamically adding data into Python from Bloomberg using blp and the "BEST_FPERIOD_OVERRIDE". I imported blp already, and used ...
user25076148's user avatar
0 votes
1 answer
112 views

Bloomberg BLPAPI, only returns high and low during init paint

question: How to Continuously Receive High and Low Prices for USD/JPY from Bloomberg API? Currently only receive this information from the init paint messages from bloomberg, subsequently I only get ...
Py_trader's user avatar
0 votes
0 answers
59 views

Bloomberg tia python package: Corporate Action Setting (DPDF) Override

I'm using the tia python package to download data via the Bloomberg API blpapi. I have my Corporate Action Settings (DPDF) on the Terminal set to adjust for historical prices but when I'm running the ...
TG_01's user avatar
  • 83
1 vote
0 answers
73 views

BQL installation issue in VSCode

Referring to this How get BQL (bLOOMBERG) query from python I followed all steps and copy pasted the packages in my .venv folder, under lib/site_packages. I do not have an anaconda distribution as per ...
Luca Canepa's user avatar
1 vote
0 answers
96 views

Bloomberg installed but API folder is missing

This issue is happening on my work PC. After uninstalling and reinstalling Bloomberg and MS Office several times. The issue persists. My IT spend 5 hours on this, with Bloomberg support's help. Truly ...
Max H. Wang's user avatar
3 votes
1 answer
92 views

How can I make sure Excel will remain connected to Bloomberg to perform spreadsheet automations?

My Python code opens Excel, runs some macros that are used on Bloomberg formulas then closes everything. import time import win32com.client as win32 import gc def update_excel_and_send_email(): ...
quantymacromarco's user avatar
0 votes
0 answers
246 views

How can you get Bloomberg BQNT syntax (BQL) outside of the Terminal?

This used to be possible (see this post: How get BQL (bLOOMBERG) query from python) however I can't get it work now. I am stuck on the following AttributeError after copying numerous packages/files: &...
mkt_troglodyte's user avatar
0 votes
1 answer
196 views

Fast / Efficient method to retrieve value of specified field with BLPAPI

The reason why I ask this question is because of the manner in which bloomberg sends its data via BLPAPI. Following on from this post, I want to establish an efficient method of obtaining the value of ...
Harry Spratt's user avatar
1 vote
0 answers
77 views

xbbg blp.bdib function for certain commodity

I set everything up so that it works with the ticker CO1 Comdty. In the terminal CO1 Comdty Des says the exchange on which this trades is "ICE-ICE Futures Europe - Commodities". In my two ...
nik's user avatar
  • 1,764
0 votes
1 answer
133 views

How to enable logging for blpapi logs?

Currently I need to debug a market data subscription and I hope to obtain the blpapi logs to understand the transaction. Does anyone have an example to configure the logger and obtain blpapi logs ...
themingles's user avatar
0 votes
0 answers
334 views

How do I install Bloomberg API blpapi

Hi I am trying to pip install Bloomberg API blpapi in anaconda prompt...so i tried... (base) C:\Windows\system32>conda install -c conda-forge blpapi Collecting package metadata (current_repodata....
oldradishsoip's user avatar
1 vote
0 answers
141 views

How do I link xbbg to B-Pipe (Bloomberg)

I'm currently using xbbg with no issues, but the Bloomberg API limits my personal license to 500k api hits per day. I'm getting B-Pipe access soon which should alleviate the limit but I'm unsure how ...
rastapopoulos's user avatar
0 votes
0 answers
75 views

Bloomberg Add-In in Excel: Issue with BDP Function Not Refreshing Cells

I'm currently using the Bloomberg add-in in Excel and utilizing the BDP function. I want to automate a process where, upon changing the selection in a dropdown list, the cells in the sheet that depend ...
Hansol Kim's user avatar
0 votes
1 answer
461 views

PX_LAST field category? Bloomberg Data License Web Service (DLWS)

Using Bloomberg's Data License Web Service in .NET, I'm wondering what category does the PX_LAST field belong to? Bloomberg has very minimal documentation on their web service API, but based on what I ...
happycoder2121's user avatar
0 votes
0 answers
189 views

Bloomberg Terminal Excel Command For Option Chain On Specific Day

I am trying to get the tickers for all options traded on a specific trading day for an underlying asset (such as Apple). I have tried to find the command online however could not find any related ...
Pizza_Cuttyr's user avatar
0 votes
0 answers
113 views

excel bloomberg function @BDH not updating fully when using vba to update date range

my excel vba to update bloomberg formula BDH is not working. I use a bloomberg formula to bring in a tbill historically. It has a start date and end date and I need to update the end date daily. If ...
solarissf's user avatar
  • 1,277
0 votes
0 answers
53 views

How to add ISIN to excel?

I'm trying to pull the ISIN Data from bloomberg to excel automatically. Is there a forumla I can use? I have the asset name and cusip.
tasoncool's user avatar
1 vote
1 answer
241 views

How to translate Excel BDH formula into Python API code

I need help translating the below BDH formula from excel into python code using the BBG API. Specifically, I need to query only the weekly data for the particular index but my current python code is ...
fiona van der steur's user avatar
0 votes
1 answer
233 views

Converting excel bloomberg function to python

I m trying to convert this excel formula into python: =@BDH("MZBZ4C 75.00 Comdty","Trade,Settle","2024-02-20 09:00:00","","Dir=V","IntrRw=true&...
nik's user avatar
  • 1,764
1 vote
0 answers
126 views

Bloomberg blpapi in Python: "INVALID_USER"

I am trying to use blpapi connecting to remote bpipe application. Demo Tool works good for me. Do i need some work on my session set up? Env:python 3.9 def parseCmdLine(): parser = OptionParser(...
Alex Song's user avatar
1 vote
1 answer
245 views

Writing Performant Python Bloomberg SAPI code to get streaming data from //blp/mkdata

All, I have been using blpapi with Python to query reference data (//blp/refdata) without issues and I've recently been using the streaming endpoint (//blp/mkdata); so my environment is set up (yes ...
ghbcode's user avatar
  • 79
0 votes
1 answer
466 views

export yield curve data from bloobmerg

Pretty new to R and bloomberg here. I need to export historical yield curve data for as many countries as possible. I a package that links to a bloomberg terminal. I can't find a way to get the ...
JF96's user avatar
  • 159
1 vote
0 answers
126 views

Does Bloomberg blpapi support pagination in instrumentListRequest?

I'm trying to get instrument list using instrumentListRequest. However, the maximum number of the results from the response is always 1000 even if I've set the request parameter maxResult to a number ...
Ted Kuo's user avatar
  • 11
0 votes
1 answer
126 views

Is there an R package which provides API to use the Bcurvestrip function from bloomberg excel add-in

The Bloomberg Excel Add in has this function called BCurveStrip where I can input spot rates for various tenors and I can create a curve object which I can use to compute forward rates. Is there any R ...
K.RAC's user avatar
  • 233
0 votes
1 answer
128 views

Finding the spread of LQD ETF using Price

I want to know what the calculation is to find LQD Spread using price. The image shown is LQD ETF from Bloomberg, I want to be able to convert 110.24 to 124.82bp in spread. If anybody has a formula or ...
rocket's user avatar
  • 1
0 votes
2 answers
2k views

How to pull fields from Bloomberg using the CUSIP, not the ticker in excel?

I am trying to pull the coupon, coupon rate and maturity date for a bunch of CUSIPS that I have. When I use =BDP(Cusip,CPN) for example, it does not work. I know we can do this using tickers but ...
AmachineR's user avatar
2 votes
1 answer
289 views

How to find all the instruments under the curve Index

I am using blpapi to find all the instruments under curve index def curveListRequest(): #Return all govts with the given ticker, matured or not req = create_request(service='//blp/instruments', ...
Tanjin Alam's user avatar
  • 2,640
0 votes
1 answer
158 views

unable to call blpapi function (InstrumentsListRequest) using xbbg

I am trying to call the example of blpapi using xbbg from xbbg.core import conn, process from xbbg import blp from datetime import date def allInstruments(): # Return all govts with the given ticker,...
Tanjin Alam's user avatar
  • 2,640
0 votes
0 answers
133 views

How to get the Time information of ECO events on Bloomberg when using tia package in Python?

Assume I want to get the US Nonfarm Payrolls (BBG Ticker: NFP TCH Index) data for 2023 from Bloomberg using the tia package. I'm interested in fetching the Date of announcement, the time (in UK ...
HereToLearnAndHelp's user avatar
0 votes
0 answers
472 views

Bloomberg API pdblp/xbbg

I am new to using Bloomberg API with wrapper pdblp and xbbg. I am trying to extract a list of members from an index, but the results obtained are only in ticker. How am I able to pull this list with ...
timmers623's user avatar
0 votes
0 answers
157 views

Get Intraday prices for a few tickers with specific dates

Using xbbg,I am trying to get intraday prices for some tickers with specific dates. My data set looks like this (please ignore end_date): Dataset I tried the below function ( ticker & start_date ...
ridz's user avatar
  • 9
0 votes
0 answers
179 views

Difficulty Installing Python Library "blpapi" Behind a Proxy

I'm currently facing issues while attempting to download and install a Python library called "blpapi." It seems that my company's proxy settings are causing obstacles. Here's what I've ...
Backery's user avatar
  • 11
-4 votes
1 answer
182 views

Futures prices on BBG

Error message: Cannot find exchange info for ZSIU3 INDEX' code: from xbbg import blp from datetime import datetime, timedelta blp.bdib('ZSIU3 INDEX', '2023-07-05 00:00:00',ref = 'EUX-Eurex') (...
ridz's user avatar
  • 9
0 votes
1 answer
3k views

How do I download the "blpapi" Python library to use it with Bloomberg?

I attempted to use the query "from xbbg import blp," but encountered the following error message: -> AttributeError: module 'blpapi' has no attribute 'session' (refer to the image below). ...
Backery's user avatar
  • 11
0 votes
1 answer
106 views

Using BLPAPI to gather all RED pairs, Tiers and Doc Clause. REDL

I’ve been able to use the BLPAPI to grab from single securities such ex: “CATT1U5 CMAN Security”, their RED id, Maturity, tier and Doc clause using the /refdata service. But I’d like to be able to ...
Poita's user avatar
  • 3
0 votes
1 answer
1k views

Bloomberg/Excel: Calculating expected total return of bond at maturity

I am using an excel spreadsheet with the Bloomberg add-in to look a series of bonds. I am wondering if there is a clean way to calculate the expected total return (nominal future value, no discounting)...
Dj Mauch's user avatar
0 votes
2 answers
478 views

Python Connection blpapi issues/inconsistencies

I've installed python 3.9 venv and install blpapi via: pip install --index-url=https://bcms.bloomberg.com/pip/simple blpapi (source) When I run the following example on this venv I'm getting ...
wlg's user avatar
  • 1
-1 votes
1 answer
206 views

How to get zero coupon yield data for India from Bloomberg

I want to get zero coupon yield data for Indian government bond yield. I got data up to 2022 but I need the updated data. How to get it from Bloomberg. I tried the option F12301Y index for 1 year data ...
Prakash's user avatar
0 votes
1 answer
120 views

I'm trying to make this code works to source the Most zero day options trading in Bloomberg terminal I have access any hehelp

Here is the code: import pandas as pd import matplotlib.pyplot as plt from xbbg import blp def inspect_options_data(specific_day='2023-8-17'): try: # Fetch bulk options data for S&P ...
Eli Sakkal's user avatar
0 votes
0 answers
267 views

Bloomberg API bdp fuction with LEI (xbbg)

I try to pull 'Moodys credit rating' of entity using Python API. Excel formula works well and Python using Tkcer also works well. But Python using LEI not Tiker doesn't work. For example, following ...
user3685918's user avatar
0 votes
0 answers
315 views

Bloomberg function in Python (Works in Excel but not in python)

I have a question regarding building Bloomberg Functions in Python: In Excel this works fine: =BDP(A1&" ISIN","SECURITY_NAME") But how do i get it to work in python?
SebastianHeeg's user avatar
0 votes
0 answers
1k views

Bloomberg (Excel) Adjust Best estimates (BEST_EPS) from fiscal to calendar year

I am making a comp sheet with forward estimated and am trying to adjust for the various fiscal years by converting metrics to the calendar year. I know you can do this with historic data but I was ...
BBdummy's user avatar
1 vote
1 answer
573 views

Getting Intraday Stock Data via Excel Add-in with Stock ISIN using =BDH() Function

I wanted to extract intraday data for my research and I intend to use the following function to extract data at a 5 minutes frequency for a set of stocks. Does the following BDH function work? =BDH(&...
KaiSqDist's user avatar
  • 113
0 votes
1 answer
633 views

Fetch multiple Bond Yield curves in single Fetch from Bloomberg with XBBG

I need to fetch multiple Bond Yield curves (1 month, 1 year, 5 year, etc) from different countries using Bloomberg API. Searching for F476XXy Index at the terminal gives a list of generic tickers, ...
Fróis's user avatar
  • 5
1 vote
1 answer
122 views

How do I stay logged in to Bloomberg with webscraper, then scrape an article's full content fast?

Overall Objective Using nodeJS, I want to be able to log in with user credentials into Bloomberg, then scrape as a logged in user. Preferably not with Selenium because Selenium in my experience is ...
Carlson's user avatar
  • 11

1
2 3 4 5
16