Overview
functions to construct and use short-rate model objects.
Function List
qlFuturesConvexityBias ()
qlHullWhite ()
qlModelG2 ()
qlModelG2A ()
qlModelG2B ()
qlModelG2eta ()
qlModelG2rho ()
qlModelG2sigma ()
qlVasicek ()
qlVasicekA ()
qlVasicekB ()
qlVasicekLambda ()
qlVasicekSigma ()
Function Documentation
- Description:
Returns Futures convexity bias (ForwardRate = FuturesImpliedRate - ConvexityBias) calculated as in G. Kirikos, D. Novak, 'Convexity Conundrums', Risk Magazine, March 1997.
- Supported Platforms:
Excel
- Parameters
-
FuturesPrice Futures price (e.g. 94.56). T1 Maturity date of the futures contract in years(e.g. 5.0). T2 Maturity of the underlying Libor deposit in years (e.g. 5.25). Sigma Hull-White volatility (e.g. 0.015). A Hull-White mean reversion. Default value = 0.03. Trigger dependency tracking trigger
- Description:
Construct an object of class HullWhite and return its id
- Supported Platforms:
Excel, C++, Calc
- Parameters
-
ObjectId id of object to be created YieldCurve YieldTermStructure object ID. A a. Sigma volatility. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
Construct an object of class G2 and return its id
- Supported Platforms:
Excel, C++, Calc
- Parameters
-
ObjectId id of object to be created YieldCurve YieldTermStructure object ID. A drift of x(t) dynamics with r(t)= x(t) + y(t). Default value = 0.1. Sigma volatility of x(t) dynamics with r(t)= x(t) + y(t). Default value = 0.01. B drift of y(t) dynamics with r(t)= x(t) + y(t). Default value = 0.1. Eta volatility of y(t) dynamics with r(t)= x(t) + y(t). Default value = 0.01. Correlation Correlation between x(t) and y(t) Default value = -0.75. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
returns the drift of x(t) dynamics with r(t) = x(t) + y(t).
- Supported Platforms:
Excel, Calc
- Parameters
-
ObjectId id of existing QuantLib::G2 object Trigger dependency tracking trigger
- Description:
returns the drift of y(t) dynamics with r(t) = x(t) + y(t).
- Supported Platforms:
Excel, Calc
- Parameters
-
ObjectId id of existing QuantLib::G2 object Trigger dependency tracking trigger
- Description:
returns the volatility of y(t) dynamics with r(t) = x(t) + y(t).
- Supported Platforms:
Excel, Calc
- Parameters
-
ObjectId id of existing QuantLib::G2 object Trigger dependency tracking trigger
- Description:
returns the correlation between x(t) and y(t) with r(t) = x(t) + y(t).
- Supported Platforms:
Excel, Calc
- Parameters
-
ObjectId id of existing QuantLib::G2 object Trigger dependency tracking trigger
- Description:
returns the volatility of x(t) dynamics with r(t) = x(t) + y(t).
- Supported Platforms:
Excel, Calc
- Parameters
-
ObjectId id of existing QuantLib::G2 object Trigger dependency tracking trigger
- Description:
Construct an object of class Vasicek and return its id
- Supported Platforms:
Excel, C++, Calc
- Parameters
-
ObjectId id of object to be created R0 initial value. Default value = 0.05. A mean reverting speed. Default value = 0.1. B short-rate limit value. Default value = 0.05. Sigma volatility. Default value = 0.01. Lambda risk premium. Default value = 0.0. Permanent object permanent/nonpermanent Trigger dependency tracking trigger Overwrite overwrite flag
- Description:
returns mean reverting speed a, with dr(t) = a(b-r(t))dt + sigma dW(t).
- Supported Platforms:
Excel, Calc
- Parameters
-
ObjectId id of existing QuantLib::Vasicek object Trigger dependency tracking trigger
- Description:
returns short-rate limit value b, with dr(t) = a(b-r(t))dt + sigma dW(t).
- Supported Platforms:
Excel, Calc
- Parameters
-
ObjectId id of existing QuantLib::Vasicek object Trigger dependency tracking trigger
- Description:
returns the risk premium.
- Supported Platforms:
Excel, Calc
- Parameters
-
ObjectId id of existing QuantLib::Vasicek object Trigger dependency tracking trigger
- Description:
returns the volatility sigma, with dr(t) = a(b-r(t))dt + sigma dW(t).
- Supported Platforms:
Excel, Calc
- Parameters
-
ObjectId id of existing QuantLib::Vasicek object Trigger dependency tracking trigger