QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Black-formula callable fixed rate bond engine. More...
#include <blackcallablebondengine.hpp>
Public Member Functions | |
BlackCallableFixedRateBondEngine (const Handle< Quote > &fwdYieldVol, Handle< YieldTermStructure > discountCurve) | |
volatility is the quoted fwd yield volatility, not price vol More... | |
BlackCallableFixedRateBondEngine (Handle< CallableBondVolatilityStructure > yieldVolStructure, Handle< YieldTermStructure > discountCurve) | |
volatility is the quoted fwd yield volatility, not price vol More... | |
void | calculate () const override |
Private Member Functions | |
Real | spotIncome () const |
Volatility | forwardPriceVolatility () const |
Private Attributes | |
Handle< CallableBondVolatilityStructure > | volatility_ |
Handle< YieldTermStructure > | discountCurve_ |
Black-formula callable fixed rate bond engine.
Callable fixed rate bond Black engine. The embedded (European) option follows the Black "European bond option" treatment in Hull, Fourth Edition, Chapter 20.
Definition at line 43 of file blackcallablebondengine.hpp.
BlackCallableFixedRateBondEngine | ( | const Handle< Quote > & | fwdYieldVol, |
Handle< YieldTermStructure > | discountCurve | ||
) |
volatility is the quoted fwd yield volatility, not price vol
Definition at line 32 of file blackcallablebondengine.cpp.
BlackCallableFixedRateBondEngine | ( | Handle< CallableBondVolatilityStructure > | yieldVolStructure, |
Handle< YieldTermStructure > | discountCurve | ||
) |
volatility is the quoted fwd yield volatility, not price vol
no vol structures implemented yet besides constant volatility
Definition at line 42 of file blackcallablebondengine.cpp.
|
override |
Definition at line 125 of file blackcallablebondengine.cpp.
|
private |
Definition at line 50 of file blackcallablebondengine.cpp.
|
private |
Definition at line 75 of file blackcallablebondengine.cpp.
|
private |
Definition at line 55 of file blackcallablebondengine.hpp.
|
private |
Definition at line 56 of file blackcallablebondengine.hpp.