modify_trade: Modify an existing trade

Description Usage Arguments

View source: R/trade.R

Description

Modify an existing trade. Only the specified parameters will be modified. All other parameters will remain unchanged. To remove an optional parameter, set its value to 0. See the following link for further information: http://developer.oanda.com/rest-live/trades/#modifyExistingTrade

Usage

1
2
modify_trade(oanda, trade_id, stop_loss = NULL, take_profit = NULL,
  trailing_stop = NULL, accound_id = NULL)

Arguments

trailing_stop

Trailing Stop distance in pips, up to one decimal place

stopLoss

Stop Loss value

takeProfit

Take Profit value


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