QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
base pricer for capped/floored CPI coupons N.B. vol-dependent parts are a TODO More...
#include <cpicouponpricer.hpp>
InflationCouponPricer interface | |
Handle< CPIVolatilitySurface > | capletVol_ |
Handle< YieldTermStructure > | nominalTermStructure_ |
const CPICoupon * | coupon_ |
Real | gearing_ |
Spread | spread_ |
Real | discount_ |
Real | swapletPrice () const override |
Rate | swapletRate () const override |
Real | capletPrice (Rate effectiveCap) const override |
Rate | capletRate (Rate effectiveCap) const override |
Real | floorletPrice (Rate effectiveFloor) const override |
Rate | floorletRate (Rate effectiveFloor) const override |
void | initialize (const InflationCoupon &) override |
virtual Rate | accruedRate (Date settlementDate) const |
virtual Real | optionletPrice (Option::Type optionType, Real effStrike) const |
virtual Real | optionletRate (Option::Type optionType, Real effStrike) const |
virtual Real | optionletPriceImp (Option::Type, Real strike, Real forward, Real stdDev) const |
virtual Rate | adjustedFixing (Rate fixing=Null< Rate >()) const |
Additional Inherited Members | |
Public Types inherited from Observer | |
typedef set_type::iterator | iterator |
Protected Attributes inherited from InflationCouponPricer | |
Date | paymentDate_ |
base pricer for capped/floored CPI coupons N.B. vol-dependent parts are a TODO
Definition at line 39 of file cpicouponpricer.hpp.
|
explicit |
|
explicit |
|
overridedefault |
|
virtual |
|
virtual |
Definition at line 54 of file cpicouponpricer.hpp.
|
virtual |
|
overridevirtual |
Implements InflationCouponPricer.
Definition at line 146 of file cpicouponpricer.cpp.
|
overridevirtual |
Implements InflationCouponPricer.
Definition at line 152 of file cpicouponpricer.cpp.
Implements InflationCouponPricer.
Definition at line 55 of file cpicouponpricer.cpp.
Implements InflationCouponPricer.
Definition at line 65 of file cpicouponpricer.cpp.
Implements InflationCouponPricer.
Definition at line 50 of file cpicouponpricer.cpp.
Implements InflationCouponPricer.
Definition at line 61 of file cpicouponpricer.cpp.
|
overridevirtual |
Implements InflationCouponPricer.
Definition at line 124 of file cpicouponpricer.cpp.
|
protectedvirtual |
Definition at line 78 of file cpicouponpricer.cpp.
|
protectedvirtual |
Definition at line 85 of file cpicouponpricer.cpp.
|
protectedvirtual |
Derived classes usually only need to implement this.
The name of the method is misleading. This actually returns the rate of the optionlet (so not discounted and not accrued).
Definition at line 70 of file cpicouponpricer.cpp.
Definition at line 116 of file cpicouponpricer.cpp.
|
protected |
Definition at line 98 of file cpicouponpricer.hpp.
|
protected |
Definition at line 99 of file cpicouponpricer.hpp.
|
protected |
Definition at line 100 of file cpicouponpricer.hpp.
|
protected |
Definition at line 101 of file cpicouponpricer.hpp.
|
protected |
Definition at line 106 of file cpicouponpricer.hpp.
|
protected |
Definition at line 107 of file cpicouponpricer.hpp.