Class ConfirmationQuoteExtractor
- java.lang.Object
-
- com.caplin.motif.fx.ret.fxtrading.confirmation.ConfirmationQuoteExtractor
-
public class ConfirmationQuoteExtractor extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ConfirmationQuoteExtractor(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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAccount()
java.util.Optional<java.lang.String>
getAllInMidRate(int legId)
java.lang.String
getContraCurrency()
java.lang.String
getDealtCurrency()
java.lang.String
getFarAllInRate()
java.lang.String
getFarAmount()
com.caplin.motif.fx.trading.BuySell
getFarBuySell()
java.lang.String
getFarContraAmount()
java.lang.String
getFarFwdPoints()
Sometimes referred to as Fwd Pips Format e.g.com.caplin.ret.trapi.fx.execution.Margin
getFarMargin()
ConfirmationQuote
getFarQuote()
java.lang.String
getFarRawFwdPoints()
Sometimes referred to as Fwd Points Format e.g.java.util.Optional<java.lang.String>
getFwdMidPoints(int legId)
java.lang.String
getLegAllInRate(int legNo)
com.caplin.motif.fx.trading.BuySell
getLegBuySell(int legNo)
java.lang.String
getLegRawFwdPoints(int legNo)
Sometimes referred to as Fwd Points Format e.g.java.lang.String
getNearAllInRate()
java.lang.String
getNearAmount()
com.caplin.motif.fx.trading.BuySell
getNearBuySell()
java.lang.String
getNearContraAmount()
java.lang.String
getNearFixingDate()
java.lang.String
getNearFwdPoints()
Sometimes referred to as Fwd Pips Format e.g.com.caplin.ret.trapi.fx.execution.Margin
getNearMargin()
ConfirmationQuote
getNearQuote()
java.lang.String
getNearRawFwdPoints()
Sometimes referred to as Fwd Points Format e.g.java.lang.String
getNearRiskDate()
java.lang.String
getNearRiskTenor()
java.util.Optional<java.lang.String>
getNearSpotMidRate()
java.lang.String
getNearStartDate()
java.lang.String
getNearStartTenor()
ConfirmationQuote
getQuote(int legId)
java.util.List<ConfirmationQuote>
getQuotes()
java.lang.String
getSpotRate()
com.caplin.ret.trapi.fx.execution.QuoteEvent
getUnderlyingQuoteEvent()
java.lang.String
toString()
-
-
-
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)
-
getNearQuote
@Nullable public ConfirmationQuote getNearQuote()
-
getFarQuote
@Nullable public ConfirmationQuote getFarQuote()
-
getQuote
@Nullable public ConfirmationQuote getQuote(int legId)
-
getQuotes
@Nonnull public java.util.List<ConfirmationQuote> getQuotes()
-
getUnderlyingQuoteEvent
public com.caplin.ret.trapi.fx.execution.QuoteEvent getUnderlyingQuoteEvent()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-