Package org.drip.product.calib
Class FloatFloatQuoteSet
java.lang.Object
org.drip.product.calib.ProductQuoteSet
org.drip.product.calib.FloatFloatQuoteSet
public class FloatFloatQuoteSet extends ProductQuoteSet
FloatFloatQuoteSet extends the ProductQuoteSet by implementing the Calibration Parameters for the
Float-Float Swap Component. Currently it exposes the PV, the Reference Basis, and the Derived Basis Quote
Fields.
- Module = Product Core Module
- Library = Fixed Income Analytics
- Project = Product Components/Baskets for Credit, FRA, FX, Govvie, Rates, and Option AssetClasses
- Package = Curve/Surface Calibration Quote Sets
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description FloatFloatQuoteSet(LatentStateSpecification[] aLSS)
FloatFloatQuoteSet Constructor -
Method Summary
Modifier and Type Method Description boolean
containsDerivedParBasisSpread()
Indicate if the Derived Par Basis Spread Field existsboolean
containsPV()
Indicate if the PV Field existsboolean
containsReferenceParBasisSpread()
Indicate if the Reference Par Basis Spread Field existsdouble
derivedParBasisSpread()
Retrieve the Derived Par Basis Spreaddouble
pv()
Retrieve the PVdouble
referenceParBasisSpread()
Retrieve the Reference Par Basis Spreadboolean
setDerivedParBasisSpread(double dblDerivedParBasisSpread)
Set the Derived Par Basis Spreadboolean
setPV(double dblPV)
Set the PVboolean
setReferenceParBasisSpread(double dblReferenceParBasisSpread)
Set the Reference Par Basis SpreadMethods inherited from class org.drip.product.calib.ProductQuoteSet
contains, contains, containsLatentStateQuantificationMetric, containsLatentStateType, fields, forwardLabel, fundingLabel, fxLabel, get, govvieLabel, lss, set, volatilityLabel
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FloatFloatQuoteSet
FloatFloatQuoteSet Constructor- Parameters:
aLSS
- Array of Latent State Specification- Throws:
java.lang.Exception
- Thrown if Inputs are invalid
-
-
Method Details
-
setPV
public boolean setPV(double dblPV)Set the PV- Parameters:
dblPV
- The PV- Returns:
- TRUE - PV successfully set
-
containsPV
public boolean containsPV()Indicate if the PV Field exists- Returns:
- TRUE - PV Field Exists
-
pv
public double pv() throws java.lang.ExceptionRetrieve the PV- Returns:
- The PV
- Throws:
java.lang.Exception
- Thrown if the PV Field does not exist
-
setDerivedParBasisSpread
public boolean setDerivedParBasisSpread(double dblDerivedParBasisSpread)Set the Derived Par Basis Spread- Parameters:
dblDerivedParBasisSpread
- The Derived Par Basis Spread- Returns:
- TRUE - The Derived Par Basis Spread successfully set
-
containsDerivedParBasisSpread
public boolean containsDerivedParBasisSpread()Indicate if the Derived Par Basis Spread Field exists- Returns:
- TRUE - The Derived Par Basis Spread Field Exists
-
derivedParBasisSpread
public double derivedParBasisSpread() throws java.lang.ExceptionRetrieve the Derived Par Basis Spread- Returns:
- The Derived Par Basis Spread
- Throws:
java.lang.Exception
- Thrown if the Derived Par Basis Spread Field does not exist
-
setReferenceParBasisSpread
public boolean setReferenceParBasisSpread(double dblReferenceParBasisSpread)Set the Reference Par Basis Spread- Parameters:
dblReferenceParBasisSpread
- The Reference Par Basis Spread- Returns:
- TRUE - The Reference Par Basis Spread successfully set
-
containsReferenceParBasisSpread
public boolean containsReferenceParBasisSpread()Indicate if the Reference Par Basis Spread Field exists- Returns:
- TRUE - The Reference Par Basis Spread Field Exists
-
referenceParBasisSpread
public double referenceParBasisSpread() throws java.lang.ExceptionRetrieve the Reference Par Basis Spread- Returns:
- The Reference Par Basis Spread
- Throws:
java.lang.Exception
- Thrown if the Reference Par Basis Spread Field does not exist
-