public class HestonModel extends Object implements CharacteristicFunctionModel
| Constructor and Description |
|---|
HestonModel(double initialValue,
DiscountCurve discountCurveForForwardRate,
double volatility,
DiscountCurve 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)
|
HestonModel(LocalDate referenceDate,
double initialValue,
DiscountCurve discountCurveForForwardRate,
double volatility,
DiscountCurve discountCurveForDiscountRate,
double theta,
double kappa,
double xi,
double rho)
Create a Heston model (characteristic function)
|
| Modifier and Type | Method and Description |
|---|---|
CharacteristicFunction |
apply(double time)
Returns the characteristic function of X(t), where X is
this stochastic process. |
public HestonModel(LocalDate referenceDate, double initialValue, DiscountCurve discountCurveForForwardRate, double volatility, DiscountCurve discountCurveForDiscountRate, double theta, double kappa, double xi, double rho)
referenceDate - The date representing the time t = 0. All other double times are following FloatingpointDate.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,
DiscountCurve discountCurveForForwardRate,
double volatility,
DiscountCurve 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 CharacteristicFunction apply(double time)
CharacteristicFunctionModelthis stochastic process.apply in interface CharacteristicFunctionModeltime - The time at which the stochastic process is observed.Copyright © 2019. All rights reserved.