instrument_list: Get an instrument list

Description Usage Arguments Details

View source: R/rate.R

Description

Get a list of tradeable instruments (currency pairs, CFDs, and commodities) that are available for trading with the account specified.

Usage

1
2
instrument_list(oanda, instruments = NULL, fields = NULL,
  account_id = NULL)

Arguments

oanda

OANDA class object generated by generate_oanda()

instruments

string vector. list of instruments that are to be returned in the response.

fields

string vector. list of instrument fields that are to be returned in the response. The instrument field will be returned regardless of the input to this query parameter.

account_id

string. The account id to fetch the list of tradeable instruments for. This value will be used if it is specified. If not specified, the value which OANDA object has inside is used as a default (default value is NULL).

Details

See the following link for further information: http://developer.oanda.com/rest-live/rates/.


beykuet/ROandaAPI documentation built on May 6, 2019, 2:30 p.m.