Interface LegDetailsServerFieldSet
public interface LegDetailsServerFieldSet
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a field to this eventdefault void
setAllowPartialFill
(Object value) Denotes if this leg may be partially filleddefault void
The amount to trade in the dealt currency.default void
setBenchmarkType
(Object value) If this leg is a benchmark order, what type of benchmark is it.default void
setBuySell
(Object value) The direction of this leg from the clients perspective.default void
setChildLegId
(Object value) If this leg has a child, what is the ID of it, e.g.default void
setChildRelationship
(Object value) If this leg has a child, what is the relationship, e.g.default void
setDealtCurrency
(Object value) The currency to define the amount in.default void
setDiscretion
(Object value) Number of points the trader has discretion to fill the orderdefault void
setExecutionType
(Object value) How this leg should be executed.default void
setFillMode
(Object value) The permitted fill types for this leg, e.g.default void
setFillRate
(Object value) Deprecated.default void
setLimitPrice
(Object value) The price at which this leg should fill.default void
setLoopLegId
(Object value) The leg to loop back to upon completion, e.g.default void
The sales margin to be applied to the limit price in order to find the tracking rate.default void
setMonitorSide
(Object value) The side of the market this leg should monitor.default void
setOrderFixingDate
(Object value) The date an NDF order will fix on if filled.default void
setOrderID
(Object value) The order id, should only be sent on and an Edit Orderdefault void
setOrderSettlementDate
(Object value) For Forward and NDF orders only.default void
setOrderTenor
(Object value) For Forward and NDF orders only.default void
setPartnerLegId
(Object value) If this leg has a partner, what is the ID of it, e.g.default void
setPartnerRelationship
(Object value) If this leg has a partner, what is the relationship, e.g.default void
setRemarks
(Object value) The clients or trader's comments on an order leg - visible to both the Client and the Trader.default void
setTraderRemarks
(Object value) The trader's comments on an order leg - visible to only the Trader
-
Method Details
-
addField
Adds a field to this event- Parameters:
fieldName
- The name of the field to add.value
- The value of the field to add. If the value is a BigDecimal then it will be converted to aString
usingBigDecimal.toPlainString()
-
setOrderID
The order id, should only be sent on and an Edit Order- Parameters:
value
- The value to be set passed by i18n
-
setAmount
The amount to trade in the dealt currency.- Parameters:
value
- The value to be set passed by i18n
-
setMonitorSide
The side of the market this leg should monitor. e.g. BID or ASK.- Parameters:
value
- The value to be set passed by i18n
-
setDealtCurrency
The currency to define the amount in.- Parameters:
value
- The value to be set passed by i18n
-
setBuySell
The direction of this leg from the clients perspective. e.g. BUY or SELL.- Parameters:
value
- The value to be set passed by i18n
-
setExecutionType
How this leg should be executed. e.g. CALL-ORDER, TAKE-PROFIT, STOP-LOSS or MARKET.- Parameters:
value
- The value to be set passed by i18n
-
setBenchmarkType
If this leg is a benchmark order, what type of benchmark is it.- Parameters:
value
- The value to be set passed by i18n
-
setLimitPrice
The price at which this leg should fill.- Parameters:
value
- The value to be set passed by i18n
-
setMargin
The sales margin to be applied to the limit price in order to find the tracking rate.- Parameters:
value
- The value to be set passed by i18n
-
setRemarks
The clients or trader's comments on an order leg - visible to both the Client and the Trader.- Parameters:
value
- The value to be set passed by i18n
-
setTraderRemarks
The trader's comments on an order leg - visible to only the Trader- Parameters:
value
- The value to be set passed by i18n
-
setChildLegId
If this leg has a child, what is the ID of it, e.g. 2- Parameters:
value
- The value to be set passed by i18n
-
setChildRelationship
If this leg has a child, what is the relationship, e.g. IF-DONE or IF-TIMEOUT- Parameters:
value
- The value to be set passed by i18n
-
setPartnerLegId
If this leg has a partner, what is the ID of it, e.g. 2- Parameters:
value
- The value to be set passed by i18n
-
setPartnerRelationship
If this leg has a partner, what is the relationship, e.g. OCO- Parameters:
value
- The value to be set passed by i18n
-
setLoopLegId
The leg to loop back to upon completion, e.g. 1- Parameters:
value
- The value to be set passed by i18n
-
setAllowPartialFill
Denotes if this leg may be partially filled- Parameters:
value
- The value to be set passed by i18n
-
setFillMode
The permitted fill types for this leg, e.g. ANY, MANUAL or AUTO- Parameters:
value
- The value to be set passed by i18n
-
setFillRate
Deprecated.The limit price for the order. This has been deprecated and you should prefer the LimitPrice field.- Parameters:
value
- The value to be set passed by i18n
-
setDiscretion
Number of points the trader has discretion to fill the order- Parameters:
value
- The value to be set passed by i18n
-
setOrderTenor
For Forward and NDF orders only. Either a tenor or settlement date should be provided, but not both. The order tenor is a rolling tenor calculated from today.- Parameters:
value
- The value to be set passed by i18n
-
setOrderSettlementDate
For Forward and NDF orders only. Either a tenor or settlement Date should be provided, but not both. A settlement date In ISO-8601 format, i.e. YYYY-MM-DD for which the order will settle.- Parameters:
value
- The value to be set passed by i18n
-
setOrderFixingDate
The date an NDF order will fix on if filled.- Parameters:
value
- The value to be set passed by i18n
-