Class RFSConfirmationFactory
- java.lang.Object
-
- com.caplin.motif.fx.ret.fxtrading.confirmation.RFSConfirmationFactory
-
public class RFSConfirmationFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RFSConfirmationFactory(UnitConverter unitConverter, Tobo tobo, com.caplin.ret.trapi.common.InjectableProfit injectableProfit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.caplin.generated.motif.fx.trading.rfs.events.server.TradeConfirmationTradeEvent
createTradeConfirmation(java.lang.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(java.lang.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 Detail
-
RFSConfirmationFactory
public RFSConfirmationFactory(UnitConverter unitConverter, Tobo tobo, com.caplin.ret.trapi.common.InjectableProfit injectableProfit)
-
-
Method Detail
-
createTradeConfirmation
public com.caplin.generated.motif.fx.trading.rfs.events.server.TradeConfirmationTradeEvent createTradeConfirmation(java.lang.String tradeId, com.caplin.ret.trapi.fx.execution.QuoteEvent quote, com.caplin.generated.motif.fx.trading.rfs.RFSTrade trade, ConfirmationQuoteExtractor quoteExtractor, boolean isSales) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getSalesCommonFields
public static com.caplin.generated.motif.fx.tradeconfirmation.TradeConfPartsDef.SalesCommonTradeConfirmationFields getSalesCommonFields(java.lang.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)
-
-