Class ConfirmationQuote
- java.lang.Object
-
- com.caplin.motif.fx.ret.fxtrading.confirmation.ConfirmationQuote
-
public class ConfirmationQuote extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ConfirmationQuote(boolean isBlock, com.caplin.ret.trapi.fx.Side overallNetSide, com.caplin.ret.trapi.fx.execution.QuoteEvent quote, com.caplin.ret.trapi.fx.execution.LegRequirementQuote trAPILeg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAccount()
java.lang.String
getAllInMidRate()
java.lang.String
getAllInRate()
java.lang.String
getAllInRateDPS()
java.util.List<java.lang.String>
getBlockRemarks()
java.lang.String
getContraAmount()
java.lang.String
getContraCurrency()
java.lang.String
getDealtAmount()
java.lang.String
getDealtCurrency()
java.lang.String
getFixingDate()
java.lang.String
getForwardMidPoints()
java.lang.String
getFwdPoints()
Format e.g.com.caplin.ret.trapi.fx.execution.Margin
getMargin()
java.lang.String
getRawFwdPoints()
Format e.g.java.lang.String
getRiskDate()
java.lang.String
getRiskTenor()
java.lang.String
getSettlementDate()
com.caplin.ret.trapi.fx.Side
getSide()
java.lang.String
getSpotMidRate()
java.lang.String
getSpotRate()
java.lang.String
getStartDate()
java.lang.String
getStartTenor()
com.caplin.ret.trapi.fx.Tenor
getTenor()
com.caplin.motif.fx.trading.BuySell
getTenorNetSide()
boolean
isInputLegOnLegOverrallSide()
boolean
isLegOverrAllIsOnSameSideAsOverall()
boolean
isPositiveProfit()
Should only be used with block trade profitsjava.lang.String
toString()
-
-
-
Method Detail
-
getTenor
public com.caplin.ret.trapi.fx.Tenor getTenor()
-
getBlockRemarks
public java.util.List<java.lang.String> getBlockRemarks()
-
getAccount
public java.lang.String getAccount()
-
getDealtAmount
@Nonnull public java.lang.String getDealtAmount()
-
getDealtCurrency
@Nonnull public java.lang.String getDealtCurrency()
-
getContraCurrency
public java.lang.String getContraCurrency()
-
getSpotRate
@Nonnull public java.lang.String getSpotRate()
-
getContraAmount
@Nonnull public java.lang.String getContraAmount()
-
getAllInRate
@Nonnull public java.lang.String getAllInRate()
-
getAllInRateDPS
@Nonnull public java.lang.String getAllInRateDPS()
-
getRawFwdPoints
@Nonnull public java.lang.String getRawFwdPoints()
Format e.g. 0.00439
-
getFwdPoints
@Nonnull public java.lang.String getFwdPoints()
Format e.g. 4.39
-
getMargin
@Nullable public com.caplin.ret.trapi.fx.execution.Margin getMargin()
-
getSide
public com.caplin.ret.trapi.fx.Side getSide()
-
getFixingDate
public java.lang.String getFixingDate()
-
getRiskDate
public java.lang.String getRiskDate()
-
getRiskTenor
public java.lang.String getRiskTenor()
-
getStartDate
public java.lang.String getStartDate()
-
getStartTenor
public java.lang.String getStartTenor()
-
getSpotMidRate
public java.lang.String getSpotMidRate()
-
getForwardMidPoints
public java.lang.String getForwardMidPoints()
-
getAllInMidRate
public java.lang.String getAllInMidRate()
-
getSettlementDate
public java.lang.String getSettlementDate()
-
isPositiveProfit
public boolean isPositiveProfit()
Should only be used with block trade profits
-
isLegOverrAllIsOnSameSideAsOverall
public boolean isLegOverrAllIsOnSameSideAsOverall()
-
isInputLegOnLegOverrallSide
public boolean isInputLegOnLegOverrallSide()
-
getTenorNetSide
public com.caplin.motif.fx.trading.BuySell getTenorNetSide()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-