Downloads Symbols
to specified env
from
www.oanda.com historical currency database.
This method is not meant to be called directly, instead
a call to getSymbols("x",src="oanda")
will
in turn call this method. It is documented for the
sole purpose of highlighting the arguments accepted,
and to serve as a guide to creating additional
getSymbols 'methods'.
getSymbols.oanda(Symbols, env, return.class = "xts", from = Sys.Date() - 499, to = Sys.Date(), ...)
oanda.currencies
Oanda data is 7 day daily average price data, that is Monday through Sunday. There is a limit of 500 days per request, and getSymbols will fail with a warning that the limit has been exceeded.
getSymbols.FRED
,
getSymbols
## Not run:
# getSymbols("USD/EUR",src="oanda")
# getSymbols("USD/EUR",src="oanda",from="2005-01-01")
# ## End(Not run)
Run the code above in your browser using DataLab