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.



Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • FloatFloatQuoteSet

      public FloatFloatQuoteSet​(LatentStateSpecification[] aLSS) throws java.lang.Exception
      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.Exception
      Retrieve 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.Exception
      Retrieve 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.Exception
      Retrieve 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