Interface ExecutionLegServerFieldSet
public interface ExecutionLegServerFieldSet
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a field to this eventdefault voidsetAllInAskMargin(Object value) This is the user’s selected SpotBidMargin added to the selected FwdBidMargindefault voidsetAllInAskRate(Object value) This field is included on the rate update that the client wants to trade ondefault voidsetAllInBidMargin(Object value) This is the user’s selected SpotBidMargin added to the selected FwdBidMargindefault voidsetAllInBidRate(Object value) This field is included on the rate update that the client wants to trade ondefault voidThe amount to trade, specified in the dealt currency.default voidsetBuySell(Object value) Whether the client wants to buy or sell the base currency, NOT the dealt currency.default voidsetBuySideLocked(Object value) This represents whether the user locked the rates for the buy side.default voidsetFwdAskMargin(Object value) This field represents the Forward margin that the sales user has selected.default voidsetFwdAskPips(Object value) Deprecated.default voidsetFwdAskPoints(Object value) For forward trades this is the forward points that the client wants to trade on.default voidsetFwdBidMargin(Object value) This field represents the Forward margin that the sales user has selected.default voidsetFwdBidPips(Object value) Deprecated.default voidsetFwdBidPoints(Object value) For forward trades this is the forward points that the client wants to trade on.default voidsetFwdPips(Object value) Deprecated.default voidThis is the all-in rate that the client wants to trade on.default voidsetRemarks(Object value) Overrides remarks on the SubmissionLeg.default voidsetSellSideLocked(Object value) This represents whether the user locked the rates for the sell side.default voidsetSettlementDate(Object value) The settlement date for the trade, in ISO format (only support standard settlement dates) Example value: 20160515default voidsetStartDate(Object value) The start date for time options.default voidsetTraderFwdAskPoints(Object value) The trader forward ask pointsdefault voidsetTraderFwdBidPoints(Object value) The trader forward bid pointsdefault voidsetTraderRemarks(Object value) The trader's comments on a trade
-
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 aStringusingBigDecimal.toPlainString()
-
setBuySell
Whether the client wants to buy or sell the base currency, NOT the dealt currency. For example if the currency pair is EURGBP and this value is EUR then this field always tells you if the client wants to buy or sell EUR, even if the dealt currency is GBP. The dealt currency just tells you which currency the client has specified the amount in.- Parameters:
value- The value to be set passed by i18n
-
setAmount
The amount to trade, specified in the dealt currency. Example value: 50000- Parameters:
value- The value to be set passed by i18n
-
setSettlementDate
The settlement date for the trade, in ISO format (only support standard settlement dates) Example value: 20160515- Parameters:
value- The value to be set passed by i18n
-
setStartDate
The start date for time options. Example value 20170123- Parameters:
value- The value to be set passed by i18n
-
setPrice
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.- Parameters:
value- The value to be set passed by i18n
-
setFwdBidPoints
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.- Parameters:
value- The value to be set passed by i18n
-
setFwdAskPoints
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.- Parameters:
value- The value to be set passed by i18n
-
setAllInBidRate
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
-
setAllInAskRate
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
-
setAllInBidMargin
This is the user’s selected SpotBidMargin added to the selected FwdBidMargin- Parameters:
value- The value to be set passed by i18n
-
setAllInAskMargin
This is the user’s selected SpotBidMargin added to the selected FwdBidMargin- Parameters:
value- The value to be set passed by i18n
-
setFwdBidMargin
This field represents the Forward margin that the sales user has selected. This field should be sent raw and unformatted.- Parameters:
value- The value to be set passed by i18n
-
setFwdAskMargin
This field represents the Forward margin that the sales user has selected. This field should be sent raw and unformatted.- Parameters:
value- The value to be set passed by i18n
-
setBuySideLocked
This represents whether the user locked the rates for the buy side. Follows the same rules about base/dealt currency as the BuySell field. Only sent if the Missed Trades feature is enabled in the Frontend configuration.- Parameters:
value- The value to be set passed by i18n
-
setSellSideLocked
This represents whether the user locked the rates for the sell side. Follows the same rules about base/dealt currency as the BuySell field. Only sent if the Missed Trades feature is enabled in the Frontend configuration.- Parameters:
value- The value to be set passed by i18n
-
setRemarks
Overrides remarks on the SubmissionLeg.- Parameters:
value- The value to be set passed by i18n
-
setTraderRemarks
The trader's comments on a trade- Parameters:
value- The value to be set passed by i18n
-
setFwdPips
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- Parameters:
value- The value to be set passed by i18n
-
setFwdBidPips
Deprecated.This field is included on the rate update that the client wants to trade on if it is a streaming Forward rate. If it is not present on the rate update (which will be the case for an RFS SPOT trade) then it should not be sent on the Submit message either.- Parameters:
value- The value to be set passed by i18n
-
setFwdAskPips
Deprecated.This field is included on the rate update that the client wants to trade on if it is a streaming Forward rate. If it is not present on the rate update (which will be the case for an RFS SPOT trade) then it should not be sent on the Submit message either.- Parameters:
value- The value to be set passed by i18n
-
setTraderFwdBidPoints
The trader forward bid points- Parameters:
value- The value to be set passed by i18n
-
setTraderFwdAskPoints
The trader forward ask points- Parameters:
value- The value to be set passed by i18n
-