#include <qle/models/yoycapfloorhelper.hpp>
Public Member Functions | |
YoYCapFloorHelper (const QuantLib::Handle< QuantLib::Quote > &premium, QuantLib::YoYInflationCapFloor::Type type, QuantLib::Rate strike, QuantLib::Natural settlementDays, const QuantLib::Period &tenor, const QuantLib::ext::shared_ptr< QuantLib::YoYInflationIndex > &yoyIndex, const QuantLib::Period &observationLag, const QuantLib::Calendar &yoyCalendar, QuantLib::BusinessDayConvention yoyConvention, const QuantLib::DayCounter &yoyDayCount, const QuantLib::Calendar &paymentCalendar, QuantLib::BusinessDayConvention paymentConvention, const QuantLib::Period &yoyTenor=1 *QuantLib::Years) | |
CalibrationHelper interface | |
QuantLib::Real | calibrationError () override |
Observer interface | |
void | update () override |
YoYCapFloorHelper inspectors | |
QuantLib::Handle< QuantLib::Quote > | premium_ |
The market price quote for the YoY cap floor. More... | |
QuantLib::ext::shared_ptr< QuantLib::YoYInflationCapFloor > | yoyCapFloor_ |
The underlying YoY cap floor. More... | |
QuantLib::ext::shared_ptr< QuantLib::PricingEngine > | engine_ |
The pricing engine used to value the YoY swap. More... | |
QuantLib::Date | evaluationDate_ |
QuantLib::YoYInflationCapFloor::Type | type_ |
QuantLib::Rate | strike_ |
QuantLib::Natural | settlementDays_ |
QuantLib::Period | tenor_ |
QuantLib::ext::shared_ptr< QuantLib::YoYInflationIndex > | yoyIndex_ |
QuantLib::Period | observationLag_ |
QuantLib::Calendar | yoyCalendar_ |
QuantLib::BusinessDayConvention | yoyConvention_ |
QuantLib::DayCounter | yoyDayCount_ |
QuantLib::Calendar | paymentCalendar_ |
QuantLib::BusinessDayConvention | paymentConvention_ |
QuantLib::Period | yoyTenor_ |
QuantLib::ext::shared_ptr< QuantLib::YoYInflationCapFloor > | yoyCapFloor () const |
void | setPricingEngine (const QuantLib::ext::shared_ptr< QuantLib::PricingEngine > &engine) |
Set the pricing engine to be used by the underlying YoY cap floor. More... | |
QuantLib::Real | marketValue () const |
Return the market premium value. More... | |
QuantLib::Real | modelValue () const |
Return the model value. More... | |
void | createCapFloor () |
Create the underlying YoY cap floor. More... | |
Year on year (YoY) inflation cap floor calibration helper.
Definition at line 35 of file yoycapfloorhelper.hpp.
YoYCapFloorHelper | ( | const QuantLib::Handle< QuantLib::Quote > & | premium, |
QuantLib::YoYInflationCapFloor::Type | type, | ||
QuantLib::Rate | strike, | ||
QuantLib::Natural | settlementDays, | ||
const QuantLib::Period & | tenor, | ||
const QuantLib::ext::shared_ptr< QuantLib::YoYInflationIndex > & | yoyIndex, | ||
const QuantLib::Period & | observationLag, | ||
const QuantLib::Calendar & | yoyCalendar, | ||
QuantLib::BusinessDayConvention | yoyConvention, | ||
const QuantLib::DayCounter & | yoyDayCount, | ||
const QuantLib::Calendar & | paymentCalendar, | ||
QuantLib::BusinessDayConvention | paymentConvention, | ||
const QuantLib::Period & | yoyTenor = 1 * QuantLib::Years |
||
) |
Definition at line 46 of file yoycapfloorhelper.cpp.
|
override |
Definition at line 81 of file yoycapfloorhelper.cpp.
|
override |
Definition at line 86 of file yoycapfloorhelper.cpp.
QuantLib::ext::shared_ptr< YoYInflationCapFloor > yoyCapFloor | ( | ) | const |
Definition at line 94 of file yoycapfloorhelper.cpp.
void setPricingEngine | ( | const QuantLib::ext::shared_ptr< QuantLib::PricingEngine > & | engine | ) |
Set the pricing engine to be used by the underlying YoY cap floor.
Definition at line 98 of file yoycapfloorhelper.cpp.
QuantLib::Real marketValue | ( | ) | const |
Return the market premium value.
Definition at line 102 of file yoycapfloorhelper.cpp.
QuantLib::Real modelValue | ( | ) | const |
Return the model value.
Definition at line 106 of file yoycapfloorhelper.cpp.
|
private |
Create the underlying YoY cap floor.
Definition at line 111 of file yoycapfloorhelper.cpp.
|
private |
The market price quote for the YoY cap floor.
Definition at line 80 of file yoycapfloorhelper.hpp.
|
private |
The underlying YoY cap floor.
Definition at line 83 of file yoycapfloorhelper.hpp.
|
private |
The pricing engine used to value the YoY swap.
Definition at line 86 of file yoycapfloorhelper.hpp.
|
private |
Definition at line 89 of file yoycapfloorhelper.hpp.
|
private |
Definition at line 90 of file yoycapfloorhelper.hpp.
|
private |
Definition at line 91 of file yoycapfloorhelper.hpp.
|
private |
Definition at line 92 of file yoycapfloorhelper.hpp.
|
private |
Definition at line 93 of file yoycapfloorhelper.hpp.
|
private |
Definition at line 94 of file yoycapfloorhelper.hpp.
|
private |
Definition at line 95 of file yoycapfloorhelper.hpp.
|
private |
Definition at line 96 of file yoycapfloorhelper.hpp.
|
private |
Definition at line 97 of file yoycapfloorhelper.hpp.
|
private |
Definition at line 98 of file yoycapfloorhelper.hpp.
|
private |
Definition at line 99 of file yoycapfloorhelper.hpp.
|
private |
Definition at line 100 of file yoycapfloorhelper.hpp.
|
private |
Definition at line 101 of file yoycapfloorhelper.hpp.