Class SalesQuoteUtility
java.lang.Object
com.caplin.motif.fx.ret.fxtrading.extension.quote.SalesQuoteUtility
Utility methods for calculating rates for Sales quotes.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateSwapAskMargin
(com.caplin.ret.trapi.fx.execution.LegQuote nearLegQuote, com.caplin.ret.trapi.fx.execution.LegQuote farLegQuote) createSwapBidMargin
(com.caplin.ret.trapi.fx.execution.LegQuote nearLegQuote, com.caplin.ret.trapi.fx.execution.LegQuote farLegQuote) createTraderAskAllInRate
(com.caplin.ret.trapi.fx.execution.Quote askQuote, boolean negateSpotMargin) createTraderAskAllInRateBD
(com.caplin.ret.trapi.fx.execution.Quote quote, boolean negateSpotMargin) createTraderAskPoints
(com.caplin.ret.trapi.fx.execution.Quote quote) createTraderAskPointsBD
(com.caplin.ret.trapi.fx.execution.Quote quote) createTraderAskRawPoints
(com.caplin.ret.trapi.fx.execution.Quote quote) createTraderAskRawPointsBD
(com.caplin.ret.trapi.fx.execution.Quote quote) createTraderAskSpotRate
(com.caplin.ret.trapi.fx.execution.Quote askQuote, boolean negateSpotMargin) createTraderAskSpotRateBD
(com.caplin.ret.trapi.fx.execution.Quote quote, boolean negateSpotMargin) createTraderBidAllInRate
(com.caplin.ret.trapi.fx.execution.Quote bidQuote, boolean negateSpotMargin) createTraderBidAllInRateBD
(com.caplin.ret.trapi.fx.execution.Quote quote, boolean negateSpotMargin) createTraderBidPoints
(com.caplin.ret.trapi.fx.execution.Quote quote) createTraderBidPointsBD
(com.caplin.ret.trapi.fx.execution.Quote quote) createTraderBidRawPoints
(com.caplin.ret.trapi.fx.execution.Quote quote) createTraderBidRawPointsBD
(com.caplin.ret.trapi.fx.execution.Quote quote) createTraderBidSpotRate
(com.caplin.ret.trapi.fx.execution.Quote bidQuote, boolean negateSpotMargin) createTraderBidSpotRateBD
(com.caplin.ret.trapi.fx.execution.Quote quote, boolean negateSpotMargin) com.caplin.ret.trapi.fx.execution.Quote
getAskQuote
(com.caplin.motif.fx.trading.PricingSide pricingSide, com.caplin.ret.trapi.fx.execution.LegQuote legQuote) com.caplin.ret.trapi.fx.execution.Quote
getBidQuote
(com.caplin.motif.fx.trading.PricingSide pricingSide, com.caplin.ret.trapi.fx.execution.LegQuote legQuote)
-
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
-
createTraderBidPointsBD
-
createTraderBidRawPoints
-
createTraderBidRawPointsBD
-
createTraderAskPoints
-
createTraderAskPointsBD
-
createTraderAskRawPoints
-
createTraderAskRawPointsBD
-
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)
-