position_list: Get a list of open positions

Description Usage Arguments

Description

Get a list of open positions See the following link for further information: http://developer.oanda.com/rest-live/positions/#getListAllOpenPositions http://developer.oanda.com/rest-live/positions/#getPositionForInstrument

Usage

1
position_list(oanda, instrument = NULL, account_id = NULL)

Arguments

instrument

Retrieve open positions for a specific instrument only. Default is all( NULL).

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.


teramonagi/oandar documentation built on May 8, 2019, 8:51 a.m.