Skip to content
Prev 2597 / 15274 Next

Bloomberg Data Import to R

I'll have to throw in my two cents' worth here, too, while agreeing with Sean and Robert.
I have seen the bbcomm.exe act flakey for larger calls. If you can reproduce it in VBA,
you might have a shot with Bloomberg help, emphasizing the VBA aspect to get it to the right
people. However, it seems much less work to break the call into several calls that have
a better chance of working.

David L. Reiner, PhD
Head Quant
Rho Trading Securities, LLC


-----Original Message-----
From: r-sig-finance-bounces at stat.math.ethz.ch [mailto:r-sig-finance-bounces at stat.math.ethz.ch] On Behalf Of Robert Sams
Sent: Monday, June 30, 2008 5:35 AM
To: Sean Carmody; marcin.kopaczynski at soundinvest.net
Cc: r-sig-finance at stat.math.ethz.ch
Subject: Re: [R-SIG-Finance] [R-sig-finance] [R] Bloomberg Data Import to R

Hi Marcin,

I've never run across this problem but then I never throw hundreds of tickers into a single API request. I have heard many times that the API does seem to choke unpredictably when large calls are made, so I suspect it's a bloomberg problem, despite what they tell you. Can you successfully perform your 900 ticker request using the Excel interface? If you can't, go back to bloomberg. If you can, send me your R code (that chokes) and your .xls file (that works) and I'll look into it.

But Sean's suggestion is the most sensible approach; break your big call up into smaller calls. This will not only improve reliability on the RBloomberg side of things, it is also the approach that the R community recommends for dealing with large datasets. 

Robert

-----Original Message-----
From: r-sig-finance-bounces at stat.math.ethz.ch [mailto:r-sig-finance-bounces at stat.math.ethz.ch] On Behalf Of Sean Carmody
Sent: 28 June 2008 22:56
To: marcin.kopaczynski at soundinvest.net
Cc: r-sig-finance at stat.math.ethz.ch
Subject: Re: [R-SIG-Finance] [R-sig-finance] [R] Bloomberg Data Import to R

Marcin,

While I have not seen this problem with the R Bloomberg package, I have certainly seen something similar with large calls to the Bloomberg API from Excel. For some reason, the API seemed to choke if it received "too many"
data requests. I never had any luck getting clarification from Bloomberg as to the limits of the API and only got around the problem by breaking my problem into smaller requests. In your case, you might need to loop through say 100 stocks or so at a time. In any event, it is certainly worth testing whether your code works with a smaller number than 900.

Regards,
Sean.
On Fri, Feb 1, 2008 at 4:19 PM, Marcin Kopaczynski < marcin.kopaczynski at soundinvest.net> wrote:

            
_______________________________________________
R-SIG-Finance at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only.
-- If you want to post, subscribe first.