Interface LegDetailsServerFieldSet
public interface LegDetailsServerFieldSet
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a field to this eventdefault voidsetAllowPartialFill(Object value) Indicates whether the order leg can be partially filleddefault voidThe amount to trade in the dealt currency.default voidsetBenchmarkDate(Object value) The fixing date of the benchmark in ISO-8601 format, e.g.default voidsetBenchmarkTime(Object value) The fixing time of the benchmark in ISO-8601 format, e.g.default voidsetBenchmarkTimeZone(Object value) The timezone of the benchmark fixing date and time - must be in TZ format, e.g.default voidsetBenchmarkType(Object value) The type of benchmark, or benchmark provider, e.g.default voidsetBuySell(Object value) The direction of this leg from the clients perspective.default voidsetChildLegId(Object value) If this leg has a child, what is the ID of it, e.g.default voidsetChildRelationship(Object value) If this leg has a child, what is the relationship, e.g.default voidsetDealtCurrency(Object value) The currency to define the amount in.default voidsetDiscretion(Object value) Number of points the trader has discretion to fill the orderdefault voidsetExecutionType(Object value) How this leg should be executed.default voidsetFillMode(Object value) The permitted fill types for this leg, e.g.default voidsetFillRate(Object value) Deprecated.default voidsetLimitPrice(Object value) The price at which this leg should fill.default voidsetLoopLegId(Object value) The leg to loop back to upon completion, e.g.default voidThe sales margin to be applied to the limit price in order to find the tracking rate.default voidsetMonitorSide(Object value) The side of the market this leg should monitor.default voidsetOrderFixingDate(Object value) The date an NDF order will fix on if filled.default voidsetOrderID(Object value) The order id, should only be sent on and an Edit Orderdefault voidsetOrderSettlementDate(Object value) For Forward and NDF orders only.default voidsetOrderTenor(Object value) For Forward and NDF orders only.default voidsetPartnerLegId(Object value) If this leg has a partner, what is the ID of it, e.g.default voidsetPartnerRelationship(Object value) If this leg has a partner, what is the relationship, e.g.default voidsetRemarks(Object value) The clients or trader's comments on an order leg - visible to both the Client and the Trader.default voidsetTraderRemarks(Object value) The trader's comments on an order leg - visible to only the Traderdefault voidsetTrigger(Object value) The trigger type for the order, e.g.
-
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 aStringusingBigDecimal.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. BENCHMARK, CALL-ORDER, TAKE-PROFIT, STOP-LOSS or MARKET.- Parameters:
value- The value to be set passed by i18n
-
setBenchmarkType
The type of benchmark, or benchmark provider, e.g. 'WM'.- Parameters:
value- The value to be set passed by i18n
-
setBenchmarkDate
The fixing date of the benchmark in ISO-8601 format, e.g. 'YYYY-MM-DD'- Parameters:
value- The value to be set passed by i18n
-
setBenchmarkTime
The fixing time of the benchmark in ISO-8601 format, e.g. '18:00'.- Parameters:
value- The value to be set passed by i18n
-
setBenchmarkTimeZone
The timezone of the benchmark fixing date and time - must be in TZ format, e.g. America/New_York or Europe/London..- 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
Indicates whether the order leg can 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
-
setTrigger
The trigger type for the order, e.g. GIVEN, ASK, AT-RATE- 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
-