[R-SIG-Finance] Quantmod problem retrieving data

Josh Ulrich josh.m.ulrich at gmail.com
Thu Apr 9 16:20:22 CEST 2009


Werner,

It's as easy as using the correct FRED symbol:
getSymbols("DEXJPUS",src="FRED")

Best,
Josh
--
http://quantemplation.blogspot.com
http://www.fosstrading.com



On Thu, Apr 9, 2009 at 7:59 AM, Werner Erselina <werner at erselina.nl> 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