Interface ESPSubmissionLegServerFieldSet
-
public interface ESPSubmissionLegServerFieldSet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description void
addField(java.lang.String fieldName, java.lang.Object value)
Adds a field to this eventdefault void
setFwdPips(java.lang.Object value)
Deprecated.default void
setFwdPoints(java.lang.Object value)
For forward trades this is the forward points that the client wants to trade on.default void
setPrice(java.lang.Object value)
This is the all-in rate that the client wants to trade on.
-
-
-
Method Detail
-
addField
void addField(java.lang.String fieldName, java.lang.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 aString
usingBigDecimal.toPlainString()
-
setPrice
default void setPrice(java.lang.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(java.lang.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(java.lang.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
-
-