Interface ExecutionClientFieldSet
-
- All Superinterfaces:
LeggedMessage
,Message
- All Known Implementing Classes:
ClientCloseTradeEvent
,ClientCloseTradeEvent
,ClientCloseTradeEvent
,ExecuteTradeEvent
,ExecuteTradeEvent
,ExecuteTradeEvent
,ExecutionClientFieldSetChild
public interface ExecutionClientFieldSet extends LeggedMessage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default java.lang.String
getAskPips()
Deprecated.default java.lang.String
getAssetClass()
The asset class for the trade; used by permissioning and licensing.default java.lang.String
getBidPips()
Deprecated.default java.lang.String
getIsAdvised()
true or false to indicate whether the trader gave the client advicedefault ExecutionLegClientFieldSetChild
getLLegById(int legId)
default ExecutionLegClientFieldSetChild
getLLegById(java.lang.String legId)
default ExecutionLegClientFieldSetChild
getLLegByIndex(int index)
java.util.List<ExecutionLegClientFieldSetChild>
getLLegs()
default int
getNumLLegs()
default java.lang.String
getQuoteID()
The unique ID of the quote the client wants to trade on.default java.lang.String
getRemarks()
The clients or trader's comments on a trade - visible to both the Client and the Trader.default java.lang.String
getSpotAskMargin()
This field represents the spot margin that the sales user has selected.default java.lang.String
getSpotAskRate()
This field is included on the rate update that the client wants to trade on, and should be sent back unchanged on the Submit messagedefault java.lang.String
getSpotBidMargin()
This field represents the spot margin that the sales user has selected.default java.lang.String
getSpotBidRate()
This field is included on the rate update that the client wants to trade on, and should be sent back unchanged on the Submit messagedefault java.lang.String
getStreamingMode()
Indicates whether the rates/margins of this trade were manually provided, 'Manual Mode', 'Streaming Mode'default java.lang.String
getSwapAskMargin()
This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.default java.lang.String
getSwapAskPoints()
This is the swap ask points that the client wants to trade on.default java.lang.String
getSwapBidMargin()
This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.default java.lang.String
getSwapBidPoints()
This is the swap bid points that the client wants to trade on.default java.lang.String
getTraderRemarks()
The trader's comments on an trade - visible to only the Traderdefault java.lang.String
getTraderSpotAskRate()
This field is included on the rate update that the client wants to trade on, and should be sent back unchanged on the Submit messagedefault java.lang.String
getTraderSpotBidRate()
This field is included on the rate update that the client wants to trade on, and should be sent back unchanged on the Submit messagedefault java.lang.String
getTradingAssetClass()
The trading asset class for the trade; used by permissioning and licensing.default java.lang.String
getTradingProtocol()
The trade protocol, e.g, ESP or RFS.-
Methods inherited from interface com.caplin.motif.datasource.LeggedMessage
getId, getIndex
-
-
-
-
Method Detail
-
getQuoteID
default java.lang.String 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
default java.lang.String getSpotBidRate()
This field is included on the rate update that the client wants to trade on, and should be sent back unchanged on the Submit message
-
getSpotAskRate
default java.lang.String getSpotAskRate()
This field is included on the rate update that the client wants to trade on, and should be sent back unchanged on the Submit message
-
getAssetClass
default java.lang.String getAssetClass()
The asset class for the trade; used by permissioning and licensing.
-
getTradingAssetClass
default java.lang.String getTradingAssetClass()
The trading asset class for the trade; used by permissioning and licensing.
-
getTradingProtocol
default java.lang.String 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.
-
getSpotBidMargin
default java.lang.String getSpotBidMargin()
This field represents the spot margin that the sales user has selected. It should be sent as a raw value, and unformatted.
-
getSpotAskMargin
default java.lang.String getSpotAskMargin()
This field represents the spot margin that the sales user has selected. It should be sent as a raw value, and unformatted.
-
getSwapBidPoints
default java.lang.String getSwapBidPoints()
This is the swap bid points that the client wants to trade on.
-
getSwapAskPoints
default java.lang.String getSwapAskPoints()
This is the swap ask points that the client wants to trade on.
-
getSwapBidMargin
default java.lang.String getSwapBidMargin()
This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.
-
getSwapAskMargin
default java.lang.String getSwapAskMargin()
This field represents the swap margin to be applied to the bid side: L*_FwdAskMargin + L2_FwdBidMargin.
-
getIsAdvised
default java.lang.String getIsAdvised()
true or false to indicate whether the trader gave the client advice
-
getRemarks
default java.lang.String getRemarks()
The clients or trader's comments on a trade - visible to both the Client and the Trader.
-
getTraderRemarks
default java.lang.String getTraderRemarks()
The trader's comments on an trade - visible to only the Trader
-
getStreamingMode
default java.lang.String getStreamingMode()
Indicates whether the rates/margins of this trade were manually provided, 'Manual Mode', 'Streaming Mode'
-
getTraderSpotBidRate
default java.lang.String getTraderSpotBidRate()
This field is included on the rate update that the client wants to trade on, and should be sent back unchanged on the Submit message
-
getTraderSpotAskRate
default java.lang.String getTraderSpotAskRate()
This field is included on the rate update that the client wants to trade on, and should be sent back unchanged on the Submit message
-
getBidPips
@Deprecated default java.lang.String getBidPips()
Deprecated.For swap trades this field is included on the rate update that the client wants to trade on, and should be sent back unchanged on the Submit message. For non-swap trades this field should be not sent.
-
getAskPips
@Deprecated default java.lang.String getAskPips()
Deprecated.For swap trades this field is included on the rate update that the client wants to trade on, and should be sent back unchanged on the Submit message. For non-swap trades this field should be not sent.
-
getLLegById
default ExecutionLegClientFieldSetChild getLLegById(int legId)
- Returns:
- Get the L leg for the given id
-
getLLegById
default ExecutionLegClientFieldSetChild getLLegById(java.lang.String legId)
- Returns:
- Get the L leg for the given id
-
getLLegByIndex
default ExecutionLegClientFieldSetChild getLLegByIndex(int index)
- Returns:
- Get the L leg for the given index
-
getLLegs
java.util.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
-
-