Description Usage Arguments Details Value Author(s) References See Also Examples
Download exchange rates or metals prices from oanda.
1 2 3 4 5 6 7 |
Currencies |
Currency pairs expressed as ‘CUR/CUR’ |
from |
start date expressed in ISO CCYY-MM-DD format |
to |
end date expressed in ISO CCYY-MM-DD format |
env |
which environment should they be loaded into |
verbose |
be verbose |
warning |
show warnings |
auto.assign |
use auto.assign |
... |
additional parameters to be passed to getSymbols.oanda method |
A convenience wrapper to getSymbols(x,src='oanda')
. See
getSymbols
and getSymbls.oanda
for more detail.
The results of the call will be the data will be assigned automatically to the environment specified (parent by default). Additionally a vector of downloaded symbol names will be returned.
See getSymbols
and getSymbols.oanda
for more detail.
Jeffrey A. Ryan
Oanda.com http://www.oanda.com
1 2 3 4 5 6 7 |
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.
Warning: Unable to import "USD/JPY".
Could not resolve host: www.oanda.com
character(0)
Warning: Unable to import "EUR/USD".
Could not resolve host: www.oanda.com
character(0)
Warning message:
In doTryCatch(return(expr), name, parentenv, handler) :
Oanda only provides historical data for the past 180 days. Symbol: EUR/USD
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.