Logo
Reference manual - version qle_version
InterpolatedPillarOnlyZeroCurve< Interpolator > Class Template Reference

Zero rate curve interpolating on pillar dates only, excluding synthetic t=0. More...

#include <qle/termstructures/pillaronlyyieldcurve.hpp>

Inheritance diagram for InterpolatedPillarOnlyZeroCurve< Interpolator >:

Public Member Functions

Constructors
 InterpolatedPillarOnlyZeroCurve (const Date &referenceDate, const std::vector< Date > &dates, const std::vector< Rate > &zeroRates, const DayCounter &dayCounter, const Interpolator &interpolator=Interpolator())
YieldTermStructure interface
Date maxDate () const override

YieldTermStructure implementation

DiscountFactor discountImpl (Time t) const override

Detailed Description

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)