[R] RBloomberg Multi-ticker problem

davidr at rhotrading.com davidr at rhotrading.com
Wed Nov 22 15:16:00 CET 2006


Bloomberg recommends getting only one ticker at a time for intraday
data.

David L. Reiner
Rho Trading Securities, LLC
Chicago  IL  60605
312-362-4963

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Shubha Vishwanath
Karanth
Sent: Wednesday, November 22, 2006 1:09 AM
To: r-help at stat.math.ethz.ch; robert at sanctumfi.com
Subject: [R] RBloomberg Multi-ticker problem

Hi,

 

I am trying to download data from Bloomberg through R. If I try to
download intraday data for multiple tickers and only one field, I get
the error, written below in red. How do I get rid of this error?

 

 

> dat<-blpGetData(conn, c("NOK1V FH Equity","AUA AV Equity"),
"LAST_PRICE",
start=as.chron(as.Date("2006-9-13","%Y-%m-%d")),barfields="VOLUME",
barsize=10,retval="data.frame")

Error in if (typ[n] == "character") { : missing value where TRUE/FALSE
needed

*       blpDisconnect(conn)

 

Thank you,

Shubha.


	[[alternative HTML version deleted]]

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list