Uses of Record Class
com.quantfinlib.pricing.Heston.Params
Packages that use Heston.Params
Package
Description
Option and derivatives pricing models, implied volatility and volatility
surfaces.
-
Uses of Heston.Params in com.quantfinlib.pricing
Methods in com.quantfinlib.pricing that return Heston.ParamsModifier and TypeMethodDescriptionHestonCalibrator.Result.params()Returns the value of theparamsrecord component.Methods in com.quantfinlib.pricing with parameters of type Heston.ParamsModifier and TypeMethodDescriptionstatic HestonCalibrator.ResultHestonCalibrator.calibrate(double spot, double rate, double divYield, double[] strikes, double[] maturities, double[] impliedVols, Heston.Params initial) Calibrates with at most 200 iterations and tolerance 1e-12.static HestonCalibrator.ResultHestonCalibrator.calibrate(double spot, double rate, double divYield, double[] strikes, double[] maturities, double[] impliedVols, Heston.Params initial, int maxIterations, double tolerance) Calibrates to quotes(strikes[i], maturities[i], impliedVols[i]).static doubleHeston.call(double spot, double strike, double rate, double divYield, double timeYears, Heston.Params p) European call under Heston (semi-analytic).static doubleHeston.callMonteCarlo(double spot, double strike, double rate, double divYield, double timeYears, Heston.Params p, int steps, int paths, long seed) Full-truncation Euler Monte Carlo — the pricing cross-check (used by the tests to validate the semi-analytic integral, and usable for payoffs the closed form cannot reach).static doubleHestonCos.delta(BlackScholes.OptionType type, double spot, double strike, double rate, double divYield, double timeYears, Heston.Params p) Delta dV/dS from the expansion (analytic in x = ln(S/K)).static doubleHestonCos.gamma(double spot, double strike, double rate, double divYield, double timeYears, Heston.Params p) Gamma d2V/dS2 (same for calls and puts).static double[]HestonCos.parameterGradient(double spot, double strike, double rate, double divYield, double timeYears, Heston.Params p) Gradient of the price with respect to (kappa, theta, sigmaV, rho, v0), identical for calls and puts since parity does not involve the model.static doubleHestonCos.price(BlackScholes.OptionType type, double spot, double strike, double rate, double divYield, double timeYears, Heston.Params p) European price with the default number of terms and truncation.static doubleHestonCos.price(BlackScholes.OptionType type, double spot, double strike, double rate, double divYield, double timeYears, Heston.Params p, int terms, double truncation) European price.static doubleHeston.put(double spot, double strike, double rate, double divYield, double timeYears, Heston.Params p) European put via put-call parity.static doubleHestonCos.vegaV0(double spot, double strike, double rate, double divYield, double timeYears, Heston.Params p) Sensitivity to the initial variance, dV/dv0 (same for calls and puts).Constructors in com.quantfinlib.pricing with parameters of type Heston.ParamsModifierConstructorDescriptionResult(Heston.Params params, double impliedVolRmse, int iterations, boolean converged) Creates an instance of aResultrecord class.