Interface ExecutionServerFieldSet
public interface ExecutionServerFieldSet
-
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) The ask rate used in charging customers for accepting banker's acceptances, consisting of the discount interest rate plus the commission.default voidsetAllInBidMargin(Object value) This is the user’s selected SpotBidMargin added to the selected FwdBidMargindefault voidsetAllInBidRate(Object value) The bid rate used in charging customers for accepting banker's acceptances, consisting of the discount interest rate plus the commission.default voidA unique identifier for the client applicationdefault voidsetAskPips(Object value) Deprecated.default voidsetAssetClass(Object value) The asset class for the trade; used by permissioning and licensing.default voidsetBidPips(Object value) Deprecated.default voidsetClientAgreementDateTime(Object value) Optional field that can be used to display the client agreement date time in a trade amend.default voidsetCurrencyPair(Object value) The currency pair for the trade.default voidsetDealtCurrency(Object value) The currency of the Amount of a trade or order.default voidsetEndDate(Object value) The end date value for a time option trade.default voidsetForwardPointsTrader(Object value) The Forward points trader for a manual mode tradedefault voidsetIsAdvised(Object value) true or false to indicate whether the trader gave the client advicedefault voidsetIsCommercial(Object value) Indication whether something is commercial or notdefault voidsetPurpose(Object value) The purpose of the trade.default voidsetQuoteID(Object value) The unique ID of the quote the client wants to trade on.default voidsetRemarks(Object value) The clients or trader's comments on a trade - visible to both the Client and the Trader.default voidsetSpotAskMargin(Object value) This field represents the spot margin that the sales user has selected.default voidsetSpotAskRate(Object value) This field is included on the rate update that the client wants to trade ondefault voidsetSpotBidMargin(Object value) This field represents the spot margin that the sales user has selected.default voidsetSpotBidRate(Object value) This field is included on the rate update that the client wants to trade ondefault voidsetSpotTrader(Object value) The Spot trader for a manual mode tradedefault voidsetStartDate(Object value) The start date value for a time option trade.default voidsetStreamingMode(Object value) Indicates whether the rates/margins of this trade were manually provided, 'Manual Mode', 'Streaming Mode'default voidsetSwapAskMargin(Object value) This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.default voidsetSwapAskPoints(Object value) This is the swap ask points that the client wants to trade on.default voidsetSwapBidMargin(Object value) This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.default voidsetSwapBidPoints(Object value) This is the swap bid points that the client wants to trade on.default voidsetTOBOUser(Object value) The user the trade is on behalf of.default voidsetTraderRemarks(Object value) The trader's comments on an trade - visible to only the Traderdefault voidsetTraderSpotAskRate(Object value) This field is included on the rate update that the client wants to trade ondefault voidsetTraderSpotBidRate(Object value) This field is included on the rate update that the client wants to trade ondefault voidsetTradingAssetClass(Object value) The trading asset class for the trade; used by permissioning and licensing.default voidsetTradingProtocol(Object value) The trade protocol, e.g, ESP or RFS.default voidsetTradingType(Object value) Caplin supported values are [SPOT, FWD, NDF, NDF_FIXING, NDS, TIME_OPTION, DRAWDOWN, SWAP, BLOCK, PAR_FORWARD].
-
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()
-
setQuoteID
The unique ID of the quote the client wants to trade on. This is generated by the OMS. Unlike ESP where you have a quote ID for the forward points and a quote ID for the related SPOT quote there is only one quote ID for an RFS quote, even if it's a forward or swap- Parameters:
value- The value to be set passed by i18n
-
setSpotBidRate
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
-
setSpotAskRate
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
-
setAssetClass
The asset class for the trade; used by permissioning and licensing.- Parameters:
value- The value to be set passed by i18n
-
setTradingAssetClass
The trading asset class for the trade; used by permissioning and licensing.- Parameters:
value- The value to be set passed by i18n
-
setTradingProtocol
The trade protocol, e.g, ESP or RFS. The Trading DataSource library needs this so that it knows which state model to use for the trade. Also used for permissioning.- Parameters:
value- The value to be set passed by i18n
-
setTOBOUser
The user the trade is on behalf of. For example, if the logged in user dealer1@novobank.co.za wishes to make a trade on behalf of user client@customer.co.za, then the value of this field will be client@customer.co.za.- Parameters:
value- The value to be set passed by i18n
-
setCurrencyPair
The currency pair for the trade. For example, EURUSD- Parameters:
value- The value to be set passed by i18n
-
setDealtCurrency
The currency of the Amount of a trade or order. For example, GBP- Parameters:
value- The value to be set passed by i18n
-
setTradingType
Caplin supported values are [SPOT, FWD, NDF, NDF_FIXING, NDS, TIME_OPTION, DRAWDOWN, SWAP, BLOCK, PAR_FORWARD]. See the constants defined within com.caplin.motif.fx.trading.FXTradingType for further details.- Parameters:
value- The value to be set passed by i18n
-
setStartDate
The start date value for a time option trade. example: 20150620- Parameters:
value- The value to be set passed by i18n
-
setEndDate
The end date value for a time option trade. example: 20150620- Parameters:
value- The value to be set passed by i18n
-
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
-
setSwapBidPoints
This is the swap bid points that the client wants to trade on.- Parameters:
value- The value to be set passed by i18n
-
setSwapAskPoints
This is the swap ask points that the client wants to trade on.- 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
-
setIsAdvised
true or false to indicate whether the trader gave the client advice- Parameters:
value- The value to be set passed by i18n
-
setRemarks
The clients or trader's comments on a trade - visible to both the Client and the Trader.- Parameters:
value- The value to be set passed by i18n
-
setTraderRemarks
The trader's comments on an trade - visible to only the Trader- Parameters:
value- The value to be set passed by i18n
-
setStreamingMode
Indicates whether the rates/margins of this trade were manually provided, 'Manual Mode', 'Streaming Mode'- Parameters:
value- The value to be set passed by i18n
-
setTraderSpotBidRate
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
-
setTraderSpotAskRate
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
-
setAllInBidRate
The bid rate used in charging customers for accepting banker's acceptances, consisting of the discount interest rate plus the commission.- Parameters:
value- The value to be set passed by i18n
-
setAllInAskRate
The ask rate used in charging customers for accepting banker's acceptances, consisting of the discount interest rate plus the commission.- 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
-
setBidPips
Deprecated.For swap trades this field is included on the rate update that the client wants to trade on. For non-swap trades this field should be not sent.- Parameters:
value- The value to be set passed by i18n
-
setAskPips
Deprecated.For swap trades this field is included on the rate update that the client wants to trade on. For non-swap trades this field should be not sent.- Parameters:
value- The value to be set passed by i18n
-
setPurpose
The purpose of the trade. Example: Commercial- Parameters:
value- The value to be set passed by i18n
-
setIsCommercial
Indication whether something is commercial or not- 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
-
setAppID
A unique identifier for the client application- 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
-