Monte Carlo GBM pricer with antithetic variates and optional control variate.
Definition mc.hpp:12
McResult price_european_call(const McParams &p)
Definition mc.cpp:370
GreeksResult greeks_european_call(const McParams &p)
Definition mc.cpp:474
Mode
RNG mode selection: traditional PRNG or deterministic counter-based.
Definition rng.hpp:13
@ Counter
Counter-based, reproducible across threading schedules.
Monte Carlo Greeks result (mean/SE/CI per estimator).
Definition mc.hpp:61
McStatistic gamma_mixed
Definition mc.hpp:65
McStatistic vega
Definition mc.hpp:63
McStatistic gamma_lrm
Definition mc.hpp:64
McStatistic delta
Definition mc.hpp:62
McStatistic theta
Definition mc.hpp:66
double spot
Definition mc.hpp:18
Bridge
Definition mc.hpp:30
Qmc qmc
Definition mc.hpp:31
Bridge bridge
Definition mc.hpp:32
std::uint64_t seed
Definition mc.hpp:25
double vol
Definition mc.hpp:22
int num_steps
Definition mc.hpp:33
bool control_variate
Definition mc.hpp:27
std::optional< quant::PiecewiseConstant > vol_schedule
Definition mc.hpp:37
double strike
Definition mc.hpp:19
bool antithetic
Definition mc.hpp:26
std::uint64_t num_paths
Definition mc.hpp:24
std::optional< quant::PiecewiseConstant > dividend_schedule
Definition mc.hpp:36
quant::rng::Mode rng
Definition mc.hpp:28
std::optional< quant::PiecewiseConstant > rate_schedule
Definition mc.hpp:35
double time
Definition mc.hpp:23
double dividend
Definition mc.hpp:21
double rate
Definition mc.hpp:20
Monte Carlo pricing result.
Definition mc.hpp:49
McStatistic estimate
Definition mc.hpp:50
Summary of a Monte Carlo estimator (mean, standard error, 95% CI)
Definition mc.hpp:41
double std_error
Definition mc.hpp:43
double ci_high
Definition mc.hpp:45
double value
Definition mc.hpp:42
double ci_low
Definition mc.hpp:44