[R] RBloomberg to get dividend
dhzdhz
myjunkbox at gmail.com
Thu Oct 2 20:48:47 CEST 2008
I try to use RBloomberg to get the dividend for IBM. However,
blpGetData(conn, "IBM EQUITY", field="EQY_DVD_HIST_ALL",
start=as.chron("1980-01-01"))
doesn't work. It returns
EQY_DVD_HIST_ALL
(10/02/08 14:46:36) NA
I have to used
blpGetData(conn, "IBM EQUITY", "EQY_DVD_SH_12M_NET",
start=as.chron("1980-01-01"))
The second one only gives the sum of dividend from the previous 12 months.
Anyone knows how to get the dividend histroy directly?
--
View this message in context: http://www.nabble.com/RBloomberg-to-get-dividend-tp19785331p19785331.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list