Class RFSConfirmationFactory
java.lang.Object
com.caplin.motif.fx.ret.fxtrading.confirmation.RFSConfirmationFactory
-
Constructor Summary
ConstructorDescriptionRFSConfirmationFactory
(UnitConverter unitConverter, Tobo tobo, com.caplin.ret.trapi.common.InjectableProfit injectableProfit) -
Method Summary
Modifier and TypeMethodDescriptioncom.caplin.generated.motif.fx.trading.rfs.events.server.TradeConfirmationTradeEvent
createTradeConfirmation
(String tradeId, com.caplin.ret.trapi.fx.execution.QuoteEvent quote, com.caplin.generated.motif.fx.trading.rfs.RFSTrade trade, ConfirmationQuoteExtractor quoteExtractor, boolean isSales) static com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.SalesCommonTradeConfirmationFields
getSalesCommonFields
(String tradeId, com.caplin.ret.trapi.fx.execution.QuoteEvent quote, boolean isSwap, boolean isBlock, ConfirmationQuoteExtractor quoteExtractor, com.caplin.motif.fx.trading.BuySell netBuySell, com.caplin.ret.trapi.common.InjectableProfit injectableProfit)
-
Constructor Details
-
RFSConfirmationFactory
public RFSConfirmationFactory(UnitConverter unitConverter, Tobo tobo, com.caplin.ret.trapi.common.InjectableProfit injectableProfit)
-
-
Method Details
-
createTradeConfirmation
public com.caplin.generated.motif.fx.trading.rfs.events.server.TradeConfirmationTradeEvent createTradeConfirmation(String tradeId, com.caplin.ret.trapi.fx.execution.QuoteEvent quote, com.caplin.generated.motif.fx.trading.rfs.RFSTrade trade, ConfirmationQuoteExtractor quoteExtractor, boolean isSales) throws Exception - Throws:
Exception
-
getSalesCommonFields
public static com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.SalesCommonTradeConfirmationFields getSalesCommonFields(String tradeId, com.caplin.ret.trapi.fx.execution.QuoteEvent quote, boolean isSwap, boolean isBlock, ConfirmationQuoteExtractor quoteExtractor, com.caplin.motif.fx.trading.BuySell netBuySell, com.caplin.ret.trapi.common.InjectableProfit injectableProfit)
-