#include <qle/termstructures/piecewiseoptionletcurve.hpp>
Public Types | |
typedef PiecewiseOptionletCurve< Interpolator, Bootstrap > | this_curve |
typedef QuantLib::BootstrapHelper< QuantLib::OptionletVolatilityStructure > | helper |
typedef OptionletTraits | traits_type |
Bootstrap needs these typedefs. More... | |
typedef Interpolator | interpolator_type |
Public Member Functions | |
Constructors | |
PiecewiseOptionletCurve (const QuantLib::Date &referenceDate, const std::vector< QuantLib::ext::shared_ptr< helper > > &instruments, const QuantLib::Calendar &calendar, QuantLib::BusinessDayConvention bdc, const QuantLib::DayCounter &dayCounter, QuantLib::VolatilityType volatilityType=QuantLib::Normal, QuantLib::Real displacement=0.0, bool flatFirstPeriod=true, const Interpolator &i=Interpolator(), const Bootstrap< this_curve > &bootstrap=Bootstrap< this_curve >()) | |
PiecewiseOptionletCurve (QuantLib::Natural settlementDays, const std::vector< QuantLib::ext::shared_ptr< helper > > &instruments, const QuantLib::Calendar &calendar, QuantLib::BusinessDayConvention bdc, const QuantLib::DayCounter &dayCounter, QuantLib::VolatilityType volatilityType=QuantLib::Normal, QuantLib::Real displacement=0.0, bool flatFirstPeriod=true, const Interpolator &i=Interpolator(), const Bootstrap< this_curve > &bootstrap=Bootstrap< this_curve >()) | |
TermStructure interface | |
QuantLib::Date | maxDate () const override |
InterpolatedOptionletCurve interface | |
const std::vector< QuantLib::Time > & | times () const |
const std::vector< QuantLib::Date > & | dates () const |
const std::vector< QuantLib::Real > & | volatilities () const |
std::vector< std::pair< QuantLib::Date, QuantLib::Real > > | nodes () const |
Public Member Functions inherited from InterpolatedOptionletCurve< Interpolator > | |
InterpolatedOptionletCurve (const std::vector< QuantLib::Date > &dates, const std::vector< QuantLib::Real > &volatilities, QuantLib::BusinessDayConvention bdc, const QuantLib::DayCounter &dayCounter, const QuantLib::Calendar &calendar=QuantLib::Calendar(), QuantLib::VolatilityType volatilityType=QuantLib::Normal, QuantLib::Real displacement=0.0, bool flatFirstPeriod=true, const Interpolator &interpolator=Interpolator()) | |
QuantLib::Date | maxDate () const override |
QuantLib::Rate | minStrike () const override |
QuantLib::Rate | maxStrike () const override |
QuantLib::VolatilityType | volatilityType () const override |
QuantLib::Real | displacement () const override |
const std::vector< QuantLib::Time > & | times () const |
const std::vector< QuantLib::Date > & | dates () const |
const std::vector< QuantLib::Real > & | volatilities () const |
const std::vector< QuantLib::Real > & | data () const |
std::vector< std::pair< QuantLib::Date, QuantLib::Real > > | nodes () const |
Private Member Functions | |
LazyObject interface | |
void | performCalculations () const override |
Observer interface | |
typedef InterpolatedOptionletCurve< Interpolator > | base_curve |
void | update () override |
OptionletVolatilityStructure interface | |
std::vector< QuantLib::ext::shared_ptr< helper > > | instruments_ |
Vector of helper instruments to be matched. More... | |
QuantLib::Real | accuracy_ |
Accuracy of the match. More... | |
Bootstrap< this_curve > | bootstrap_ |
class | Bootstrap< this_curve > |
class | BootstrapError< this_curve > |
class | PenaltyFunction< this_curve > |
QuantLib::Real | volatilityImpl (QuantLib::Time optionTime, QuantLib::Rate strike) const override |
Additional Inherited Members | |
Protected Member Functions inherited from InterpolatedOptionletCurve< Interpolator > | |
QuantLib::ext::shared_ptr< QuantLib::SmileSection > | smileSectionImpl (QuantLib::Time optionTime) const override |
QuantLib::Real | volatilityImpl (QuantLib::Time optionTime, QuantLib::Rate strike) const override |
InterpolatedOptionletCurve (QuantLib::BusinessDayConvention bdc, const QuantLib::DayCounter &dayCounter, QuantLib::VolatilityType volatilityType=QuantLib::Normal, QuantLib::Real displacement=0.0, bool flatFirstPeriod=true, const Interpolator &interpolator=Interpolator()) | |
InterpolatedOptionletCurve (const QuantLib::Date &referenceDate, const QuantLib::Calendar &calendar, QuantLib::BusinessDayConvention bdc, const QuantLib::DayCounter &dayCounter, QuantLib::VolatilityType volatilityType=QuantLib::Normal, QuantLib::Real displacement=0.0, bool flatFirstPeriod=true, const Interpolator &interpolator=Interpolator()) | |
InterpolatedOptionletCurve (QuantLib::Natural settlementDays, const QuantLib::Calendar &calendar, QuantLib::BusinessDayConvention bdc, const QuantLib::DayCounter &dayCounter, QuantLib::VolatilityType volatilityType=QuantLib::Normal, QuantLib::Real displacement=0.0, bool flatFirstPeriod=true, const Interpolator &interpolator=Interpolator()) | |
Protected Attributes inherited from InterpolatedOptionletCurve< Interpolator > | |
std::vector< QuantLib::Date > | dates_ |
The fixing dates of the index underlying the optionlets. More... | |
Definition at line 101 of file piecewiseoptionletcurve.hpp.
typedef PiecewiseOptionletCurve<Interpolator, Bootstrap> this_curve |
Definition at line 104 of file piecewiseoptionletcurve.hpp.
typedef QuantLib::BootstrapHelper<QuantLib::OptionletVolatilityStructure> helper |
Definition at line 105 of file piecewiseoptionletcurve.hpp.
typedef OptionletTraits traits_type |
Bootstrap needs these typedefs.
Definition at line 108 of file piecewiseoptionletcurve.hpp.
typedef Interpolator interpolator_type |
Definition at line 109 of file piecewiseoptionletcurve.hpp.
|
private |
Definition at line 151 of file piecewiseoptionletcurve.hpp.
PiecewiseOptionletCurve | ( | const QuantLib::Date & | referenceDate, |
const std::vector< QuantLib::ext::shared_ptr< helper > > & | instruments, | ||
const QuantLib::Calendar & | calendar, | ||
QuantLib::BusinessDayConvention | bdc, | ||
const QuantLib::DayCounter & | dayCounter, | ||
QuantLib::VolatilityType | volatilityType = QuantLib::Normal , |
||
QuantLib::Real | displacement = 0.0 , |
||
bool | flatFirstPeriod = true , |
||
const Interpolator & | i = Interpolator() , |
||
const Bootstrap< this_curve > & | bootstrap = Bootstrap<this_curve>() |
||
) |
Definition at line 178 of file piecewiseoptionletcurve.hpp.
PiecewiseOptionletCurve | ( | QuantLib::Natural | settlementDays, |
const std::vector< QuantLib::ext::shared_ptr< helper > > & | instruments, | ||
const QuantLib::Calendar & | calendar, | ||
QuantLib::BusinessDayConvention | bdc, | ||
const QuantLib::DayCounter & | dayCounter, | ||
QuantLib::VolatilityType | volatilityType = QuantLib::Normal , |
||
QuantLib::Real | displacement = 0.0 , |
||
bool | flatFirstPeriod = true , |
||
const Interpolator & | i = Interpolator() , |
||
const Bootstrap< this_curve > & | bootstrap = Bootstrap<this_curve>() |
||
) |
Definition at line 189 of file piecewiseoptionletcurve.hpp.
|
override |
Definition at line 200 of file piecewiseoptionletcurve.hpp.
const std::vector< QuantLib::Time > & times |
Definition at line 206 of file piecewiseoptionletcurve.hpp.
const std::vector< QuantLib::Date > & dates |
Definition at line 212 of file piecewiseoptionletcurve.hpp.
const std::vector< QuantLib::Real > & volatilities |
Definition at line 218 of file piecewiseoptionletcurve.hpp.
std::vector< std::pair< QuantLib::Date, QuantLib::Real > > nodes |
Definition at line 225 of file piecewiseoptionletcurve.hpp.
|
override |
Definition at line 231 of file piecewiseoptionletcurve.hpp.
|
overrideprivate |
Definition at line 257 of file piecewiseoptionletcurve.hpp.
|
overrideprivate |
Definition at line 250 of file piecewiseoptionletcurve.hpp.
|
friend |
Definition at line 167 of file piecewiseoptionletcurve.hpp.
|
friend |
Definition at line 167 of file piecewiseoptionletcurve.hpp.
|
friend |
Definition at line 167 of file piecewiseoptionletcurve.hpp.
|
private |
Vector of helper instruments to be matched.
Definition at line 164 of file piecewiseoptionletcurve.hpp.
|
private |
Accuracy of the match.
Definition at line 167 of file piecewiseoptionletcurve.hpp.
|
private |
Definition at line 174 of file piecewiseoptionletcurve.hpp.