bloomberg

Bloomberg BDH function with ISIN

我是研究僧i 提交于 2019-12-04 08:24:46
问题 I have to download historical end of day data for a huge list of stocks. I found on the bloomberg excel add-in the function BDH that is very useful. That is what I need but there is an issue: my stocks are identified by ISINs and i have tried in many way to put the ISINs in the first field of the function but it doesn't work. The function isn't able to identify the security by the ISIN despite the fact that is reported as security identifier in the bloomberg formula syntax: look at slide 24

Python win32com opening Excel with Bloomberg plugin

試著忘記壹切 提交于 2019-12-04 06:38:05
I'm trying to automate construction of an Excel 2007 spreadsheet that uses the Bloomberg plugin to pull down live prices. The problem is that when I open Excel through win32com the Bloomberg plugin does not load (so all of the formulas end up with "#NAME?" errors). Manually uninstalling and reinstalling the plugin works, but copying the VBA code from the recorded macro leads to a "Run-time error '13': Type mismatch" error. I can click the End button and everything runs fine, but I want to have this fully automated. My code is: import win32com.client xl = win32com.client.gencache.EnsureDispatch

Bloomberg BDH function with ISIN

吃可爱长大的小学妹 提交于 2019-12-02 23:09:24
I have to download historical end of day data for a huge list of stocks. I found on the bloomberg excel add-in the function BDH that is very useful. That is what I need but there is an issue: my stocks are identified by ISINs and i have tried in many way to put the ISINs in the first field of the function but it doesn't work. The function isn't able to identify the security by the ISIN despite the fact that is reported as security identifier in the bloomberg formula syntax: look at slide 24 here http://lgdata.s3-website-us-east-1.amazonaws.com/docs/205/56376/bloomberg%20excel%20desktop%20guide

Using VBA to place multiple formulas in one cell

一个人想着一个人 提交于 2019-12-02 09:59:26
I'm working on a macro to place multiple formulas in one cell. In this case, its 3 Bloomberg formulas into one cell. The formula works in Excel when copied or typed manually but not when type it in the VBA module, where it creates an error (Compile error: Expected: End of statement) and highlights "rtg_mdy_sen_unsecured_debt". I believe the problem is the use of quotation marks in the formula but I can't find any information on how to work around it. The formula that works in Excel (when input manually or copied into a cell) follows: =BDP($O4,"rtg_mdy_sen_unsecured_debt")&"/"&BDP($O4,"rtg_sp

Python Bloomberg API pdblp intraday request

回眸只為那壹抹淺笑 提交于 2019-12-01 09:18:41
pdblp allows daily historical Bloomberg requests via: con = pdblp.BCon(debug=False) con = start() df = con.bdh(['SPY Equity'], 'PX_LAST', '20150103', '20150619') How can intraday price/volume/open interest etc requests be made? Desired behavior resembling as below, the price on 15 minute intervals. df = con.bdh(['SPY Equity'], 'PX_Last', ... , periodSelection = 'MINUTE', period=15) Have you looked at the intraday request python example? You need to specify the timing in your request. def sendIntradayTickRequest(session, options): refDataService = session.getService("//blp/refdata") request =

How to install Bloomberg API Library for Python 2.7 on Mac OS X

送分小仙女□ 提交于 2019-11-30 21:34:12
I'm trying to setup my Mac OS X system to use the pdblp Python library which requires me to first install the Bloomberg Open API libary for Python . After cloning the git repo and running python setup.py install , I get File "setup.py", line 20, in <module> raise Exception("BLPAPI_ROOT environment variable isn't defined") Exception: BLPAPI_ROOT environment variable isn't defined How should I proceed? You also need to install the C/C++ libraries and then set BLPAPI_ROOT to the location of the libblpapi3_32.so or libblpapi3_64.so files. For example: cd /some/directory wget https://bloomberg

In Bloomberg API how do you specify to get FX forwards as a spread rather than absolute values?

余生颓废 提交于 2019-11-30 20:40:58
How do you explicitly request fx forwards as outrights using the bloomberg API? In the Bloomberg terminal you can choose whether to get FX Forwards as absolute rates (outrights) or as offsets from Spots (Points) by doing XDF, hitting 7, then the option is about half way down. 0 means outrights, and 1 means offfsets. With most defaults you can explicitly set them in the API, so your code gives the same result whichever computer you run on. How do you set this one in a V3 API query? Having had a colleague told by the help desk this is impossible, it turns out they are wrong and it is possible.

Starting bbcomm in Java v3 Bloomberg API

痞子三分冷 提交于 2019-11-30 20:25:59
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 API? I'm still waiting on Help-Help ... After talking to the help desk, it turns out that on 64 bit Windows, running under a 64bit JVM bbcomm is not automatically started. This does not happen under 32bit Java - under 32 bit bbcomm automatically runs. So my solutions are either to wait for the problem to be fixed by Bloomberg (now I understand it) or

Install error for blpapi in python for bloomberg API

你。 提交于 2019-11-30 14:13:03
问题 I am a Bloomberg terminal user and am trying to get the API to work via Python. I have Python 3.7.0 64-bit on my Windows 7 64-bit computer installed to: C:\Users\gp\AppData\Local\Programs\Python\Python37 I downloaded the C/C++ Supported Release (v3.8.18.1) from the Bloomberg API Library. I unzipped contents to C:\blp\API\cpp (I am a terminal user so I already had C:\blp\API and I added a new folder "CPP" ). I then installed the Python API through pip as stated at the bottom of this page: API

Starting bbcomm in Java v3 Bloomberg API

与世无争的帅哥 提交于 2019-11-30 04:59:19
问题 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 API? I'm still waiting on Help-Help ... 回答1: After talking to the help desk, it turns out that on 64 bit Windows, running under a 64bit JVM bbcomm is not automatically started. This does not happen under 32bit Java - under 32 bit bbcomm automatically