java.lang.Object
com.caplin.motif.fx.ret.fxtrading.submission.rfs.events.RFSHandler
com.caplin.motif.fx.ret.fxtrading.submission.rfs.events.SwapHandler
All Implemented Interfaces:
TradeTypeHandler<com.caplin.generated.motif.fx.trading.rfs.RFSTrade>

public class SwapHandler extends RFSHandler
  • Constructor Details

  • Method Details

    • isTwoWay

      public boolean isTwoWay(com.caplin.motif.fx.trading.PricingSide pricingSide)
    • getTradeType

      public com.caplin.ret.trapi.fx.FXTradeType getTradeType()
    • getLegCount

      public int getLegCount()
    • getQuote

      public com.caplin.motif.datasource.Message getQuote(com.caplin.ret.trapi.fx.execution.QuoteEvent rfsQuote, com.caplin.motif.fx.trading.PricingSide pricingSide, ProfitConversionRate profitConversionRate) throws QuoteCreationException
      Throws:
      QuoteCreationException
    • getLegExecutionSides

      public List<com.caplin.ret.trapi.fx.Side> getLegExecutionSides(List<com.caplin.motif.fx.trading.BuySell> directions)
    • setupTradeLeg

      public void setupTradeLeg(com.caplin.ret.trapi.fx.FXLeg leg, String legNum)