public property TradeDeskAut.FIX_LIMIT
Brief
Creates Limit order in the TradeDeskAut.CreateFixOrder3
and OrdersBatchAut.CreateFixOrder
methods.
Does not work for United States based accounts. Please read NFA Compliance Rule 2-43(b). In case if this function is used Order2Go API will throw an Exception/Error.
Declaration | ||||
|
||||
|
Parameters | |||||||||
iFixOrderKind |
The kind of the order. The value must equal |
||||||||
sTradeID |
The unique identifier of the trade. In case the limit order must be created or replaced on the trade, specify the unique identifier of the trade.
The trade must exist in the Trades table. The value can be obtained from the In case the limit order must be created or replaced on the entry order, specify the unique identifier of the trade which will be opened by this entry order.
The order must exist in the Orders table. The value can be obtained from the |
||||||||
dRate |
The rate at which the limit order must be created or the offset in pips for the limit order.
The interpretation of the parameter depends on the value of the The limit rate on the trade must be better than the current market. I.e. the rate must be higher than the current market for buying, and lower for selling. The distance between the specified rate and the current close price must be greater than the minimal conditional distance. The limit rate on the entry order must be better than the rate of the entry order. I.e. the rate must be higher than the rate of the entry order for buying, and lower for selling. The distance between the specified rate and the rate of the entry order 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 parameter is not used. |
||||||||
sInstrument |
The parameter is not used. |
||||||||
bBuySell |
The parameter is not used. |
||||||||
iAmount |
The parameter is not used. |
||||||||
sRemark |
The custom text to written into the QTXT column of the order. The parameter can be an empty string ( |
||||||||
iRateFlag |
The type of the limit order. The value defines interpretation of the
|
||||||||
iTrailMinMove |
Controls the trailing limit order. In case the limit order must not be trailing, specify 0 in this parameter. In case the limit order must be trailing with a dynamic step, specify 1 in this parameter. In case the limit 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 limit orders can be not available on the server.
To check whether trailing limit orders with a dynamic step are available, use the
|
||||||||
iTIFType |
The parameter is not used. |
Details
See also FIX Order Types for more details.
The FIX_LIMIT
property is defined in the TradeDeskAut
class.