|
quant-pricer-cpp
|
#include <mc.hpp>
Public Types | |
| enum class | Bridge { None , BrownianBridge } |
| enum class | Qmc { None , Sobol , SobolScrambled } |
Public Attributes | |
| bool | antithetic {true} |
| Bridge | bridge {Bridge::None} |
| bool | control_variate {true} |
| double | dividend |
| std::optional< quant::PiecewiseConstant > | dividend_schedule {} |
| std::uint64_t | num_paths |
| int | num_steps {1} |
| Qmc | qmc {Qmc::None} |
| double | rate |
| std::optional< quant::PiecewiseConstant > | rate_schedule {} |
| quant::rng::Mode | rng {quant::rng::Mode::Counter} |
| std::uint64_t | seed |
| double | spot |
| double | strike |
| double | time |
| double | vol |
| std::optional< quant::PiecewiseConstant > | vol_schedule {} |
Monte Carlo parameters for European option pricing.
Configure the simulation engine, variance reduction, and RNG sampler.
|
strong |
|
strong |
| bool quant::mc::McParams::antithetic {true} |
| Bridge quant::mc::McParams::bridge {Bridge::None} |
| bool quant::mc::McParams::control_variate {true} |
| double quant::mc::McParams::dividend |
| std::optional<quant::PiecewiseConstant> quant::mc::McParams::dividend_schedule {} |
| std::uint64_t quant::mc::McParams::num_paths |
| int quant::mc::McParams::num_steps {1} |
| double quant::mc::McParams::rate |
| std::optional<quant::PiecewiseConstant> quant::mc::McParams::rate_schedule {} |
| quant::rng::Mode quant::mc::McParams::rng {quant::rng::Mode::Counter} |
| std::uint64_t quant::mc::McParams::seed |
| double quant::mc::McParams::spot |
| double quant::mc::McParams::strike |
| double quant::mc::McParams::time |
| double quant::mc::McParams::vol |
| std::optional<quant::PiecewiseConstant> quant::mc::McParams::vol_schedule {} |