QuantLib: a free/open-source library for quantitative finance
Reference manual - version 1.40
Loading...
Searching...
No Matches
BlackSwaptionEngine Class Reference

Shifted Lognormal Black-formula swaption engine. More...

#include <ql/pricingengines/swaption/blackswaptionengine.hpp>

Inheritance diagram for BlackSwaptionEngine:

Public Member Functions

 BlackSwaptionEngine (const Handle< YieldTermStructure > &discountCurve, Volatility vol, const DayCounter &dc=Actual365Fixed(), Real displacement=0.0, CashAnnuityModel model=DiscountCurve)
 BlackSwaptionEngine (const Handle< YieldTermStructure > &discountCurve, const Handle< Quote > &vol, const DayCounter &dc=Actual365Fixed(), Real displacement=0.0, CashAnnuityModel model=DiscountCurve)
 BlackSwaptionEngine (const Handle< YieldTermStructure > &discountCurve, const Handle< SwaptionVolatilityStructure > &vol, CashAnnuityModel model=DiscountCurve)
Public Member Functions inherited from BlackStyleSwaptionEngine< detail::Black76Spec >
 BlackStyleSwaptionEngine (Handle< YieldTermStructure > discountCurve, Volatility vol, const DayCounter &dc=Actual365Fixed(), Real displacement=0.0, CashAnnuityModel model=DiscountCurve)
void calculate () const override
Handle< YieldTermStructuretermStructure ()
Handle< SwaptionVolatilityStructurevolatility ()
Public Member Functions inherited from GenericEngine< Swaption::arguments, Swaption::results >
PricingEngine::arguments * getArguments () const override
const PricingEngine::results * getResults () const override
void reset () override
void update () override
Public Member Functions inherited from Observable
 Observable (const Observable &)
Observableoperator= (const Observable &)
 Observable (Observable &&)=delete
Observableoperator= (Observable &&)=delete
void notifyObservers ()
Public Member Functions inherited from Observer
 Observer (const Observer &)
Observeroperator= (const Observer &)
std::pair< iterator, bool > registerWith (const ext::shared_ptr< Observable > &)
void registerWithObservables (const ext::shared_ptr< Observer > &)
Size unregisterWith (const ext::shared_ptr< Observable > &)
void unregisterWithAll ()
virtual void deepUpdate ()

Additional Inherited Members

Public Types inherited from BlackStyleSwaptionEngine< detail::Black76Spec >
enum  CashAnnuityModel
Public Types inherited from Observer
typedef set_type::iterator iterator
Protected Attributes inherited from GenericEngine< Swaption::arguments, Swaption::results >
Swaption::arguments arguments_
Swaption::results results_

Detailed Description

Shifted Lognormal Black-formula swaption engine.

Warning
The engine assumes that the exercise date lies before the start date of the passed swap.