Dear all,
Recently quantmod package can't get FX curries any more . I use R 3.1.2 , updated quantmod to latest.
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 :