Heston model: analytic European call and QE Monte Carlo.
Definition heston.hpp:9
McResult call_qe_mc(const McParams &p)
Definition heston.cpp:124
double implied_vol_call(const MarketParams &mkt, const Params &h)
Black–Scholes implied volatility implied by the Heston analytic call price.
Definition heston.cpp:119
std::complex< double > characteristic_function(double u, const MarketParams &mkt, const Params &h)
Risk-neutral characteristic function φ(u) = E[e^{iu ln S_T}].
Definition heston.cpp:115
double call_analytic(const MarketParams &mkt, const Params &h)
Definition heston.cpp:101
Mode
RNG mode selection: traditional PRNG or deterministic counter-based.
Definition rng.hpp:13
@ Counter
Counter-based, reproducible across threading schedules.
double time
Definition heston.hpp:24
double rate
Definition heston.hpp:22
double spot
Definition heston.hpp:20
double strike
Definition heston.hpp:21
double dividend
Definition heston.hpp:23
bool antithetic
Definition heston.hpp:47
Scheme scheme
Definition heston.hpp:50
int num_steps
Definition heston.hpp:46
Scheme
Definition heston.hpp:49
quant::rng::Mode rng
Definition heston.hpp:48
MarketParams mkt
Definition heston.hpp:42
Params h
Definition heston.hpp:43
std::uint64_t seed
Definition heston.hpp:45
std::uint64_t num_paths
Definition heston.hpp:44
double price
Definition heston.hpp:37
double std_error
Definition heston.hpp:38
double kappa
Definition heston.hpp:12
double v0
Definition heston.hpp:16
double rho
Definition heston.hpp:15
double sigma
Definition heston.hpp:14
double theta
Definition heston.hpp:13