Class RFSConfirmationFactory

java.lang.Object
com.caplin.motif.fx.ret.fxtrading.confirmation.RFSConfirmationFactory

public class RFSConfirmationFactory extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    RFSConfirmationFactory(UnitConverter unitConverter, Tobo tobo, com.caplin.ret.trapi.common.InjectableProfit injectableProfit)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    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)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)