Class CDSComponent.SpreadCalibrator

java.lang.Object
org.drip.product.credit.CDSComponent.SpreadCalibrator
Enclosing class:
CDSComponent

public class CDSComponent.SpreadCalibrator
extends java.lang.Object
Implementation of the CDS spread calibrator
Author:
Lakshmi Krishnamurthy
  • Field Details

    • CALIBRATION_TYPE_FLAT_INSTRUMENT_NODE

      public static final int CALIBRATION_TYPE_FLAT_INSTRUMENT_NODE
      Flat Instrument Node Calibration Type
      See Also:
      Constant Field Values
    • CALIBRATION_TYPE_FLAT_CURVE_NODES

      public static final int CALIBRATION_TYPE_FLAT_CURVE_NODES
      Flat Curve Node Calibration Type
      See Also:
      Constant Field Values
    • CALIBRATION_TYPE_NODE_PARALLEL_BUMP

      public static final int CALIBRATION_TYPE_NODE_PARALLEL_BUMP
      Parallel Node Calibration Type
      See Also:
      Constant Field Values
  • Constructor Details

    • SpreadCalibrator

      public SpreadCalibrator​(CreditDefaultSwap cds, int iCalibType) throws java.lang.Exception
      Constructor: Construct the SpreadCalibrator from the CDS parent, and whether the calibration is off of a single node
      Parameters:
      cds - CDS parent
      iCalibType - Calibration type indicating whether the calibration is PARALLEL, FLAT SINGLE NODE, or FLAT TERM
      Throws:
      java.lang.Exception - Thrown if inputs are invalid
  • Method Details