w(x)
> lct <- Sys.getlocale("LC_TIME")
> Sys.setlocale("LC_TIME", "C")
> on.exit(Sys.setlocale("LC_TIME", lct))
> dat <- gsub(" ", "0", as.character(x[, 1]))
> dat <- as.POSIXct(strptime(dat, "
on.exit(Sys.setlocale("LC_TIME", lct))
dat <- gsub(" ", "0", as.character(x[, 1]))
dat <- as.POSIXct(strptime(dat, "%Y-%m-%d"), tz = "GMT")
if (dat[n] != start)
cat(format(dat[n], "time series
I have functions using get.hist.quote() from library tseries.
It seems that something changed (yahoo) and function get broken.
try with a simple
get.hist.quote('IBM')
and let me kow if for someone it is still working.
I get this error:
Error in if (!quiet && dat[n] != start) cat(format(dat[n],
I have functions using get.hist.quote() from library tseries.
It seems that something changed (yahoo) and function get broken.
try with a simple
get.hist.quote('IBM')
and let me kow if for someone it is still working.
I get this error:
Error in if (!quiet && dat[n] != start) cat(format(dat[n],
I have functions using get.hist.quote() from library tseries.
It seems that something changed (yahoo) and function get broken.
try with a simple
get.hist.quote('IBM')
and let me kow if for someone it is still working.
I get this error:
Error in if (!quiet && dat[n] != start) cat(format(dat[n],
On 1/4/07, BBands <[EMAIL PROTECTED]> wrote:
> Odd behavior from get.hist.quote this AM.
Now working, must have been a Yahoo! issue.
jab
--
John Bollinger, CFA, CMT
www.BollingerBands.com
If you advance far enough, you arrive at the beginning.
__
Odd behavior from get.hist.quote this AM.
"""
> get.hist.quote('sunw')
trying URL
'http://chart.yahoo.com/table.csv?s=sunw&a=0&b=02&c=1991&d=0&e=03&f=2007&g=d&q=q&y=0&z=sunw&x=.csv'
Content type 'text/csv' length unknown
opened URL
.. .. .. .. ..
..
In tseries package. You might have to download & install the package If
library(tseries) doesn't work.
HTH
Manoj
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erin Hodgess
Sent: Thursday, March 04, 2004 2:53 AM
To: [EMAIL PROTECTED]
Su
Dear R People:
Here is a silly one:
Where is get.hist.quote, please?
Thanks,
Erin
mailto: [EMAIL PROTECTED]
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.o
> > I guess I'm not understanding the object that get.hist.quote makes. In
> > general, what are R facilities for discovering what a given object is?
>
> I suggest, you study first one of the beginners manuals of the R
> environment: http://cran.r-project.org/manuals.html
> Then you would easily se
rom: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Dirk
> Eddelbuettel
> Sent: 03 March 2004 16:02
> To: Ajay Shah
> Cc: r-help
> Subject: Re: [R] get.hist.quote - is great, but am I missing
> something?
>
>
> On Wed, Mar 03, 2004 at 03:25:14PM
I find it's just great to be able to say:
library(tseries)
x <- get.hist.quote(instrument="ongc.ns")
and it gets a full time-series of the stock price of the symbol
ongc.ns from Yahoo quote.
However, once my hopes have been raised by such beauty I get
disappointed when I do
plot(x)
and the annot
On Wed, Mar 03, 2004 at 03:25:14PM +0530, Ajay Shah wrote:
> I find it's just great to be able to say:
>
> library(tseries)
> x <- get.hist.quote(instrument="ongc.ns")
>
> and it gets a full time-series of the stock price of the symbol
> ongc.ns from Yahoo quote.
>
> However, once my hopes h
st on his its package
---
Date: Wed, 3 Mar 2004 15:25:14 +0530
From: Ajay Shah <[EMAIL PROTECTED]>
To: r-help <[EMAIL PROTECTED]>
Subject: [R] get.hist.quote - is great, but am I missing something?
I find it's just great to be able to say:
library(tseries)
x <- get
> [mailto:[EMAIL PROTECTED] Behalf Of Ajay Shah
> Sent: 03 March 2004 09:55
> To: r-help
> Subject: [R] get.hist.quote - is great, but am I missing something?
>
>
> I find it's just great to be able to say:
>
> library(tseries)
> x <- get.hist.quote(instrument
I find it's just great to be able to say:
library(tseries)
x <- get.hist.quote(instrument="ongc.ns")
and it gets a full time-series of the stock price of the symbol
ongc.ns from Yahoo quote.
However, once my hopes have been raised by such beauty :-) I get
disappointed when I do
> plot(x)
a
16 matches
Mail list logo