QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
BlackCallableFixedRateBondEngine Class Reference

Black-formula callable fixed rate bond engine. More...

#include <ql/experimental/callablebonds/blackcallablebondengine.hpp>

+ Inheritance diagram for BlackCallableFixedRateBondEngine:
+ Collaboration diagram for BlackCallableFixedRateBondEngine:

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< CallableBondVolatilityStructurevolatility_
 
Handle< YieldTermStructurediscountCurve_
 

Detailed Description

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.

Warning:
This class has yet to be tested

Definition at line 43 of file blackcallablebondengine.hpp.

Constructor & Destructor Documentation

◆ BlackCallableFixedRateBondEngine() [1/2]

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() [2/2]

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.

Member Function Documentation

◆ calculate()

void calculate ( ) const
override

Definition at line 125 of file blackcallablebondengine.cpp.

+ Here is the call graph for this function:

◆ spotIncome()

Real spotIncome ( ) const
private

Definition at line 50 of file blackcallablebondengine.cpp.

+ Here is the caller graph for this function:

◆ forwardPriceVolatility()

Volatility forwardPriceVolatility ( ) const
private

Definition at line 75 of file blackcallablebondengine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ volatility_

Definition at line 55 of file blackcallablebondengine.hpp.

◆ discountCurve_

Handle<YieldTermStructure> discountCurve_
private

Definition at line 56 of file blackcallablebondengine.hpp.