bloomberg

Error message while importing tia library to extract data from Bloomberg

房东的猫 提交于 2021-02-11 14:49:17
问题 I am trying to use tia library to extract Bloomberg data directly to a data frame, been following this thread How do I store data from the Bloomberg API into a Pandas dataframe? now, when I try and import tia using the below command import tia.bbg.datamgr as dm I get this error msg Traceback (most recent call last): File "/Users/prasadkamath/anaconda2/envs/Pk/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 3319, in run_code exec(code_obj, self.user_global_ns, self.user_ns)

Python using win32com wont update excel sheet with needed Add-ins

六月ゝ 毕业季﹏ 提交于 2021-02-10 14:16:41
问题 I am trying to get a python script to create an excel file with a formula ready to be executed when the workbook opens(it requires an add-in only available in excel). Once open, excel will compute the formula and python will close and save the file. I can then use this excel file for the rest of my python script. However I can't get the add in to execute the formula until I manually open the python created excel file. I have tried various ways to get win32com to open the excel file with all

(Rbplpapi) Get more than 7 months of intraday data

。_饼干妹妹 提交于 2021-02-10 13:15:56
问题 Good afternoon. The task I want to perform is actually quite simple. Using R, connected to Bloomberg with the Rbplpapi package, I want to get as more as possible of intraday (1min) data for the S&P 500.I tried the following code: library("Rblpapi") con = blpConnect() start_date = "01/01/1999 00:00:00" last_date = "07/12/2019 00:00:00" start_date = as.POSIXct(start_date, format="%m/%d/%Y %H:%M:%S",tz="EST") last_date = as.POSIXct(last_date, format="%m/%d/%Y %H:%M:%S",tz="EST") data_spx =

(Rbplpapi) Get more than 7 months of intraday data

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-10 13:14:09
问题 Good afternoon. The task I want to perform is actually quite simple. Using R, connected to Bloomberg with the Rbplpapi package, I want to get as more as possible of intraday (1min) data for the S&P 500.I tried the following code: library("Rblpapi") con = blpConnect() start_date = "01/01/1999 00:00:00" last_date = "07/12/2019 00:00:00" start_date = as.POSIXct(start_date, format="%m/%d/%Y %H:%M:%S",tz="EST") last_date = as.POSIXct(last_date, format="%m/%d/%Y %H:%M:%S",tz="EST") data_spx =

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

不羁的心 提交于 2021-02-10 12:14:08
问题 If you type IAM <GO> 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 sending an AuthorizationRequest but it appears that's only relevant for SAPI/B-PIPE. 回答1: To the best of my knowledge and after asking a couple of Bloomberg reps - this isn't possible. The best work around which I've found is: each user creates an EQS

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

只愿长相守 提交于 2021-02-10 12:14:05
问题 If you type IAM <GO> 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 sending an AuthorizationRequest but it appears that's only relevant for SAPI/B-PIPE. 回答1: To the best of my knowledge and after asking a couple of Bloomberg reps - this isn't possible. The best work around which I've found is: each user creates an EQS

Wait until Excel finishes populating Bloomberg data using VBA

无人久伴 提交于 2021-02-07 20:30:52
问题 I have an Excel sheet with ~300,000 BDH formulas to download securities prices. I want to open the file and get all prices paste them as values save and close the file. However, I do not know when Excel finishes populating Bloomberg data, so it's difficult to determine the time to do 2) and 3). I have written VBA, but not sure if it works: In Module1 Sub CheckFormulas() If Application.CalculationState = xlDone Then With Worksheets("Sheet1").UsedRange .Value = .Value End With Else Application

Wait until Excel finishes populating Bloomberg data using VBA

风格不统一 提交于 2021-02-07 20:29:15
问题 I have an Excel sheet with ~300,000 BDH formulas to download securities prices. I want to open the file and get all prices paste them as values save and close the file. However, I do not know when Excel finishes populating Bloomberg data, so it's difficult to determine the time to do 2) and 3). I have written VBA, but not sure if it works: In Module1 Sub CheckFormulas() If Application.CalculationState = xlDone Then With Worksheets("Sheet1").UsedRange .Value = .Value End With Else Application

Bloomberg stops VBA Application.Ontime

ε祈祈猫儿з 提交于 2021-01-28 07:57:10
问题 I have the following VBA subroutine which is calls itself every second: Public Sub AllTheTime() iTimerSet = Now + TimeValue("00:00:01") Call runMyFunction Application.OnTime iTimerSet, "AllTheTime" End Sub This script is running perfectly: It is recalling itself every second and calculating some stuff. But when I install the Bloomberg Office Add-On (Bloomberg Ribbon) it is no longer working: It is running exactly one time then it is stopped. I checked this with Debug.Print. It seems that

Bloomberg Anywhere and BLPAPI

六月ゝ 毕业季﹏ 提交于 2021-01-28 07:05:17
问题 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? 回答1: With a move to Bloomberg Anywhere from open Bloomberg, you will have the same access to data that you had before. However, you will need to keep the following in mind: Authentication will be linked to an individual person instead of a Username/Password.