Skip to content

quantmod can't get fx currencies ?

2 messages · ce, Joshua Ulrich

ce
#
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.
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 :
[1] "F"
#
Oanda changed their URL structure and file format. I fixed this over
the weekend:
https://github.com/joshuaulrich/quantmod/issues/36
On Mon, Feb 9, 2015 at 12:52 PM, ce <zadig_1 at excite.com> wrote: