Class TreasuryComponent

All Implemented Interfaces:
BondProduct, ComponentMarketParamRef

public class TreasuryComponent
extends BondComponent
TreasuryComponent implements the Functionality behind a Sovereign/Treasury Bond/Bill/Note.



Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • TreasuryComponent

      public TreasuryComponent​(java.lang.String strTreasuryCode) throws java.lang.Exception
      TreasuryComponent Constructor
      Parameters:
      strTreasuryCode - Treasury Code
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • code

      public java.lang.String code()
      Retrieve the Treasury Code
      Returns:
      The Treasury Code
    • calibQuoteSet

      public ProductQuoteSet calibQuoteSet​(LatentStateSpecification[] aLSS)
      Description copied from class: CalibratableComponent
      Generate the Product Specific Calibration Quote Set
      Overrides:
      calibQuoteSet in class BondComponent
      Parameters:
      aLSS - Array of Latent State Specification
      Returns:
      The Product Specific Calibration Quote Set
    • govviePRWC

      Description copied from class: CalibratableComponent
      Generate the Calibratable Linearized Predictor/Response Constraint Weights for the Non-merged Govvie Curve FX Forward Latent State from the Component's Cash Flows. The Constraints here typically correspond to Date/Cash Flow pairs and the corresponding leading PV.
      Overrides:
      govviePRWC in class BondComponent
      Parameters:
      valParams - Valuation Parameters
      pricerParams - Pricer Parameters
      csqs - Component Market Parameters
      vcp - Valuation Customization Parameters
      pqs - Product Quote Set
      Returns:
      The Calibratable Linearized Predictor/Response Constraints (Date/Cash Flow pairs and the corresponding Govvie Forward)