pub enum HestonScheme {
FullTruncation,
QuadraticExponential,
}Expand description
Heston-specific stepping schemes — model-owned, because good variance stepping is genuinely model-specific and no generic Euler/Milstein switch covers it (the QuantLib / TF Quant Finance pattern).
Variants§
FullTruncation
Euler with the variance floored at zero inside the coefficients while the state keeps its (possibly negative) excursion; log-Euler spot stepping. Simple, O(dt) biased.
QuadraticExponential
Andersen (2008) Quadratic-Exponential with martingale correction
(QE-M): the variance transition is moment-matched to the exact
non-central chi-squared law — a squared Gaussian where the
distribution is peaked (psi <= 1.5), a mass-at-zero /
exponential-tail mixture where it is not — and the spot step’s
constant is chosen so E[S_{t+dt} | S_t, v_t] is exact. Near
bias-free even with coarse time grids.
Trait Implementations§
Source§impl Clone for HestonScheme
impl Clone for HestonScheme
Source§fn clone(&self) -> HestonScheme
fn clone(&self) -> HestonScheme
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more