[R-SIG-Finance] specify currency in rbloomberg bdp call

Aidan Corcoran aidan.corcoran11 at gmail.com
Thu Jul 5 11:29:57 CEST 2012

Dear all,

I was wondering if there is a way of specifying currency in a bdp
request in rbloomberg. I can do it in bdh:

conn <- blpConnect()
start.date <- as.Date("1jan1990", "%d%b%Y")
end.date <- as.Date("1jan2013", "%d%b%Y")
o_names = c("periodicitySelection","currency")
o_values = c("YEARLY","EUR")
d<-bdh(conn, "ubsn vx equity", "bs_tot_asset",
start.date,end.date,option_names = o_names, option_values = o_values)

but not in bdp. I can do it in excel with bdp (the option is
EQY_FUND_CRNCY) so I was wondering if rbloomberg's bdp might be able
to do it too but can't figure out how.

thanks for your help!

More information about the R-SIG-Finance mailing list