#include <qle/termstructures/oiscapfloorhelper.hpp>
Inheritance diagram for OISCapFloorHelper:
Collaboration diagram for OISCapFloorHelper:Public Member Functions | |
| OISCapFloorHelper (CapFloorHelper::Type type, const QuantLib::Period &tenor, const QuantLib::Period &rateComputationPeriod, QuantLib::Rate strike, const QuantLib::Handle< QuantLib::Quote > "e, const QuantLib::ext::shared_ptr< QuantLib::OvernightIndex > &index, const QuantLib::Handle< QuantLib::YieldTermStructure > &discountingCurve, bool moving=true, const QuantLib::Date &effectiveDate=QuantLib::Date(), CapFloorHelper::QuoteType quoteType=CapFloorHelper::Premium, QuantLib::VolatilityType quoteVolatilityType=QuantLib::Normal, QuantLib::Real quoteDisplacement=0.0) | |
| OISCapFloorHelper, similar to CapFloorHelper. More... | |
| Leg | capFloor () const |
| void | setTermStructure (QuantLib::OptionletVolatilityStructure *ovts) override |
| QuantLib::Real | impliedQuote () const override |
| void | accept (QuantLib::AcyclicVisitor &) override |
Private Member Functions | |
| void | initializeDates () override |
| QuantLib::Real | npv (QuantLib::Real quote) |
| A method to calculate the cap floor premium from a flat cap floor volatility value. More... | |
Private Attributes | |
| CapFloorHelper::Type | type_ |
| QuantLib::Period | tenor_ |
| QuantLib::Period | rateComputationPeriod_ |
| QuantLib::Rate | strike_ |
| QuantLib::ext::shared_ptr< QuantLib::OvernightIndex > | index_ |
| QuantLib::Handle< QuantLib::YieldTermStructure > | discountHandle_ |
| bool | moving_ |
| QuantLib::Date | effectiveDate_ |
| CapFloorHelper::QuoteType | quoteType_ |
| QuantLib::VolatilityType | quoteVolatilityType_ |
| QuantLib::Real | quoteDisplacement_ |
| QuantLib::Handle< QuantLib::Quote > | rawQuote_ |
| bool | initialised_ |
| Leg | capFloor_ |
| QuantLib::RelinkableHandle< QuantLib::OptionletVolatilityStructure > | ovtsHandle_ |
| Leg | capFloorCopy_ |
Definition at line 33 of file oiscapfloorhelper.hpp.
| OISCapFloorHelper | ( | CapFloorHelper::Type | type, |
| const QuantLib::Period & | tenor, | ||
| const QuantLib::Period & | rateComputationPeriod, | ||
| QuantLib::Rate | strike, | ||
| const QuantLib::Handle< QuantLib::Quote > & | quote, | ||
| const QuantLib::ext::shared_ptr< QuantLib::OvernightIndex > & | index, | ||
| const QuantLib::Handle< QuantLib::YieldTermStructure > & | discountingCurve, | ||
| bool | moving = true, |
||
| const QuantLib::Date & | effectiveDate = QuantLib::Date(), |
||
| CapFloorHelper::QuoteType | quoteType = CapFloorHelper::Premium, |
||
| QuantLib::VolatilityType | quoteVolatilityType = QuantLib::Normal, |
||
| QuantLib::Real | quoteDisplacement = 0.0 |
||
| ) |
OISCapFloorHelper, similar to CapFloorHelper.
Definition at line 37 of file oiscapfloorhelper.cpp.
Here is the call graph for this function:| Leg capFloor | ( | ) | const |
Definition at line 47 of file oiscapfloorhelper.hpp.
|
override |
Definition at line 103 of file oiscapfloorhelper.cpp.
Here is the call graph for this function:
|
override |
Definition at line 163 of file oiscapfloorhelper.cpp.
|
override |
Definition at line 174 of file oiscapfloorhelper.cpp.
|
overrideprivate |
Definition at line 67 of file oiscapfloorhelper.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
A method to calculate the cap floor premium from a flat cap floor volatility value.
Definition at line 181 of file oiscapfloorhelper.cpp.
|
private |
Definition at line 56 of file oiscapfloorhelper.hpp.
|
private |
Definition at line 57 of file oiscapfloorhelper.hpp.
|
private |
Definition at line 58 of file oiscapfloorhelper.hpp.
|
private |
Definition at line 59 of file oiscapfloorhelper.hpp.
|
private |
Definition at line 60 of file oiscapfloorhelper.hpp.
|
private |
Definition at line 61 of file oiscapfloorhelper.hpp.
|
private |
Definition at line 62 of file oiscapfloorhelper.hpp.
|
private |
Definition at line 63 of file oiscapfloorhelper.hpp.
|
private |
Definition at line 64 of file oiscapfloorhelper.hpp.
|
private |
Definition at line 65 of file oiscapfloorhelper.hpp.
|
private |
Definition at line 66 of file oiscapfloorhelper.hpp.
|
private |
Definition at line 67 of file oiscapfloorhelper.hpp.
|
private |
Definition at line 68 of file oiscapfloorhelper.hpp.
|
private |
Definition at line 70 of file oiscapfloorhelper.hpp.
|
private |
Definition at line 71 of file oiscapfloorhelper.hpp.
|
private |
Definition at line 72 of file oiscapfloorhelper.hpp.