public method TradeDeskAut.ChangeEntryOrder, ChangeEntryOrderAsync
Brief
Changes a rate, amount and trailing of an entry order.
Declaration | ||||
|
||||
|
||||
|
||||
|
Parameters | |
sOrderID |
The identifier of the entry order. |
iAmount |
The new amount of the order. In case the amount must not be changed, specify 0 in this parameter. |
dRate |
The rate to be set. |
iTrailMinMove |
Controls the trailing order. In case the order must not be a trailing order, specify 0 in this parameter. In case the current trailing mode must not be changed, specify -1 in this parameter. In case the order must be a trailing order with a dynamic step, specify 1 in this parameter. In case the order must be a trailing order with a fixed step, specify the size in pips of the market movement after which the order must be moved following the market.
The value must be from the minimum to the maximum allowed value defined on the server.
To check the values, use the methods of the
Note that trailing orders can be not available on the server.
To check whether trailing orders are available, use the methods of
|
psRequestId |
[output] Returns the request identifier. |
Details
The ChangeEntryOrder
and ChangeEntryOrderAsync
methods are defined in the TradeDeskAut
class.