Stripped Optionlet Surface. More...
#include <qle/termstructures/datedstrippedoptionlet.hpp>
Public Member Functions | |
DatedStrippedOptionlet (const Date &referenceDate, const QuantLib::ext::shared_ptr< StrippedOptionletBase > &s) | |
Construct from a StrippedOptionletBase object. More... | |
DatedStrippedOptionlet (const Date &referenceDate, const Calendar &calendar, BusinessDayConvention bdc, const vector< Date > &optionletDates, const vector< vector< Rate > > &strikes, const vector< vector< Volatility > > &volatilities, const vector< Rate > &optionletAtmRates, const DayCounter &dayCounter, VolatilityType type=ShiftedLognormal, Real displacement=0.0) | |
Construct from an explicitly provided optionlet surface. More... | |
DatedStrippedOptionletBase interface | |
const vector< Rate > & | optionletStrikes (Size i) const override |
const vector< Volatility > & | optionletVolatilities (Size i) const override |
const vector< Date > & | optionletFixingDates () const override |
const vector< Time > & | optionletFixingTimes () const override |
Size | optionletMaturities () const override |
const vector< Rate > & | atmOptionletRates () const override |
const Date & | referenceDate () const override |
const Calendar & | calendar () const override |
BusinessDayConvention | businessDayConvention () const override |
const DayCounter & | dayCounter () const override |
VolatilityType | volatilityType () const override |
Real | displacement () const override |
virtual const vector< Rate > & | optionletStrikes (Size i) const =0 |
virtual const vector< Volatility > & | optionletVolatilities (Size i) const =0 |
virtual const vector< Date > & | optionletFixingDates () const =0 |
virtual const vector< Time > & | optionletFixingTimes () const =0 |
virtual Size | optionletMaturities () const =0 |
virtual const vector< Rate > & | atmOptionletRates () const =0 |
virtual const Date & | referenceDate () const =0 |
virtual const DayCounter & | dayCounter () const =0 |
virtual const Calendar & | calendar () const =0 |
virtual BusinessDayConvention | businessDayConvention () const =0 |
virtual VolatilityType | volatilityType () const =0 |
virtual Real | displacement () const =0 |
LazyObject interface | |
Date | referenceDate_ |
Calendar | calendar_ |
BusinessDayConvention | businessDayConvention_ |
vector< Date > | optionletDates_ |
Size | nOptionletDates_ |
vector< Time > | optionletTimes_ |
vector< vector< Rate > > | optionletStrikes_ |
vector< vector< Volatility > > | optionletVolatilities_ |
vector< Rate > | optionletAtmRates_ |
DayCounter | dayCounter_ |
VolatilityType | type_ |
Real | displacement_ |
void | performCalculations () const override |
void | checkInputs () const |
Stripped Optionlet Surface.
Class to hold a stripped optionlet surface with a fixed reference date and fixed volatilities
Definition at line 38 of file datedstrippedoptionlet.hpp.
DatedStrippedOptionlet | ( | const Date & | referenceDate, |
const QuantLib::ext::shared_ptr< StrippedOptionletBase > & | s | ||
) |
Construct from a StrippedOptionletBase object.
Definition at line 29 of file datedstrippedoptionlet.cpp.
DatedStrippedOptionlet | ( | const Date & | referenceDate, |
const Calendar & | calendar, | ||
BusinessDayConvention | bdc, | ||
const vector< Date > & | optionletDates, | ||
const vector< vector< Rate > > & | strikes, | ||
const vector< vector< Volatility > > & | volatilities, | ||
const vector< Rate > & | optionletAtmRates, | ||
const DayCounter & | dayCounter, | ||
VolatilityType | type = ShiftedLognormal , |
||
Real | displacement = 0.0 |
||
) |
Construct from an explicitly provided optionlet surface.
Definition at line 44 of file datedstrippedoptionlet.cpp.
|
overridevirtual |
Implements DatedStrippedOptionletBase.
Definition at line 87 of file datedstrippedoptionlet.cpp.
|
overridevirtual |
Implements DatedStrippedOptionletBase.
Definition at line 93 of file datedstrippedoptionlet.cpp.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
override |
Definition at line 70 of file datedstrippedoptionlet.hpp.
|
private |
Definition at line 61 of file datedstrippedoptionlet.cpp.
|
private |
Definition at line 78 of file datedstrippedoptionlet.hpp.
|
private |
Definition at line 79 of file datedstrippedoptionlet.hpp.
|
private |
Definition at line 80 of file datedstrippedoptionlet.hpp.
|
private |
Definition at line 81 of file datedstrippedoptionlet.hpp.
|
private |
Definition at line 82 of file datedstrippedoptionlet.hpp.
|
private |
Definition at line 83 of file datedstrippedoptionlet.hpp.
|
private |
Definition at line 84 of file datedstrippedoptionlet.hpp.
|
private |
Definition at line 85 of file datedstrippedoptionlet.hpp.
|
private |
Definition at line 86 of file datedstrippedoptionlet.hpp.
|
private |
Definition at line 87 of file datedstrippedoptionlet.hpp.
|
private |
Definition at line 88 of file datedstrippedoptionlet.hpp.
|
private |
Definition at line 89 of file datedstrippedoptionlet.hpp.