Class CDSComponent

All Implemented Interfaces:
ComponentMarketParamRef

public class CDSComponent
extends CreditDefaultSwap
CDSComponent implements the credit default swap product contract details. It exposes the following functionality:

  • Methods to extract effective date, maturity date, coupon, coupon day count, coupon frequency, contingent credit, currency, basket notional, credit valuation parameters, and optionally the outstanding notional schedule.
  • Methods to compute the Jacobians to/from quote-to-latent state/manifest measures
  • Serialization into and de-serialization out of byte arrays
  • CDS specific methods such as such loss metric/Jacobian estimation, quote flat spread calibration etc:




Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • CDSComponent

      public CDSComponent​(int iEffectiveDate, int iMaturityDate, double dblCoupon, int iFreq, java.lang.String strCouponDC, java.lang.String strAccrualDC, java.lang.String strFloatingRateIndex, boolean bConvCDS, DateAdjustParams dapEffective, DateAdjustParams dapMaturity, DateAdjustParams dapPeriodStart, DateAdjustParams dapPeriodEnd, DateAdjustParams dapAccrualStart, DateAdjustParams dapAccrualEnd, DateAdjustParams dapPay, DateAdjustParams dapReset, Array2D notlSchedule, double dblNotional, java.lang.String strCouponCurrency, CreditSetting crValParams, java.lang.String strCalendar) throws java.lang.Exception
      CDSComponent constructor: Most generic CDS creation functionality
      Parameters:
      iEffectiveDate - Effective Date
      iMaturityDate - Maturity Date
      dblCoupon - Coupon
      iFreq - Frequency
      strCouponDC - Coupon DC
      strAccrualDC - Accrual DC
      strFloatingRateIndex - Floating Rate Index
      bConvCDS - Is CDS Conventional
      dapEffective - Effective DAP
      dapMaturity - Maturity DAP
      dapPeriodStart - Period Start DAP
      dapPeriodEnd - Period End DAP
      dapAccrualStart - Accrual Start DAP
      dapAccrualEnd - Accrual End DAP
      dapPay - Pay DAP
      dapReset - Reset DAP
      notlSchedule - Notional Schedule
      dblNotional - Notional Amount
      strCouponCurrency - Coupon Currency
      crValParams - Credit Valuation Parameters
      strCalendar - Calendar
      Throws:
      java.lang.Exception - Thrown if Inputs are Invalid
  • Method Details