public abstract class CreditDefaultSwap extends CreditComponent
Constructor and Description |
---|
CreditDefaultSwap() |
Modifier and Type | Method and Description |
---|---|
abstract double |
calibFlatSpread(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp)
Calibrate the CDS's flat spread from the calculated up-front points
|
abstract double |
resetCoupon(double dblCoupon)
Reset the CDS's coupon
|
abstract CaseInsensitiveTreeMap<java.lang.Double> |
valueFromQuotedSpread(ValuationParams valParams,
CreditPricerParams pricerParams,
CurveSurfaceQuoteContainer csqs,
ValuationCustomizationParams vcp,
double dblFixCoupon,
double dblQuotedSpread)
Value the CDS from the Quoted Spread
|
creditValuationParams, lossFlow, lossFlow, recovery, recovery
calibMeasures, calibPRWC, calibQuoteSet, forwardPRWC, fundingForwardPRWC, fundingPRWC, fxPRWC, govviePRWC, jackDDirtyPVDManifestMeasure, manifestMeasureDFMicroJack, primaryCode, secondaryCode, setPrimaryCode, volatilityPRWC
cashSettleParams, couponMetrics, couponPeriods, customScenarioMeasures, effectiveDate, firstCouponDate, freq, initialNotional, maturityDate, measureNames, measures, measureValue, notional, notional, pv, tenor, value
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
couponCurrency, creditLabel, forwardLabel, fundingLabel, fxLabel, govvieLabel, name, payCurrency, principalCurrency, volatilityLabel
public abstract double resetCoupon(double dblCoupon) throws java.lang.Exception
dblCoupon
- The new Couponjava.lang.Exception
- Thrown if the coupon cannot be resetpublic abstract double calibFlatSpread(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp) throws java.lang.Exception
valParams
- ValuationParamspricerParams
- PricerParamscsqs
- ComponentMarketParamsvcp
- Valuation Customization Parametersjava.lang.Exception
- Thrown if cannot calibratepublic abstract CaseInsensitiveTreeMap<java.lang.Double> valueFromQuotedSpread(ValuationParams valParams, CreditPricerParams pricerParams, CurveSurfaceQuoteContainer csqs, ValuationCustomizationParams vcp, double dblFixCoupon, double dblQuotedSpread)
valParams
- ValuationParamspricerParams
- PricerParamscsqs
- ComponentMarketParamsvcp
- Valuation Customization ParametersdblFixCoupon
- Fix CoupondblQuotedSpread
- Quoted Spread