[R-SIG-Finance] quantmod getSymbols
jeff.a.ryan at gmail.com
Sun May 31 04:35:10 CEST 2009
To follow up to the list with the solution.
This is a (bad) result of ordering an xts object that is read in in
non-ascending time order.
xts has been patched on R-forge now to properly handle this.
Thanks for the report!
On Fri, May 29, 2009 at 3:21 PM, Khanh Nguyen <knguyen at cs.umb.edu> wrote:
> I downloaded a yahoo.csv file for Yahoo from Yahoo Finance. It has this format
> Date,Open,High,Low,Close,Volume,Adj Close
> when I try to read it to quantmod, I got
>> getSymbols("yahoo", src="csv")
> Error in `[.data.frame`(x, indx) : undefined columns selected
> What am I missing? Thanks.
> R-SIG-Finance at stat.math.ethz.ch mailing list
> -- Subscriber-posting only.
> -- If you want to post, subscribe first.
jeffrey.ryan at insightalgo.com
ia: insight algorithmics
More information about the R-SIG-Finance