bloomberg

Bloomberg formula refresh

独自空忆成欢 提交于 2019-12-12 04:08:51
问题 I am trying to automate a Bloomberg refresh. The process is broken into 3 parts which runs in loop. a. copies ticker from database b. refresh Bloomberg c. run a analysis and copy back the results in database and loop to step a until the last record The problem from what I got on this site and other Bloomberg related discussion is that Bloomberg formulas do not refresh while a macro is running. How can I break my code so that Bloomberg updates? Sub Run_SplinterSequence() ' 'This macro

implementing bloomberg time delays with a large amount of BDH cell references

谁说胖子不能爱 提交于 2019-12-12 03:29:23
问题 I have already looked at a few examples of how to use Application.OnTime, to check for progress within the cell before updating and wrote up an implementation but I'm not sure why it wont work. I dont want to paste the whole thing here, because it may be more confusing than just looking at the subs within the workbook. I was wondering if someone with experience with this type of thing would be willing to look at my code. I can pm the file I'm working on. Here is the method that loads data

Download vs Compile: the Rbbg Package

不想你离开。 提交于 2019-12-12 02:03:15
问题 The Rbbg package facilitates data downloads from Bloomberg and provides an interface to the R programming language. where can i get the download for R version 3.0.2??? Will a compile from source facilitate use under the new version of R??? If so, please advise on details 来源: https://stackoverflow.com/questions/23074995/download-vs-compile-the-rbbg-package

VBA/Bloomberg API, BCOM_wrapper: get two columns from bulk data

删除回忆录丶 提交于 2019-12-11 13:14:47
问题 I am using code from this link: http://mikejuniperhill.blogspot.com/2013/08/bloomberg-v3com-api-wrapper-update-2.html I want to return this type of data from tester_bulkReferenceData: 8/11/2016 2017:Q2 5/11/2016 2017:Q1 2/23/2016 2016:A 2/23/2016 2016:Q4 11/11/2015 2016:Q3 8/12/2015 2016:Q2 5/13/2015 2016:Q1 2/24/2015 2015:A 2/24/2015 2015:Q4 In other words, two columns. In this case I am pulling ERN_ANN_DT_AND_PER and I want the associated yyyy:Q# labels to come out too. However, all I get

Click RefreshWorkbook on Bloomberg Ribbon [duplicate]

天涯浪子 提交于 2019-12-11 13:04:10
问题 This question already has answers here : Closed 6 years ago . Possible Duplicate: How to refresh/load RTD Bloomberg function (BDH) in excel in vba I am working on an Excel Spreadsheet with VBA. I have a Bloomberg BDH function that I want to refresh from VBA. I tried recording a macro and clicking the Bloomberg->Refresh Workbooks button but the macro came up empty. How can I do this from code? I'm using Excel 2007 and I found one option of entering Application.Run "blpmain.xla

Bloomberg Data… Why doesn't Application.WorksheetFunction.BDH work?

烈酒焚心 提交于 2019-12-11 02:43:05
问题 I am trying to import Bloomberg historical data directly into an array in VBA: Dim data As Variant ticker = "UKGRABIQ Index" start_date = "12/31/1998" end_date = "3/31/2015" data = Application.WorksheetFunction.BDH(ticker, "PX_LAST", start_date, end_date, "ARRAY=TRUE") Range("A1", "A66").Value = data The end goal is to be able to do a lot of manipulation on that data, not to just have it appear in the worksheet. Thanks in advance for the help. 回答1: The BDH() function is provided by the

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

喜你入骨 提交于 2019-12-09 00:34:29
问题 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? 回答1: Having

How do you Download Bloomberg intraday data

余生颓废 提交于 2019-12-08 08:23:13
问题 How do you get intraday 1 minute data from Bloomberg please? I want bid & ask for 5 futures saved as a data frame please. Thanks. 回答1: I believe you are looking for the Intraday 1-minute bar data, Open, High, Low, Close, etc. You will need to use IntradayBarRequest to //blp/refdata service. Revised answer: Send two IntradayBarRequest's, one for BID and the other for ASK event type, with interval = 1 minute to //blp/refdata service. Extract the "Open" element from each data point in response

bloomberg API - Field Search Request

这一生的挚爱 提交于 2019-12-08 07:48:49
问题 How to make use of “category” according to “A.3.4 Field Search Request” of developers guide? The Bloomberglp.Blpapi.dll is from blpapi_dotnet_3.4.8.1., development by C# .net. I used the following code in order to get the information but it does not work. Service refDataSvc = session.GetService("//blp/refdata"); Request request = refDataSvc.CreateRequest("ReferenceDataRequest"); request.Append("securities", "/isin/CNE1000002Q2 HK"); Element element = request.GetElement("include"); element

How to use Bloomberg Data History (BDH) command within Microsoft Visual Basic (VBA for Excel)

匆匆过客 提交于 2019-12-07 17:31:28
问题 I would like to use a simple VBA script to call the Bloomberg BDH function in specific locations of my spreadsheet, which is computationally primitive. While the use of standard Excel functions doesn't see to be a problem, as soon as I insert the parts of the Bloomberg function that contain quotation marks (such as "Dates,Period", "H,M") I get an expected end of statement error. All I want to do is insert these function calls into specified cells. Unfortunately I have no experience with VBA