[R-SIG-Finance] quantmod can't get fx currencies ?

ce zadig_1 at excite.com
Mon Feb 9 19:52:50 CET 2015


Dear all,

Recently quantmod package can't get FX curries any more . I use R 3.1.2 , updated quantmod to latest. 

> library(quantmod)
Loading required package: xts
Loading required package: zoo

Attaching package: ‘zoo’

The following objects are masked from ‘package:base’:

    as.Date, as.Date.numeric

Loading required package: TTR
Version 0.4-0 included new data defaults. See ?getSymbols.

> getFX("EUR/USD",from="2015-01-01")
Error in download.file(paste(oanda.URL, from.date, to.date, "exch=", currency.pair[1],  :
  cannot open URL 'http://www.oanda.com/convert/fxhistory?lang=en&date1=01%2F01%2F15&date=02%2F09%2F15&date_fmt=us&exch=EUR&expr2=USD&margin_fixed=0&SUBMIT=Get+Table&format=CSV&redirected=1'

For stocks still works though :

> getSymbols('F')
[1] "F"



More information about the R-SIG-Finance mailing list