modify_order: Modify an existing order

Description Usage Arguments

Description

Modify an existing order 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/orders/#modifyExistingOrder

Usage

1
2
3
modify_order(oanda, order_id, units = NULL, expiry = NULL, price = NULL,
  lower_bound = NULL, upper_bound = NULL, stop_loss = NULL,
  take_profit = NULL, trailing_stop = NULL, accound_id = NULL)

Arguments

units

The number of units to open order for.

expiry

The order expiration time in UTC. The value specified must be in a valid datetime format.

price

The price at which the order is set to trigger at.

lower_bound

The minimum execution price.

upper_bound

The maximum execution price.

stop_loss

The stop loss price.

take_profit

The take profit price.

trailing_stop

The trailing stop distance in pips, up to one decimal place.


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