[R-SIG-Finance] Quantmod problem retrieving data

Werner Erselina werner at erselina.nl
Fri Apr 10 16:02:46 CEST 2009


Thanks Jeff,

This was very helpful. I will  examine the package further.

Greetings,


Werner



Werner Erselina wrote:
> Hi,
>
> I'm investigating the package quantmod. However when doing the 
> examples on the site i encounter some problems. Here is my output:
>
> > require(quantmod)
> Loading required package: quantmod
> Loading required package: xts
> Loading required package: zoo
>
> Attaching package: 'zoo'
>
>
>       The following object(s) are masked from package:base :
>
>        as.Date.numeric
>
> Loading required package: Defaults
> quantmod: Quantitative Financial Modelling Framework
>
> Version 0.3-7, Revision 461
> http://www.quantmod.com
>
> > getSymbols("DEXUSJP",src="FRED")
> Error in download.file(paste(FRED.URL, "/", Symbols[[i]], "/", 
> "downloaddata/",  :
> cannot open URL 
> 'http://research.stlouisfed.org/fred2/series/DEXUSJP/downloaddata/DEXUSJP.csv' 
>
> In addition: Warning message:
> In download.file(paste(FRED.URL, "/", Symbols[[i]], "/", 
> "downloaddata/",  :
> cannot open: HTTP status was '404 Not Found'
> > getSymbols("XPT/USD",src="Oanda")
> Error in do.call(paste("getSymbols.", symbol.source, sep = ""), 
> list(Symbols = current.symbols,  :
> could not find function "getSymbols.Oanda"
>
> As it seems, retrieving data via quantmod is not successful.  Anybody 
> knows how i could solve this?
>
>
> Regards,
>
> Werner
>
> _______________________________________________
> 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.
>



More information about the R-SIG-Finance mailing list