QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Black-formula cap/floor engine. More...
#include <blackcapfloorengine.hpp>
Private Attributes | |
Handle< YieldTermStructure > | discountCurve_ |
Handle< OptionletVolatilityStructure > | vol_ |
Real | displacement_ |
Additional Inherited Members | |
Public Types inherited from Observer | |
typedef set_type::iterator | iterator |
Protected Attributes inherited from GenericEngine< CapFloor::arguments, CapFloor::results > | |
CapFloor::arguments | arguments_ |
CapFloor::results | results_ |
Black-formula cap/floor engine.
Definition at line 38 of file blackcapfloorengine.hpp.
BlackCapFloorEngine | ( | Handle< YieldTermStructure > | discountCurve, |
Volatility | vol, | ||
const DayCounter & | dc = Actual365Fixed() , |
||
Real | displacement = 0.0 |
||
) |
BlackCapFloorEngine | ( | Handle< YieldTermStructure > | discountCurve, |
const Handle< Quote > & | vol, | ||
const DayCounter & | dc = Actual365Fixed() , |
||
Real | displacement = 0.0 |
||
) |
BlackCapFloorEngine | ( | Handle< YieldTermStructure > | discountCurve, |
Handle< OptionletVolatilityStructure > | vol, | ||
Real | displacement = Null<Real>() |
||
) |
|
overridevirtual |
Implements PricingEngine.
Definition at line 77 of file blackcapfloorengine.cpp.
Handle< YieldTermStructure > termStructure | ( | ) |
Definition at line 52 of file blackcapfloorengine.hpp.
Handle< OptionletVolatilityStructure > volatility | ( | ) |
Definition at line 53 of file blackcapfloorengine.hpp.
Real displacement | ( | ) | const |
|
private |
Definition at line 57 of file blackcapfloorengine.hpp.
|
private |
Definition at line 58 of file blackcapfloorengine.hpp.
|
private |
Definition at line 59 of file blackcapfloorengine.hpp.