25#ifndef quantlib_black_vol_surface_hpp
26#define quantlib_black_vol_surface_hpp
71 bool extrapolate)
const;
74 bool extrapolate)
const;
77 bool extrapolate)
const;
105 inline ext::shared_ptr<SmileSection>
107 bool extrapolate)
const {
111 inline ext::shared_ptr<SmileSection>
113 bool extrapolate)
const {
117 inline ext::shared_ptr<SmileSection>
119 bool extrapolate)
const {
Black at-the-money (no-smile) volatility curve base class.
degenerate base class for the Acyclic Visitor pattern
Black at-the-money (no-smile) volatility curve.
Black volatility (smile) surface.
virtual ext::shared_ptr< SmileSection > smileSectionImpl(Time) const =0
Volatility atmVolImpl(Time t) const override
spot at-the-money volatility calculation
void accept(AcyclicVisitor &) override
Real atmVarianceImpl(Time t) const override
spot at-the-money variance calculation
ext::shared_ptr< SmileSection > smileSection(const Period &, bool extrapolate) const
returns the smile for a given option tenor
virtual Natural settlementDays() const
the settlementDays used for reference date calculation
virtual const Date & referenceDate() const
the date at which discount = 1.0 and/or variance = 0.0
Time timeFromReference(const Date &date) const
date/time conversion
void checkRange(const Date &d, bool extrapolate) const
date-range check
Date optionDateFromTenor(const Period &) const
period/date conversion
BusinessDayConvention
Business Day conventions.
Real Time
continuous quantity with 1-year units
unsigned QL_INTEGER Natural
positive integer
Real Volatility
volatility