[R-SIG-Finance] [R-sig-finance] get.hist.quote

Gabor Grothendieck ggrothendieck at gmail.com
Fri Feb 9 17:08:56 CET 2007


On 2/9/07, genx <info at genetrix.se> wrote:
>
>
> Josh Ulrich wrote:
> >
> > This is because Yahoo recently changed the date format of its CSV files
> > from
> > "%d-%m-%y" to "%Y-%m-%d".  All that needs to be changed in
> > 'get.hist.quote'
> > is this line of code:
> > from: dat <- as.Date(dat, "%d-%b-%Y")
> > to: dat <- as.Date(dat, "%Y-%m-%d")
> >
> > Other similar functions (e.g. 'yahooImport') will likely have the same
> > problem.
> >
>
> I suspected it was a Yahoo issue, ok, then i know for sure and hope rmetrics
> and zoo update the packages to reflect to changes made by finance yahoo.

This has nothing to do with with the zoo package.  Its a matter of
changing get.hist.quote in the tseries package to handle
the change in yahoo.



More information about the R-SIG-Finance mailing list