Class ConfirmationQuoteExtractor

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

public class ConfirmationQuoteExtractor extends Object
  • Constructor Details

    • ConfirmationQuoteExtractor

      public ConfirmationQuoteExtractor(@Nonnull com.caplin.ret.trapi.fx.execution.QuoteEvent quote, boolean isBlock, com.caplin.ret.trapi.fx.Side side)
      Extracts all the values for each leg for the quote coming from RET
      Parameters:
      quote - the quote coming from RET
  • Method Details

    • getDealtCurrency

      @Nonnull public String getDealtCurrency()
    • getContraCurrency

      @Nonnull public String getContraCurrency()
    • getNearAmount

      @Nonnull public String getNearAmount()
    • getFarAmount

      @Nonnull public String getFarAmount()
    • getNearContraAmount

      @Nonnull public String getNearContraAmount()
    • getFarContraAmount

      @Nonnull public String getFarContraAmount()
    • getSpotRate

      @Nonnull public String getSpotRate()
    • getNearAllInRate

      @Nonnull public String getNearAllInRate()
    • getLegAllInRate

      @Nonnull public String getLegAllInRate(int legNo)
    • getFarAllInRate

      @Nonnull public String getFarAllInRate()
    • getNearRawFwdPoints

      @Nonnull public String getNearRawFwdPoints()
      Sometimes referred to as Fwd Points Format e.g. 0.00439
    • getFarRawFwdPoints

      @Nonnull public String getFarRawFwdPoints()
      Sometimes referred to as Fwd Points Format e.g. 0.00439
    • getLegRawFwdPoints

      @Nonnull public String getLegRawFwdPoints(int legNo)
      Sometimes referred to as Fwd Points Format e.g. 0.00439
    • getNearFwdPoints

      @Nonnull public String getNearFwdPoints()
      Sometimes referred to as Fwd Pips Format e.g. 4.39
    • getFarFwdPoints

      @Nonnull public String getFarFwdPoints()
      Sometimes referred to as Fwd Pips Format e.g. 4.39
    • getAccount

      @Nonnull public String getAccount()
    • getNearMargin

      @Nullable public com.caplin.ret.trapi.fx.execution.Margin getNearMargin()
    • getFarMargin

      @Nullable public com.caplin.ret.trapi.fx.execution.Margin getFarMargin()
    • getNearBuySell

      @Nullable public com.caplin.motif.fx.trading.BuySell getNearBuySell()
    • getFarBuySell

      @Nullable public com.caplin.motif.fx.trading.BuySell getFarBuySell()
    • getLegBuySell

      @Nullable public com.caplin.motif.fx.trading.BuySell getLegBuySell(int legNo)
    • getNearFixingDate

      @Nullable public String getNearFixingDate()
    • getNearRiskDate

      @Nullable public String getNearRiskDate()
    • getNearRiskTenor

      @Nullable public String getNearRiskTenor()
    • getNearStartDate

      @Nullable public String getNearStartDate()
    • getNearStartTenor

      @Nullable public String getNearStartTenor()
    • getNearSpotMidRate

      public Optional<String> getNearSpotMidRate()
    • getFwdMidPoints

      public Optional<String> getFwdMidPoints(int legId)
    • getAllInMidRate

      public Optional<String> getAllInMidRate(int legId)
    • getNearQuote

      @Nullable public ConfirmationQuote getNearQuote()
    • getFarQuote

      @Nullable public ConfirmationQuote getFarQuote()
    • getQuote

      @Nullable public ConfirmationQuote getQuote(int legId)
    • getQuotes

      @Nonnull public List<ConfirmationQuote> getQuotes()
    • getUnderlyingQuoteEvent

      public com.caplin.ret.trapi.fx.execution.QuoteEvent getUnderlyingQuoteEvent()
    • toString

      public String toString()
      Overrides:
      toString in class Object