Interface ExecutionServerFieldSet
public interface ExecutionServerFieldSet
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a field to this eventdefault void
A unique identifier for the client applicationdefault void
setAskPips
(Object value) Deprecated.default void
setAssetClass
(Object value) The asset class for the trade; used by permissioning and licensing.default void
setBidPips
(Object value) Deprecated.default void
setClientAgreementDateTime
(Object value) Optional field that can be used to display the client agreement date time in a trade amend.default void
setIsAdvised
(Object value) true or false to indicate whether the trader gave the client advicedefault void
setIsCommercial
(Object value) Indication whether something is commercial or notdefault void
setPurpose
(Object value) The purpose of the trade.default void
setQuoteID
(Object value) The unique ID of the quote the client wants to trade on.default void
setRemarks
(Object value) The clients or trader's comments on a trade - visible to both the Client and the Trader.default void
setSpotAskMargin
(Object value) This field represents the spot margin that the sales user has selected.default void
setSpotAskRate
(Object value) This field is included on the rate update that the client wants to trade ondefault void
setSpotBidMargin
(Object value) This field represents the spot margin that the sales user has selected.default void
setSpotBidRate
(Object value) This field is included on the rate update that the client wants to trade ondefault void
setStreamingMode
(Object value) Indicates whether the rates/margins of this trade were manually provided, 'Manual Mode', 'Streaming Mode'default void
setSwapAskMargin
(Object value) This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.default void
setSwapAskPoints
(Object value) This is the swap ask points that the client wants to trade on.default void
setSwapBidMargin
(Object value) This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.default void
setSwapBidPoints
(Object value) This is the swap bid points that the client wants to trade on.default void
setTraderRemarks
(Object value) The trader's comments on an trade - visible to only the Traderdefault void
setTraderSpotAskRate
(Object value) This field is included on the rate update that the client wants to trade ondefault void
setTraderSpotBidRate
(Object value) This field is included on the rate update that the client wants to trade ondefault void
setTradingAssetClass
(Object value) The trading asset class for the trade; used by permissioning and licensing.default void
setTradingProtocol
(Object value) The trade protocol, e.g, ESP or RFS.
-
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()
-
setQuoteID
The unique ID of the quote the client wants to trade on. This is generated by the OMS. Unlike ESP where you have a quote ID for the forward points and a quote ID for the related SPOT quote there is only one quote ID for an RFS quote, even if it's a forward or swap- Parameters:
value
- The value to be set passed by i18n
-
setSpotBidRate
This field is included on the rate update that the client wants to trade on- Parameters:
value
- The value to be set passed by i18n
-
setSpotAskRate
This field is included on the rate update that the client wants to trade on- Parameters:
value
- The value to be set passed by i18n
-
setAssetClass
The asset class for the trade; used by permissioning and licensing.- Parameters:
value
- The value to be set passed by i18n
-
setTradingAssetClass
The trading asset class for the trade; used by permissioning and licensing.- Parameters:
value
- The value to be set passed by i18n
-
setTradingProtocol
The trade protocol, e.g, ESP or RFS. The Trading DataSource library needs this so that it knows which state model to use for the trade. Also used for permissioning.- Parameters:
value
- The value to be set passed by i18n
-
setSpotBidMargin
This field represents the spot margin that the sales user has selected. It should be sent as a raw value, and unformatted.- Parameters:
value
- The value to be set passed by i18n
-
setSpotAskMargin
This field represents the spot margin that the sales user has selected. It should be sent as a raw value, and unformatted.- Parameters:
value
- The value to be set passed by i18n
-
setSwapBidPoints
This is the swap bid points that the client wants to trade on.- Parameters:
value
- The value to be set passed by i18n
-
setSwapAskPoints
This is the swap ask points that the client wants to trade on.- Parameters:
value
- The value to be set passed by i18n
-
setSwapBidMargin
This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.- Parameters:
value
- The value to be set passed by i18n
-
setSwapAskMargin
This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.- Parameters:
value
- The value to be set passed by i18n
-
setIsAdvised
true or false to indicate whether the trader gave the client advice- Parameters:
value
- The value to be set passed by i18n
-
setRemarks
The clients or trader's comments on a trade - 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 trade - visible to only the Trader- Parameters:
value
- The value to be set passed by i18n
-
setStreamingMode
Indicates whether the rates/margins of this trade were manually provided, 'Manual Mode', 'Streaming Mode'- Parameters:
value
- The value to be set passed by i18n
-
setTraderSpotBidRate
This field is included on the rate update that the client wants to trade on- Parameters:
value
- The value to be set passed by i18n
-
setTraderSpotAskRate
This field is included on the rate update that the client wants to trade on- Parameters:
value
- The value to be set passed by i18n
-
setBidPips
Deprecated.For swap trades this field is included on the rate update that the client wants to trade on. For non-swap trades this field should be not sent.- Parameters:
value
- The value to be set passed by i18n
-
setAskPips
Deprecated.For swap trades this field is included on the rate update that the client wants to trade on. For non-swap trades this field should be not sent.- Parameters:
value
- The value to be set passed by i18n
-
setPurpose
The purpose of the trade. Example: Commercial- Parameters:
value
- The value to be set passed by i18n
-
setIsCommercial
Indication whether something is commercial or not- Parameters:
value
- The value to be set passed by i18n
-
setClientAgreementDateTime
Optional field that can be used to display the client agreement date time in a trade amend. This field can also be included in the Amend's EditableFields list to allow the user to edit it. This field can be used to allow the user to specify a client agreement time in scenarios where the execution time might have been different.- Parameters:
value
- The value to be set passed by i18n
-
setAppID
A unique identifier for the client application- Parameters:
value
- The value to be set passed by i18n
-