getFX                package:quantmod                R Documentation

_D_o_w_n_l_o_a_d _E_x_c_h_a_n_g_e _R_a_t_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Download exchange rates or metals prices from oanda.

_U_s_a_g_e:

     getFX(Currencies,
           from = "2007-01-01", to = Sys.Date(),
           env = .GlobalEnv,
           verbose = FALSE,
           warning = TRUE,
           auto.assign = TRUE, ...)

_A_r_g_u_m_e_n_t_s:

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 

_D_e_t_a_i_l_s:

     A convenience wrapper to 'getSymbols(x,src='oanda')'. See
     'getSymbols' and 'getSymbls.oanda' for more detail.

_V_a_l_u_e:

     The results of the call will be the data will be assigned
     automatically to the environment specified (global by default).
     Additionally a vector of downloaded symbol names will be returned.

     See 'getSymbols' and 'getSymbols.oanda' for more detail.

_A_u_t_h_o_r(_s):

     Jeffrey A. Ryan

_R_e_f_e_r_e_n_c_e_s:

     Oanda.com <URL: http://www.oanda.com>

_S_e_e _A_l_s_o:

     'getSymbols', 'getSymbols.oanda'

_E_x_a_m_p_l_e_s:

     ## Not run: 

     getFX("USD/JPY")

     getFX("EUR/USD",from="2005-01-01")
     ## End(Not run)

