I have been using the function in recent months, but over the last couple of days it has stopped working:
library(quantmod)
getFX("USD/JPY")
Error in open.connection(con, "rb") : HTTP error 404.
Does anyone else have the same problem? Any alternatives in R for loading FX data?
UPDATE : the creator of the quantum module provided a fix for the problem by simply copying the code to install it:
install.packages("curl")
library(devtools)
devtools::install_github("joshuaulrich/quantmod", ref="225_getsymbols_oanda")
source
share