Class ConfirmationQuoteExtractor


  • public class ConfirmationQuoteExtractor
    extends java.lang.Object
    • Constructor Detail

      • 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 Detail

      • getDealtCurrency

        @Nonnull
        public java.lang.String getDealtCurrency()
      • getContraCurrency

        @Nonnull
        public java.lang.String getContraCurrency()
      • getNearAmount

        @Nonnull
        public java.lang.String getNearAmount()
      • getFarAmount

        @Nonnull
        public java.lang.String getFarAmount()
      • getNearContraAmount

        @Nonnull
        public java.lang.String getNearContraAmount()
      • getFarContraAmount

        @Nonnull
        public java.lang.String getFarContraAmount()
      • getSpotRate

        @Nonnull
        public java.lang.String getSpotRate()
      • getNearAllInRate

        @Nonnull
        public java.lang.String getNearAllInRate()
      • getLegAllInRate

        @Nonnull
        public java.lang.String getLegAllInRate​(int legNo)
      • getFarAllInRate

        @Nonnull
        public java.lang.String getFarAllInRate()
      • getNearRawFwdPoints

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

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

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

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

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

        @Nonnull
        public java.lang.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 java.lang.String getNearFixingDate()
      • getNearRiskDate

        @Nullable
        public java.lang.String getNearRiskDate()
      • getNearRiskTenor

        @Nullable
        public java.lang.String getNearRiskTenor()
      • getNearStartDate

        @Nullable
        public java.lang.String getNearStartDate()
      • getNearStartTenor

        @Nullable
        public java.lang.String getNearStartTenor()
      • getNearSpotMidRate

        public java.util.Optional<java.lang.String> getNearSpotMidRate()
      • getFwdMidPoints

        public java.util.Optional<java.lang.String> getFwdMidPoints​(int legId)
      • getAllInMidRate

        public java.util.Optional<java.lang.String> getAllInMidRate​(int legId)
      • getUnderlyingQuoteEvent

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object