public method TradeDeskAut.ChangeOrderRate2, ChangeOrderRate2Async
Brief
Changes the rate of the order and allows making the order trailing.
Declaration | ||||
|
||||
|
||||
|
||||
|
Parameters | |
sOrderID |
The identifier of the order. |
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 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
|
psReqestId |
[output] Request identifier. |
Details
The ChangeOrderRate2
and ChangeOrderRate2Async
methods are defined in the TradeDeskAut
class.