Zero rate curve interpolating on pillar dates only, excluding synthetic t=0.
More...
#include <qle/termstructures/pillaronlyyieldcurve.hpp>
|
|
| InterpolatedPillarOnlyZeroCurve (const Date &referenceDate, const std::vector< Date > &dates, const std::vector< Rate > &zeroRates, const DayCounter &dayCounter, const Interpolator &interpolator=Interpolator()) |
|
Date | maxDate () const override |
|
|
DiscountFactor | discountImpl (Time t) const override |
template<class Interpolator>
class QuantExt::InterpolatedPillarOnlyZeroCurve< Interpolator >
Zero rate curve interpolating on pillar dates only, excluding synthetic t=0.
This curve interpolates continuously compounded zero rates on actual market pillar dates only, excluding the synthetic time-zero point.
Key features:
- At t=0: Returns DF(0) = 1.0 by definition
- Left extrapolation (0 < t < t₁): Flat zero rate from first pillar
- Interpolation (t₁ ≤ t ≤ tₙ): Uses provided interpolator on pillar zero rates
- Right extrapolation (t > tₙ): Flat zero rate from last pillar
- Discount factors computed as: DF(t) = exp(-z(t) * t)