close_trade: Close an open trade

Description Usage Arguments

View source: R/trade.R

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.


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