QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Short-rate dynamics in the generalized Hull-White model. More...
#include <generalizedhullwhite.hpp>
Classes | |
struct | identity |
Public Member Functions | |
Dynamics (Parameter fitting, const ext::function< Real(Time)> &alpha, const ext::function< Real(Time)> &sigma, ext::function< Real(Real)> f, ext::function< Real(Real)> fInverse) | |
Dynamics (Parameter fitting, Real a, Real sigma) | |
Real | variable (Time t, Rate r) const override |
Real | shortRate (Time t, Real x) const override |
Private Attributes | |
Parameter | fitting_ |
ext::function< Real(Real)> | _f_ |
ext::function< Real(Real)> | _fInverse_ |
Short-rate dynamics in the generalized Hull-White model.
The short-rate is here
f(r_t) = x_t + g(t)
where g is the deterministic time-dependent parameter (which can't be determined analytically) used for initial term-structure fitting and x_t is the state variable following an Ornstein-Uhlenbeck process.
In this version, the function f may also be defined as a piece-wise linear function and can be calibrated to the away-from-the-money instruments.
Definition at line 232 of file generalizedhullwhite.hpp.
Dynamics | ( | Parameter | fitting, |
const ext::function< Real(Time)> & | alpha, | ||
const ext::function< Real(Time)> & | sigma, | ||
ext::function< Real(Real)> | f, | ||
ext::function< Real(Real)> | fInverse | ||
) |
Definition at line 235 of file generalizedhullwhite.hpp.
Definition at line 245 of file generalizedhullwhite.hpp.
Definition at line 250 of file generalizedhullwhite.hpp.
Definition at line 252 of file generalizedhullwhite.hpp.
|
private |
Definition at line 255 of file generalizedhullwhite.hpp.
Definition at line 256 of file generalizedhullwhite.hpp.
Definition at line 257 of file generalizedhullwhite.hpp.