Interface AmendServerFieldSet
public interface AmendServerFieldSet
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a field to this eventdefault void
setClientAgreementDateTime
(Object value) Optional field that can be used to display the client agreement date time in a trade amend.default void
setForwardPointsTrader
(Object value) The Forward points trader for a manual mode tradedefault void
setSpotAskMargin
(Object value) This field represents the spot margin that the sales user has selected.default void
setSpotBidMargin
(Object value) This field represents the spot margin that the sales user has selected.default void
setSpotTrader
(Object value) The Spot trader for a manual mode tradedefault void
setSwapAskMargin
(Object value) This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.default void
setSwapBidMargin
(Object value) This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.
-
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()
-
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
-
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
-
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
-
setSpotTrader
The Spot trader for a manual mode trade- Parameters:
value
- The value to be set passed by i18n
-
setForwardPointsTrader
The Forward points trader for a manual mode trade- Parameters:
value
- The value to be set passed by i18n
-