public class HestonModel extends Object implements ProcessCharacteristicFunctionInterface
Constructor and Description |
---|
HestonModel(double initialValue,
DiscountCurveInterface discountCurveForForwardRate,
double volatility,
DiscountCurveInterface discountCurveForDiscountRate,
double theta,
double kappa,
double xi,
double rho)
Create a Heston model (characteristic function)
|
HestonModel(double initialValue,
double riskFreeRate,
double volatility,
double theta,
double kappa,
double xi,
double rho) |
HestonModel(double initialValue,
double riskFreeRate,
double volatility,
double discountRate,
double theta,
double kappa,
double xi,
double rho)
Create a Heston model (characteristic function)
|
Modifier and Type | Method and Description |
---|---|
CharacteristicFunctionInterface |
apply(double time)
Returns the characteristic function of X(t), where X is
this stochastic process. |
public HestonModel(double initialValue, DiscountCurveInterface discountCurveForForwardRate, double volatility, DiscountCurveInterface discountCurveForDiscountRate, double theta, double kappa, double xi, double rho)
initialValue
- \( S_{0} \) - spot - initial value of SdiscountCurveForForwardRate
- The curve specifying \( t \mapsto exp(- r^{\text{c}}(t) \cdot t) \) - with \( r^{\text{c}}(t) \) the risk free ratevolatility
- \( \sigma \) the initial volatility leveldiscountCurveForDiscountRate
- The curve specifying \( t \mapsto exp(- r^{\text{d}}(t) \cdot t) \) - with \( r^{\text{d}}(t) \) the discount ratetheta
- \( \theta \) - the mean reversion level of the stochastic volatilitykappa
- \( \kappa \) - the mean reversion speed of the stochastic volatilityxi
- \( \xi \) - the volatility of volatilityrho
- \( \rho \) - the correlation of the Brownian driverspublic HestonModel(double initialValue, double riskFreeRate, double volatility, double discountRate, double theta, double kappa, double xi, double rho)
initialValue
- \( S_{0} \) - spot - initial value of SriskFreeRate
- \( r^{\text{c}} \) - the risk free ratevolatility
- \( \sigma \) the initial volatility leveldiscountRate
- \( r^{\text{d}} \) - the discount ratetheta
- \( \theta \) - the mean reversion level of the stochastic volatilitykappa
- \( \kappa \) - the mean reversion speed of the stochastic volatilityxi
- \( \xi \) - the volatility of volatilityrho
- \( \rho \) - the correlation of the Brownian driverspublic HestonModel(double initialValue, double riskFreeRate, double volatility, double theta, double kappa, double xi, double rho)
public CharacteristicFunctionInterface apply(double time)
ProcessCharacteristicFunctionInterface
this
stochastic process.apply
in interface ProcessCharacteristicFunctionInterface
time
- The time at which the stochastic process is observed.Copyright © 2017. All rights reserved.