Class SalesQuoteUtility

java.lang.Object
com.caplin.motif.fx.ret.fxtrading.extension.quote.SalesQuoteUtility

public class SalesQuoteUtility extends Object
Utility methods for calculating rates for Sales quotes.
  • Constructor Details

    • SalesQuoteUtility

      public SalesQuoteUtility()
  • Method Details

    • createSwapBidMargin

      public String createSwapBidMargin(com.caplin.ret.trapi.fx.execution.LegQuote nearLegQuote, com.caplin.ret.trapi.fx.execution.LegQuote farLegQuote)
    • createSwapAskMargin

      public String createSwapAskMargin(com.caplin.ret.trapi.fx.execution.LegQuote nearLegQuote, com.caplin.ret.trapi.fx.execution.LegQuote farLegQuote)
    • createTraderBidSpotRate

      public String createTraderBidSpotRate(com.caplin.ret.trapi.fx.execution.Quote bidQuote, boolean negateSpotMargin)
    • createTraderBidSpotRateBD

      public BigDecimal createTraderBidSpotRateBD(com.caplin.ret.trapi.fx.execution.Quote quote, boolean negateSpotMargin)
    • createTraderAskSpotRate

      public String createTraderAskSpotRate(com.caplin.ret.trapi.fx.execution.Quote askQuote, boolean negateSpotMargin)
    • createTraderAskSpotRateBD

      public BigDecimal createTraderAskSpotRateBD(com.caplin.ret.trapi.fx.execution.Quote quote, boolean negateSpotMargin)
    • createTraderBidAllInRate

      public String createTraderBidAllInRate(com.caplin.ret.trapi.fx.execution.Quote bidQuote, boolean negateSpotMargin)
    • createTraderBidAllInRateBD

      public BigDecimal createTraderBidAllInRateBD(com.caplin.ret.trapi.fx.execution.Quote quote, boolean negateSpotMargin)
    • createTraderAskAllInRate

      public String createTraderAskAllInRate(com.caplin.ret.trapi.fx.execution.Quote askQuote, boolean negateSpotMargin)
    • createTraderAskAllInRateBD

      public BigDecimal createTraderAskAllInRateBD(com.caplin.ret.trapi.fx.execution.Quote quote, boolean negateSpotMargin)
    • createTraderBidPoints

      public String createTraderBidPoints(com.caplin.ret.trapi.fx.execution.Quote quote)
    • createTraderBidPointsBD

      public BigDecimal createTraderBidPointsBD(com.caplin.ret.trapi.fx.execution.Quote quote)
    • createTraderBidRawPoints

      public String createTraderBidRawPoints(com.caplin.ret.trapi.fx.execution.Quote quote)
    • createTraderBidRawPointsBD

      public BigDecimal createTraderBidRawPointsBD(com.caplin.ret.trapi.fx.execution.Quote quote)
    • createTraderAskPoints

      public String createTraderAskPoints(com.caplin.ret.trapi.fx.execution.Quote quote)
    • createTraderAskPointsBD

      public BigDecimal createTraderAskPointsBD(com.caplin.ret.trapi.fx.execution.Quote quote)
    • createTraderAskRawPoints

      public String createTraderAskRawPoints(com.caplin.ret.trapi.fx.execution.Quote quote)
    • createTraderAskRawPointsBD

      public BigDecimal createTraderAskRawPointsBD(com.caplin.ret.trapi.fx.execution.Quote quote)
    • getAskQuote

      public com.caplin.ret.trapi.fx.execution.Quote getAskQuote(com.caplin.motif.fx.trading.PricingSide pricingSide, com.caplin.ret.trapi.fx.execution.LegQuote legQuote)
    • getBidQuote

      public com.caplin.ret.trapi.fx.execution.Quote getBidQuote(com.caplin.motif.fx.trading.PricingSide pricingSide, com.caplin.ret.trapi.fx.execution.LegQuote legQuote)