Skip to content
Prev 14498 / 398502 Next

Help with 'get.hist.quote' on tseries

Well I have the same problem but ONLY WITH trying to get ibm.  In other
words all other examples in the ?get.hist.quote are fine:

I am running R 1.3.1 on Windows ME.

See below:
# This is fine.
x <- get.hist.quote( instrument = "^spc", start = "1998-01-01",
                      quote = "Close")
plot(x)

# This is not fine as cannot find ibm.
# Error messages are the same as listed by Andrew.
x <- get.hist.quote(instrument = "ibm", quote = c("Cl", "Vol"))
plot(x, main = "International Business Machines Corp")

# Same.  Retrieved "^spc" fine but when trying to do x, it failed.
# Cannot get ibm.
spc <- get.hist.quote(instrument = "^spc", start = "1998-01-01")
ibm <- get.hist.quote(instrument = "ibm",  start = "1998-01-01")
x <- na.remove(ts.union(spc, ibm))
plot(x, main = "IBM vs S&P 500")

Cheers,

Ko-Kang Wang
----------------------------------------------------------------------------
--
Ko-Kang Kevin Wang
Statistical Analysis Division Leader
Software Developers' Klub (SDK)
University of Auckland
New Zealand


----- Original Message -----
From: "Adrian Trapletti" <a.trapletti at bluewin.ch>
To: "Dr. Andrew Criswell" <mousie at arcriswell.com>
Cc: "R-Help" <r-help at stat.math.ethz.ch>
Sent: Monday, October 29, 2001 9:47 PM
Subject: [R] Help with 'get.hist.quote' on tseries
`http://chart.yahoo.com/table.csv?s=ibm&a=01&b=01&c=1998&d=10&e=28&f=2001&g=
d&q=q&y=0&z=ibm&x=.
is maybe a Windows related problem?
-.-.-
http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._