public final class FastCreditCurveCalibrator extends IsdaCompliantCreditCurveCalibrator
This is a fast bootstrapper for the credit curve that is consistent with ISDA in that it will produce the same curve from the same inputs (up to numerical round-off).
The CDS pricer is internally implemented for fast calibration.
| Constructor and Description |
|---|
FastCreditCurveCalibrator(AccrualOnDefaultFormula formula)
Constructs a credit curve builder with the accrual-on-default formula specified.
|
FastCreditCurveCalibrator(AccrualOnDefaultFormula formula,
ArbitrageHandling arbHandling)
Constructs a credit curve builder with accrual-on-default formula and arbitrage handing specified.
|
| Modifier and Type | Method and Description |
|---|---|
NodalCurve |
calibrate(List<ResolvedCdsTrade> calibrationCDSs,
DoubleArray flactionalSpreads,
DoubleArray pointsUpfront,
CurveName name,
LocalDate valuationDate,
CreditDiscountFactors discountFactors,
RecoveryRates recoveryRates,
ReferenceData refData)
Calibrate the ISDA compliant credit curve to points upfront and fractional spread.
|
static FastCreditCurveCalibrator |
standard()
Obtains the standard calibrator.
|
calibrate, getAccrualOnDefaultFormula, getArbitrageHandling, getTradePricerpublic FastCreditCurveCalibrator(AccrualOnDefaultFormula formula)
The arbitrage handling 'ignore' is used.
formula - the accrual-on-default formulapublic FastCreditCurveCalibrator(AccrualOnDefaultFormula formula, ArbitrageHandling arbHandling)
formula - the accrual on default formulaearbHandling - the arbitrage handlingpublic static FastCreditCurveCalibrator standard()
The original ISDA accrual-on-default formula (version 1.8.2 and lower) is used.
public NodalCurve calibrate(List<ResolvedCdsTrade> calibrationCDSs, DoubleArray flactionalSpreads, DoubleArray pointsUpfront, CurveName name, LocalDate valuationDate, CreditDiscountFactors discountFactors, RecoveryRates recoveryRates, ReferenceData refData)
IsdaCompliantCreditCurveCalibratorcalibrate in class IsdaCompliantCreditCurveCalibratorcalibrationCDSs - the calibration CDSflactionalSpreads - the fractional spreadspointsUpfront - the points upfront valuesname - the curve namevaluationDate - the valuation datediscountFactors - the discount factorsrecoveryRates - the recovery ratesrefData - the reference dataCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.