Interface ESPSubmissionLegServerFieldSet


  • public interface ESPSubmissionLegServerFieldSet
    • Method Detail

      • 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()
      • setPrice

        default void setPrice​(Object value)
        This is the all-in rate that the client wants to trade on. The value of this field must equal the value of either the L*_AllInBidRate or L*_AllInAskRate field on the rate update that the client is executing. The front end typically populates this field by reading the currently rendered price on the buy or sell button at the time the user clicks. Example value: 1.08575
        Parameters:
        value - The value to be set passed by i18n
      • setFwdPoints

        default void setFwdPoints​(Object value)
        For forward trades this is the forward points that the client wants to trade on. The value of this field must equal the value of either the BidPoints or AskPoints field on the rate update that the client is executing. For SPOT trades this field should be not sent. If the trade is a forward but the back end did not send the BidPoints and AskPoints fields (because they are optional) then this field should be not sent. Example value: 0.005390
        Parameters:
        value - The value to be set passed by i18n
      • setFwdPips

        @Deprecated
        default void setFwdPips​(Object value)
        Deprecated.
        For forward trades this is the forward pips that the client wants to trade on. The value of this field must equal the value of either the BidPips or AskPips field on the rate update that the client is executing. The front end typically populates this field by reading the currently rendered forward points on the buy or sell button at the time the user clicks. For SPOT trades this field should be not sent. Example value: 53.90
        Parameters:
        value - The value to be set passed by i18n