QuantLib_ConstantOptionletVolatility man page

ConstantOptionletVolatility — Constant caplet volatility, no time-strike dependence.

Synopsis

#include <ql/termstructures/volatility/optionlet/constantoptionletvol.hpp>

Inherits OptionletVolatilityStructure.

Public Member Functions

ConstantOptionletVolatility (Natural settlementDays, const Calendar &cal, BusinessDayConvention bdc, const Handle< Quote > &volatility, const DayCounter &dc, VolatilityType type=ShiftedLognormal, Real displacement=0.0)
floating reference date, floating market data
ConstantOptionletVolatility (const Date &referenceDate, const Calendar &cal, BusinessDayConvention bdc, const Handle< Quote > &volatility, const DayCounter &dc, VolatilityType type=ShiftedLognormal, Real displacement=0.0)
fixed reference date, floating market data
ConstantOptionletVolatility (Natural settlementDays, const Calendar &cal, BusinessDayConvention bdc, Volatility volatility, const DayCounter &dc, VolatilityType type=ShiftedLognormal, Real displacement=0.0)
floating reference date, fixed market data
ConstantOptionletVolatility (const Date &referenceDate, const Calendar &cal, BusinessDayConvention bdc, Volatility volatility, const DayCounter &dc, VolatilityType type=ShiftedLognormal, Real displacement=0.0)
fixed reference date, fixed market data
VolatilityType volatilityType () const

Real displacement () const

TermStructure interface

Date maxDate () const
the latest date for which the curve can return values

VolatilityTermStructure interface

Real minStrike () const
the minimum strike for which the term structure can return vols
Real maxStrike () const
the maximum strike for which the term structure can return vols

Protected Member Functions

boost::shared_ptr< SmileSection > smileSectionImpl (const Date &d) const

boost::shared_ptr< SmileSection > smileSectionImpl (Time) const
implements the actual smile calculation in derived classes
Volatility volatilityImpl (Time, Rate) const
implements the actual volatility calculation in derived classes

Additional Inherited Members

Detailed Description

Constant caplet volatility, no time-strike dependence.

Examples: Bonds.cpp.

Author

Generated automatically by Doxygen for QuantLib from the source code.

Referenced By

ConstantOptionletVolatility(3) and volatilityType(3) are aliases of QuantLib_ConstantOptionletVolatility(3).

Fri Sep 23 2016 Version 1.8.1 QuantLib