Class CompositePeriodQuoteSet

java.lang.Object
org.drip.product.calib.ProductQuoteSet
org.drip.product.calib.CompositePeriodQuoteSet

public class CompositePeriodQuoteSet
extends ProductQuoteSet
CompositePeriodQuoteSet implements the composite period's calibration quote set functionality.



Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • CompositePeriodQuoteSet

      public CompositePeriodQuoteSet​(LatentStateSpecification[] aLSS) throws java.lang.Exception
      CompositePeriodQuoteSet constructor
      Parameters:
      aLSS - Array of Latent State Specification
      Throws:
      java.lang.Exception - Thrown if inputs are invalid
  • Method Details

    • setBaseRate

      public boolean setBaseRate​(double dblBaseRate)
      Set the Base Rate
      Parameters:
      dblBaseRate - The Base Rate
      Returns:
      TRUE - Base Rate successfully set
    • containsBaseRate

      public boolean containsBaseRate()
      Indicate if the Base Rate Field exists
      Returns:
      TRUE - Base Rate Field Exists
    • baseRate

      public double baseRate() throws java.lang.Exception
      Get the Period Base Coupon Rate
      Returns:
      The Period Base Coupon Rate
      Throws:
      java.lang.Exception - Thrown if the Base Rate Field does not exist
    • setBasis

      public boolean setBasis​(double dblBasis)
      Set the Basis
      Parameters:
      dblBasis - The Basis
      Returns:
      TRUE - Basis successfully set
    • containsBasis

      public boolean containsBasis()
      Indicate if the Basis Field exists
      Returns:
      TRUE - Basis Field Exists
    • basis

      public double basis() throws java.lang.Exception
      Get the Period Coupon Basis
      Returns:
      The Period Coupon Basis
      Throws:
      java.lang.Exception - Thrown if the Basis Field does not exist