[R-SIG-Finance] Newbie quantmod periodicity question

Brian G. Peterson brian at braverock.com
Thu Sep 10 22:31:10 CEST 2009


Reinstall xts from R-Forge

*|install.packages("xts",repos="http://r-forge.r-project.org")|*

There was a bug in periodicity() that has now been fixed in the R-forge 
version of xts.

Cheers,

    - Brian

Andre Nathan wrote:
> Hello
>
> I've just started using quantmod, and I have a question about how to
> deal with intraday data. I'm using getSymbols() to get the data like
> this:
>
>   getSymbols("GOOG", src = 'yahoo')
>
> I'm trying to plot an hourly barChart (for example, last 5 hours), but
> I can't seem to get it to work, and all plots only have information up
> to the last day. I believe this is because periodicity(GOOG) is daily,
> but I can't find a way to convert this to hourly data. How can I do
> that?
>
> Should I get the 15-minute data from yahoo manually instead of using getSymbols?
>
> Thanks,
> Andre
>
> _______________________________________________
> R-SIG-Finance at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only.
> -- If you want to post, subscribe first.
>   


-- 
Brian G. Peterson
http://braverock.com/brian/
Ph: 773-459-4973
IM: bgpbraverock



More information about the R-SIG-Finance mailing list