|
quant-pricer-cpp
|
PDE pricing parameters and grid configuration. More...
#include <pde.hpp>
Collaboration diagram for quant::pde::PdeParams:Public Types | |
| enum class | UpperBoundary { Dirichlet , Neumann } |
| Upper boundary condition type. More... | |
Public Attributes | |
| bool | compute_theta {false} |
| Request backward-difference Theta in addition to price/Delta/Gamma. | |
| double | dividend |
| std::optional< quant::PiecewiseConstant > | dividend_schedule {} |
| GridSpec | grid |
| bool | log_space {false} |
| Use log-space grid x = ln(S) for improved stability near boundaries. | |
| double | rate |
| std::optional< quant::PiecewiseConstant > | rate_schedule {} |
| double | spot |
| double | strike |
| double | time |
| ::quant::OptionType | type |
| UpperBoundary | upper_boundary {UpperBoundary::Dirichlet} |
| bool | use_rannacher {true} |
| Apply two-step Rannacher start-up when true. | |
| double | vol |
| std::optional< quant::PiecewiseConstant > | vol_schedule {} |
PDE pricing parameters and grid configuration.
|
strong |
| bool quant::pde::PdeParams::compute_theta {false} |
Request backward-difference Theta in addition to price/Delta/Gamma.
| double quant::pde::PdeParams::dividend |
| std::optional<quant::PiecewiseConstant> quant::pde::PdeParams::dividend_schedule {} |
| GridSpec quant::pde::PdeParams::grid |
| bool quant::pde::PdeParams::log_space {false} |
Use log-space grid x = ln(S) for improved stability near boundaries.
| double quant::pde::PdeParams::rate |
| std::optional<quant::PiecewiseConstant> quant::pde::PdeParams::rate_schedule {} |
| double quant::pde::PdeParams::spot |
| double quant::pde::PdeParams::strike |
| double quant::pde::PdeParams::time |
| ::quant::OptionType quant::pde::PdeParams::type |
| UpperBoundary quant::pde::PdeParams::upper_boundary {UpperBoundary::Dirichlet} |
| bool quant::pde::PdeParams::use_rannacher {true} |
Apply two-step Rannacher start-up when true.
| double quant::pde::PdeParams::vol |
| std::optional<quant::PiecewiseConstant> quant::pde::PdeParams::vol_schedule {} |