close_trade: Close an open trade

Description Usage Arguments

Description

Close an open trade See the following link for further information: http://developer.oanda.com/rest-live/trades/#closeOpenTrade

Usage

1
close_trade(oanda, trade_id, account_id = NULL)

Arguments

trade_id

string. trade ID.

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.