[R-SIG-Finance] Quantmod problem retrieving data

Jeff Ryan jeff.a.ryan at gmail.com
Fri Apr 10 15:49:15 CEST 2009


Hello Werner,

The issue is that oanda has changed the length of time that you can
download in one request from 2000 days to 500 days.

I will fix the default in the next CRAN release of quantmod, but for
now you can just specify a time-period that is inside that range.

HTH,
Jeff

On Fri, Apr 10, 2009 at 5:49 AM, Werner Erselina <werner at erselina.nl> wrote:
> Thanks Michael and Josh,
>
> Then there is only one problem remaining and that is retrieving the currency
> data from oanda. Using the same syntax as the examples from the website i
> get this error:
>
> getSymbols("XPT/USD",src="oanda")
> Error in (grep("PRE", fr)[1]):(grep("PRE", fr)[2]) : NA/NaN argument
>
>
> Kind regards
>
> _______________________________________________
> 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.
>



-- 
Jeffrey Ryan
jeffrey.ryan at insightalgo.com

ia: insight algorithmics
www.insightalgo.com



More information about the R-SIG-Finance mailing list