Interface ExecutionClientFieldSet
- All Superinterfaces:
LeggedMessage,Message
- All Known Implementing Classes:
ClientCloseTradeEvent,ClientCloseTradeEvent,ClientCloseTradeEvent,ClientCloseTradeEvent,ExecuteTradeEvent,ExecuteTradeEvent,ExecuteTradeEvent,ExecuteTradeEvent,ExecutionClientFieldSetChild
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringThis is the user’s selected SpotBidMargin added to the selected FwdBidMargindefault StringThe ask rate used in charging customers for accepting banker's acceptances, consisting of the discount interest rate plus the commission.default StringThis is the user’s selected SpotBidMargin added to the selected FwdBidMargindefault StringThe bid rate used in charging customers for accepting banker's acceptances, consisting of the discount interest rate plus the commission.default StringgetAppID()A unique identifier for the client applicationdefault StringDeprecated.default StringThe asset class for the trade; used by permissioning and licensing.default StringDeprecated.getCLegById(int legId) getCLegById(String legId) getCLegByIndex(int index) getCLegs()default StringOptional field that can be used to display the client agreement date time in a trade amend.default StringThe currency pair for the trade.default StringThe currency of the Amount of a trade or order.default StringThe end date value for a time option trade.default StringThe Forward points trader for a manual mode tradedefault Stringtrue or false to indicate whether the trader gave the client advicedefault StringIndication whether something is commercial or notdefault ExecutionLegClientFieldSetChildgetLLegById(int legId) default ExecutionLegClientFieldSetChildgetLLegById(String legId) default ExecutionLegClientFieldSetChildgetLLegByIndex(int index) getLLegs()default intdefault intdefault intdefault StringThe purpose of the trade.default StringThe unique ID of the quote the client wants to trade on.default StringThe clients or trader's comments on a trade - visible to both the Client and the Trader.default StringThis field represents the spot margin that the sales user has selected.default StringThis field is included on the rate update that the client wants to trade ondefault StringThis field represents the spot margin that the sales user has selected.default StringThis field is included on the rate update that the client wants to trade ondefault StringThe Spot trader for a manual mode tradedefault StringThe start date value for a time option trade.default StringIndicates whether the rates/margins of this trade were manually provided, 'Manual Mode', 'Streaming Mode'default StringThis field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.default StringThis is the swap ask points that the client wants to trade on.default StringThis field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.default StringThis is the swap bid points that the client wants to trade on.default StringThe user the trade is on behalf of.default StringThe trader's comments on an trade - visible to only the Traderdefault StringThis field is included on the rate update that the client wants to trade ondefault StringThis field is included on the rate update that the client wants to trade ondefault StringThe trading asset class for the trade; used by permissioning and licensing.default StringThe trade protocol, e.g, ESP or RFS.default StringCaplin supported values are [SPOT, FWD, NDF, NDF_FIXING, NDS, TIME_OPTION, DRAWDOWN, SWAP, BLOCK, PAR_FORWARD].default SettlementLegClientFieldSetChildgetULegById(int legId) default SettlementLegClientFieldSetChildgetULegById(String legId) default SettlementLegClientFieldSetChildgetULegByIndex(int index) getULegs()Methods inherited from interface com.caplin.motif.datasource.LeggedMessage
getId, getIndex
-
Method Details
-
getQuoteID
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 -
getSpotBidRate
This field is included on the rate update that the client wants to trade on -
getSpotAskRate
This field is included on the rate update that the client wants to trade on -
getAssetClass
The asset class for the trade; used by permissioning and licensing. -
getTradingAssetClass
The trading asset class for the trade; used by permissioning and licensing. -
getTradingProtocol
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. -
getTOBOUser
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. -
getCurrencyPair
The currency pair for the trade. For example, EURUSD -
getDealtCurrency
The currency of the Amount of a trade or order. For example, GBP -
getTradingType
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. -
getStartDate
The start date value for a time option trade. example: 20150620 -
getEndDate
The end date value for a time option trade. example: 20150620 -
getSpotBidMargin
This field represents the spot margin that the sales user has selected. It should be sent as a raw value, and unformatted. -
getSpotAskMargin
This field represents the spot margin that the sales user has selected. It should be sent as a raw value, and unformatted. -
getSwapBidPoints
This is the swap bid points that the client wants to trade on. -
getSwapAskPoints
This is the swap ask points that the client wants to trade on. -
getSwapBidMargin
This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin. -
getSwapAskMargin
This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin. -
getIsAdvised
true or false to indicate whether the trader gave the client advice -
getRemarks
The clients or trader's comments on a trade - visible to both the Client and the Trader. -
getTraderRemarks
The trader's comments on an trade - visible to only the Trader -
getStreamingMode
Indicates whether the rates/margins of this trade were manually provided, 'Manual Mode', 'Streaming Mode' -
getTraderSpotBidRate
This field is included on the rate update that the client wants to trade on -
getTraderSpotAskRate
This field is included on the rate update that the client wants to trade on -
getAllInBidRate
The bid rate used in charging customers for accepting banker's acceptances, consisting of the discount interest rate plus the commission. -
getAllInAskRate
The ask rate used in charging customers for accepting banker's acceptances, consisting of the discount interest rate plus the commission. -
getAllInBidMargin
This is the user’s selected SpotBidMargin added to the selected FwdBidMargin -
getAllInAskMargin
This is the user’s selected SpotBidMargin added to the selected FwdBidMargin -
getBidPips
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. -
getAskPips
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. -
getPurpose
The purpose of the trade. Example: Commercial -
getIsCommercial
Indication whether something is commercial or not -
getClientAgreementDateTime
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. -
getAppID
A unique identifier for the client application -
getSpotTrader
The Spot trader for a manual mode trade -
getForwardPointsTrader
The Forward points trader for a manual mode trade -
getLLegById
- Returns:
- Get the L leg for the given id
-
getLLegById
- Returns:
- Get the L leg for the given id
-
getLLegByIndex
- Returns:
- Get the L leg for the given index
-
getLLegs
List<ExecutionLegClientFieldSetChild> getLLegs()- Returns:
- Get all the L legs for this trade
-
getNumLLegs
default int getNumLLegs()- Returns:
- Get the number of L legs for this trade
-
getCLegById
- Returns:
- Get the C leg for the given id
-
getCLegById
- Returns:
- Get the C leg for the given id
-
getCLegByIndex
- Returns:
- Get the C leg for the given index
-
getCLegs
List<SyntheticComponentClientFieldSetChild> getCLegs()- Returns:
- Get all the C legs for this trade
-
getNumCLegs
default int getNumCLegs()- Returns:
- Get the number of C legs for this trade
-
getULegById
- Returns:
- Get the U leg for the given id
-
getULegById
- Returns:
- Get the U leg for the given id
-
getULegByIndex
- Returns:
- Get the U leg for the given index
-
getULegs
List<SettlementLegClientFieldSetChild> getULegs()- Returns:
- Get all the U legs for this trade
-
getNumULegs
default int getNumULegs()- Returns:
- Get the number of U legs for this trade
-