QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
Helper class building a sequence of capped/floored yoy inflation coupons. More...
#include <yoyinflationcoupon.hpp>
Private Attributes | |
Schedule | schedule_ |
ext::shared_ptr< YoYInflationIndex > | index_ |
Period | observationLag_ |
CPI::InterpolationType | interpolation_ |
std::vector< Real > | notionals_ |
DayCounter | paymentDayCounter_ |
BusinessDayConvention | paymentAdjustment_ = ModifiedFollowing |
Calendar | paymentCalendar_ |
std::vector< Natural > | fixingDays_ |
std::vector< Real > | gearings_ |
std::vector< Spread > | spreads_ |
std::vector< Rate > | caps_ |
std::vector< Rate > | floors_ |
Helper class building a sequence of capped/floored yoy inflation coupons.
Definition at line 114 of file yoyinflationcoupon.hpp.
yoyInflationLeg | ( | Schedule | schedule, |
Calendar | cal, | ||
ext::shared_ptr< YoYInflationIndex > | index, | ||
const Period & | observationLag, | ||
CPI::InterpolationType | interpolation | ||
) |
Definition at line 85 of file yoyinflationcoupon.cpp.
yoyInflationLeg | ( | Schedule | schedule, |
Calendar | cal, | ||
ext::shared_ptr< YoYInflationIndex > | index, | ||
const Period & | observationLag | ||
) |
Definition at line 93 of file yoyinflationcoupon.cpp.
yoyInflationLeg & withNotionals | ( | Real | notional | ) |
yoyInflationLeg & withNotionals | ( | const std::vector< Real > & | notionals | ) |
Definition at line 105 of file yoyinflationcoupon.cpp.
yoyInflationLeg & withPaymentDayCounter | ( | const DayCounter & | dayCounter | ) |
yoyInflationLeg & withPaymentAdjustment | ( | BusinessDayConvention | convention | ) |
yoyInflationLeg & withFixingDays | ( | Natural | fixingDays | ) |
Definition at line 120 of file yoyinflationcoupon.cpp.
yoyInflationLeg & withFixingDays | ( | const std::vector< Natural > & | fixingDays | ) |
Definition at line 125 of file yoyinflationcoupon.cpp.
yoyInflationLeg & withGearings | ( | Real | gearing | ) |
Definition at line 130 of file yoyinflationcoupon.cpp.
yoyInflationLeg & withGearings | ( | const std::vector< Real > & | gearings | ) |
Definition at line 135 of file yoyinflationcoupon.cpp.
yoyInflationLeg & withSpreads | ( | Spread | spread | ) |
yoyInflationLeg & withSpreads | ( | const std::vector< Spread > & | spreads | ) |
Definition at line 145 of file yoyinflationcoupon.cpp.
yoyInflationLeg & withCaps | ( | Rate | cap | ) |
Definition at line 150 of file yoyinflationcoupon.cpp.
yoyInflationLeg & withCaps | ( | const std::vector< Rate > & | caps | ) |
Definition at line 155 of file yoyinflationcoupon.cpp.
yoyInflationLeg & withFloors | ( | Rate | floor | ) |
Definition at line 160 of file yoyinflationcoupon.cpp.
yoyInflationLeg & withFloors | ( | const std::vector< Rate > & | floors | ) |
Definition at line 165 of file yoyinflationcoupon.cpp.
operator Leg | ( | ) | const |
|
private |
Definition at line 145 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 146 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 147 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 148 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 149 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 150 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 151 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 152 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 153 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 154 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 155 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 156 of file yoyinflationcoupon.hpp.
|
private |
Definition at line 156 of file yoyinflationcoupon.hpp.