public property TradeDeskAut.FIX_ENTRYSTOP
Brief
Creates Entry Stop order in the TradeDeskAut.CreateFixOrder3
and OrdersBatchAut.CreateFixOrder
methods.
Declaration | ||||
|
||||
|
Parameters | |||||
iFixOrderKind |
The kind of the order. The value must equal |
||||
sTradeID |
The parameter is not used. |
||||
dRate |
The rate at which the order is placed. The rate must be higher than the current market price for buying, and lower for selling. The distance between the specified rate and the market must be greater than the minimal conditional distance. The value of the minimal conditional distance you can retrieve
using methods of |
||||
dRate1 |
The parameter is not used. |
||||
sQuoteID |
The parameter is not used. |
||||
sAccountID |
The identifier of the account. The account must exist in the accounts table. Use
the |
||||
sInstrument |
The instrument the trade must be opened in. The value must be one of the values of the |
||||
bBuySell |
The flag indicating whether the order will be a
buy order ( |
||||
iAmount |
The amount of the order.
|
||||
sRemark |
The custom text to written into the QTXT column of the order. The parameter can be an empty string ( |
||||
iRateFlag |
The parameter is not used. |
||||
iTrailMinMove |
Controls the trailing entry stop order. In case the entry stop order must not be trailing, specify 0 in this parameter. In case the entry stop order must be trailing with a dynamic step, specify 1 in this parameter. In case the entry stop order must be trailing 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
Note that trailing entry stop orders can be not available on the server.
To check whether trailing entry stop orders with a dynamic step are available, use the
|
||||
iTIFType |
The Time In Force option. The parameter must have one of the following values:
|
Details
See also FIX Order Types for more details.
The FIX_ENTRYSTOP
property is defined in the TradeDeskAut
class.