[R-SIG-Finance] [R] Problem in extracting EQY_DVD_HIST from Bloomberg

davidr at rhotrading.com davidr at rhotrading.com
Tue Sep 18 18:18:57 CEST 2007

I'd guess start and end are confusing the bulk data call (it doesn't
take those params). This works for me:

div <- blpGetData(con, "IBM Equity", "EQY_DVD_HIST", retval="raw")

You need the "raw" retval when anything is not numeric; then you need to
extract the bits you want from the nested list returned.


David L. Reiner
Rho Trading Securities, LLC

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of Shubha Vishwanath Karanth
Sent: Tuesday, September 18, 2007 1:08 AM
To: R-SIG-Finance at stat.math.ethz.ch; r-help at stat.math.ethz.ch
Subject: [R] Problem in extracting EQY_DVD_HIST from Bloomberg

Hi R,


Again the problem in Bloomberg, I give the below code,


> con =
ily")# connecting Bloomberg
> div <- blpGetData(con,"IBM US
> blpDisconnect(con)

used (Mb) gc trigger (Mb) max used (Mb)
Ncells 480141 12.9 818163 21.9 818163 21.9
Vcells 798590 6.1 1445757 11.1 1441593 11.0

> div
(09/17/07 19:34:49) NA


I get all NA data. What could be the problem? I have the corresponding
data in Bloomberg....but not able to extract the data from R....


Thanks in advance,


	[[alternative HTML version deleted]]

R-help at r-project.org mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.

More information about the R-SIG-Finance mailing list