QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Bachelier-formula pricer for capped/floored yoy inflation coupons. More...
#include <inflationcouponpricer.hpp>
Protected Member Functions | |
Real | optionletPriceImp (Option::Type, Real strike, Real forward, Real stdDev) const override |
![]() | |
virtual Real | optionletPrice (Option::Type optionType, Real effStrike) const |
virtual Real | optionletRate (Option::Type optionType, Real effStrike) const |
virtual Rate | adjustedFixing (Rate fixing=Null< Rate >()) const |
Additional Inherited Members | |
![]() | |
typedef set_type::iterator | iterator |
![]() | |
Handle< YoYOptionletVolatilitySurface > | capletVol_ |
data More... | |
Handle< YieldTermStructure > | nominalTermStructure_ |
const YoYInflationCoupon * | coupon_ |
Real | gearing_ |
Spread | spread_ |
Real | discount_ |
![]() | |
Date | paymentDate_ |
Bachelier-formula pricer for capped/floored yoy inflation coupons.
Definition at line 186 of file inflationcouponpricer.hpp.
Definition at line 188 of file inflationcouponpricer.hpp.
|
explicit |
Definition at line 192 of file inflationcouponpricer.hpp.
BachelierYoYInflationCouponPricer | ( | const Handle< YoYOptionletVolatilitySurface > & | capletVol, |
const Handle< YieldTermStructure > & | nominalTermStructure | ||
) |
Definition at line 196 of file inflationcouponpricer.hpp.
|
overrideprotectedvirtual |
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).
Reimplemented from YoYInflationCouponPricer.
Definition at line 202 of file inflationcouponpricer.cpp.