Interface AmendServerFieldSet


public interface AmendServerFieldSet
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addField(String fieldName, Object value)
    Adds a field to this event
    default void
    Optional field that can be used to display the client agreement date time in a trade amend.
    default void
    The Forward points trader for a manual mode trade
    default void
    This field represents the spot margin that the sales user has selected.
    default void
    This field represents the spot margin that the sales user has selected.
    default void
    The Spot trader for a manual mode trade
    default void
    This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.
    default void
    This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.
  • Method Details

    • addField

      void addField(String fieldName, Object value)
      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 a String using BigDecimal.toPlainString()
    • setSpotBidMargin

      default void setSpotBidMargin(Object value)
      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

      default void setSpotAskMargin(Object value)
      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

      default void setSwapBidMargin(Object value)
      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

      default void setSwapAskMargin(Object value)
      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

      default void setClientAgreementDateTime(Object value)
      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

      default void setSpotTrader(Object value)
      The Spot trader for a manual mode trade
      Parameters:
      value - The value to be set passed by i18n
    • setForwardPointsTrader

      default void setForwardPointsTrader(Object value)
      The Forward points trader for a manual mode trade
      Parameters:
      value - The value to be set passed by i18n