Skip to content

Commit

Permalink
Update Oanda URL
Browse files Browse the repository at this point in the history
The previous URL was returning HTTP 404 errors.

Fixes #225.
  • Loading branch information
joshuaulrich committed Apr 5, 2018
1 parent 934fc04 commit aef8193
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions R/getSymbols.R
Original file line number Diff line number Diff line change
Expand Up @@ -1200,9 +1200,8 @@ function(Symbols,env,return.class='xts',
" Symbol: ", Symbols[[i]])
}
oanda.URL <- paste0("https://www.oanda.com/fx-for-business/",
"historical-rates/api/update/?&widget=1",
"&source=OANDA&display=absolute&adjustment=0",
"&data_range=c",
"historical-rates/api/data/update/",
"?&source=OANDA&adjustment=0",
"&quote_currency=", currency.pair[1],
"&start_date=", from,
"&end_date=", to,
Expand Down

0 comments on commit aef8193

Please sign in to comment.