multi section default ts More...
#include <qle/termstructures/multisectiondefaultcurve.hpp>
Public Member Functions | |
MultiSectionDefaultCurve (const std::vector< Handle< DefaultProbabilityTermStructure > > &sourceCurves, const std::vector< Handle< Quote > > recoveryRates, const std::vector< Date > &switchDates, const Handle< Quote > recoveryRate, const DayCounter &dayCounter, const bool extrapolate) | |
Date | maxDate () const override |
const Date & | referenceDate () const override |
Protected Member Functions | |
Real | survivalProbabilityImpl (Time t) const override |
void | update () override |
Protected Attributes | |
const std::vector< Handle< DefaultProbabilityTermStructure > > | sourceCurves_ |
const std::vector< Handle< Quote > > | recoveryRates_ |
const std::vector< Date > | switchDates_ |
const Handle< Quote > | recoveryRate_ |
std::vector< Time > | switchTimes_ |
multi section default ts
the instantaneous hazard rate is defined by the ith source curve for dates before the ith switch date and after the (i-1)th switch date; all source curves must be consistently floating or fixed and have the same reference date always; the day counter of all source curves should coincide with the dc of this curve
Definition at line 37 of file multisectiondefaultcurve.hpp.
MultiSectionDefaultCurve | ( | const std::vector< Handle< DefaultProbabilityTermStructure > > & | sourceCurves, |
const std::vector< Handle< Quote > > | recoveryRates, | ||
const std::vector< Date > & | switchDates, | ||
const Handle< Quote > | recoveryRate, | ||
const DayCounter & | dayCounter, | ||
const bool | extrapolate | ||
) |
Definition at line 39 of file multisectiondefaultcurve.hpp.
|
override |
Definition at line 65 of file multisectiondefaultcurve.hpp.
|
override |
Definition at line 66 of file multisectiondefaultcurve.hpp.
|
overrideprotected |
Definition at line 69 of file multisectiondefaultcurve.hpp.
|
overrideprotected |
Definition at line 90 of file multisectiondefaultcurve.hpp.
|
protected |
Definition at line 95 of file multisectiondefaultcurve.hpp.
|
protected |
Definition at line 96 of file multisectiondefaultcurve.hpp.
|
protected |
Definition at line 97 of file multisectiondefaultcurve.hpp.
|
protected |
Definition at line 98 of file multisectiondefaultcurve.hpp.
|
mutableprotected |
Definition at line 99 of file multisectiondefaultcurve.hpp.