Class TreasuryBondQuoteSet

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

public class TreasuryBondQuoteSet
extends ProductQuoteSet
TreasuryBondQuoteSet extends the ProductQuoteSet by implementing the Calibration Parameters for the Treasury Bond Component. Currently it exposes the Yield.



Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • TreasuryBondQuoteSet

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

    • setYield

      public boolean setYield​(double dblYield)
      Set the Yield
      Parameters:
      dblYield - The Yield
      Returns:
      TRUE - The Yield successfully set
    • containsYield

      public boolean containsYield()
      Indicate if the Yield Field exists
      Returns:
      TRUE - Yield Field Exists
    • yield

      public double yield() throws java.lang.Exception
      Retrieve the Yield
      Returns:
      Yield
      Throws:
      java.lang.Exception - Thrown if the Yield Field does not exist