QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <blackswaptionengine.hpp>
Public Types | |
enum | CashAnnuityModel { SwapRate , DiscountCurve } |
![]() | |
typedef set_type::iterator | iterator |
Private Attributes | |
Handle< YieldTermStructure > | discountCurve_ |
Handle< SwaptionVolatilityStructure > | vol_ |
CashAnnuityModel | model_ |
Additional Inherited Members | |
![]() | |
Swaption::arguments | arguments_ |
Swaption::results | results_ |
Generic Black-style-formula swaption engine This is the base class for the Black and Bachelier swaption engines
Definition at line 54 of file blackswaptionengine.hpp.
enum CashAnnuityModel |
Enumerator | |
---|---|
SwapRate | |
DiscountCurve |
Definition at line 56 of file blackswaptionengine.hpp.
BlackStyleSwaptionEngine | ( | Handle< YieldTermStructure > | discountCurve, |
Volatility | vol, | ||
const DayCounter & | dc = Actual365Fixed() , |
||
Real | displacement = 0.0 , |
||
CashAnnuityModel | model = DiscountCurve |
||
) |
BlackStyleSwaptionEngine | ( | Handle< YieldTermStructure > | discountCurve, |
const Handle< Quote > & | vol, | ||
const DayCounter & | dc = Actual365Fixed() , |
||
Real | displacement = 0.0 , |
||
CashAnnuityModel | model = DiscountCurve |
||
) |
BlackStyleSwaptionEngine | ( | Handle< YieldTermStructure > | discountCurve, |
Handle< SwaptionVolatilityStructure > | vol, | ||
CashAnnuityModel | model = DiscountCurve |
||
) |
|
overridevirtual |
Implements PricingEngine.
Definition at line 221 of file blackswaptionengine.hpp.
Handle< YieldTermStructure > termStructure | ( | ) |
Definition at line 71 of file blackswaptionengine.hpp.
Handle< SwaptionVolatilityStructure > volatility | ( | ) |
Definition at line 72 of file blackswaptionengine.hpp.
|
private |
Definition at line 75 of file blackswaptionengine.hpp.
|
private |
Definition at line 76 of file blackswaptionengine.hpp.
|
private |
Definition at line 77 of file blackswaptionengine.hpp.