quantark 0.4.0__tar.gz → 0.4.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {quantark-0.4.0 → quantark-0.4.6}/.gitignore +3 -0
- {quantark-0.4.0 → quantark-0.4.6}/CHANGELOG.md +205 -0
- {quantark-0.4.0 → quantark-0.4.6}/PKG-INFO +4 -2
- quantark-0.4.6/docs/mc1d-perf/adapter-book/README.md +52 -0
- quantark-0.4.6/example/mo_volmodels/README.md +183 -0
- quantark-0.4.6/example/modelvalidation/README.md +57 -0
- {quantark-0.4.0 → quantark-0.4.6}/pyproject.toml +7 -1
- {quantark-0.4.0 → quantark-0.4.6}/quantark/__init__.py +1 -1
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/base_engine.py +31 -7
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/phoenix_mc_engine.py +38 -4
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/phoenix_vol_mc_engines.py +19 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/snowball_mc_engine.py +37 -2
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/snowball_vol_mc_engines.py +90 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/ko_reset_snowball_pde_solver.py +35 -6
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/pde_execution_adapters.py +5 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/phoenix_pde_solver.py +214 -36
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/phoenix_vol_pde_solvers.py +30 -4
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/snowball_pde_solver.py +331 -21
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/snowball_vol_pde_solvers.py +65 -3
- quantark-0.4.6/quantark/asset/equity/engine/pde/vol_continuous_ki.py +163 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde_engine.py +34 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/quad/ko_reset_snowball_quad_engine.py +44 -7
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/quad/phoenix_quad_engine.py +66 -8
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/quad/snowball_quad_engine.py +33 -4
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/lifecycle/autocallable.py +28 -2
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/lifecycle/state.py +34 -2
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/param/engine_params.py +43 -1
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/process/bsm/qmc_path_generator.py +6 -11
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/phoenix_option.py +47 -15
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/snowball_helpers.py +15 -2
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/__init__.py +8 -2
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/base.py +8 -2
- quantark-0.4.6/quantark/backtest/equity/metrics.py +190 -0
- quantark-0.4.0/quantark/backtest/otc/state.py → quantark-0.4.6/quantark/backtest/futures_ledger.py +44 -43
- {quantark-0.4.0/quantark/backtest/equity → quantark-0.4.6/quantark/backtest}/metrics.py +25 -156
- quantark-0.4.6/quantark/backtest/otc/__init__.py +91 -0
- quantark-0.4.6/quantark/backtest/otc/_replay.py +11 -0
- quantark-0.4.6/quantark/backtest/otc/book_engine.py +29 -0
- quantark-0.4.6/quantark/backtest/otc/config.py +11 -0
- quantark-0.4.6/quantark/backtest/otc/dashboard.py +11 -0
- quantark-0.4.6/quantark/backtest/otc/engine.py +11 -0
- quantark-0.4.6/quantark/backtest/otc/engine_factory.py +11 -0
- quantark-0.4.6/quantark/backtest/otc/market.py +11 -0
- quantark-0.4.6/quantark/backtest/otc/results.py +11 -0
- quantark-0.4.6/quantark/backtest/otc/state.py +11 -0
- quantark-0.4.6/quantark/backtest/otc/vol_calibrators.py +22 -0
- quantark-0.4.6/quantark/backtest/otc/vol_history.py +15 -0
- {quantark-0.4.0/quantark/backtest/otc → quantark-0.4.6/quantark/backtest/replay}/__init__.py +34 -18
- quantark-0.4.6/quantark/backtest/replay/config.py +354 -0
- quantark-0.4.0/quantark/backtest/otc/book_engine.py → quantark-0.4.6/quantark/backtest/replay/engine.py +205 -124
- quantark-0.4.6/quantark/backtest/replay/engine_factory.py +290 -0
- {quantark-0.4.0/quantark/backtest/otc → quantark-0.4.6/quantark/backtest/replay}/market.py +20 -2
- quantark-0.4.0/quantark/backtest/otc/_replay.py → quantark-0.4.6/quantark/backtest/replay/product_replay.py +210 -99
- quantark-0.4.6/quantark/backtest/replay/results.py +319 -0
- quantark-0.4.6/quantark/backtest/replay/schema.py +242 -0
- quantark-0.4.6/quantark/backtest/replay/single.py +188 -0
- quantark-0.4.6/quantark/backtest/replay/strategy_state.py +11 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/strategy/__init__.py +4 -0
- quantark-0.4.6/quantark/backtest/strategy/futures_delta_strategy.py +113 -0
- quantark-0.4.6/quantark/modelvalidation/__init__.py +45 -0
- quantark-0.4.6/quantark/modelvalidation/__main__.py +7 -0
- quantark-0.4.6/quantark/modelvalidation/amendment.py +258 -0
- quantark-0.4.6/quantark/modelvalidation/anchors.py +204 -0
- quantark-0.4.6/quantark/modelvalidation/builders/__init__.py +20 -0
- quantark-0.4.6/quantark/modelvalidation/builders/equity_ko_reset.py +483 -0
- quantark-0.4.6/quantark/modelvalidation/builders/equity_phoenix.py +451 -0
- quantark-0.4.6/quantark/modelvalidation/builders/equity_snowball.py +585 -0
- quantark-0.4.6/quantark/modelvalidation/builders/european_selftest.py +287 -0
- quantark-0.4.6/quantark/modelvalidation/candidate.py +143 -0
- quantark-0.4.6/quantark/modelvalidation/cli.py +184 -0
- quantark-0.4.6/quantark/modelvalidation/decisions.py +91 -0
- quantark-0.4.6/quantark/modelvalidation/engine_config.py +70 -0
- quantark-0.4.6/quantark/modelvalidation/evidence.py +226 -0
- quantark-0.4.6/quantark/modelvalidation/gates.py +189 -0
- quantark-0.4.6/quantark/modelvalidation/html_report.py +731 -0
- quantark-0.4.6/quantark/modelvalidation/pipeline.py +462 -0
- quantark-0.4.6/quantark/modelvalidation/reference.py +261 -0
- quantark-0.4.6/quantark/modelvalidation/registry.py +98 -0
- quantark-0.4.6/quantark/modelvalidation/report.py +243 -0
- quantark-0.4.6/quantark/modelvalidation/stopping.py +93 -0
- quantark-0.4.6/quantark/modelvalidation/study.py +246 -0
- quantark-0.4.6/quantark/modelvalidation/yaml_loader.py +245 -0
- quantark-0.4.6/quantark/montecarlo/bridge_kernels.py +194 -0
- quantark-0.4.6/quantark/montecarlo/gbm_kernels.py +105 -0
- quantark-0.4.6/quantark/montecarlo/qe_kernels.py +217 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/montecarlo/qmc_brownian_bridge.py +8 -40
- quantark-0.4.6/quantark/param/vol/surface_history.py +468 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/priceenv/term_sampling.py +11 -3
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/enum/__init__.py +2 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/enum/engine_enums.py +27 -0
- quantark-0.4.6/quantark/util/io.py +32 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/adi_core.py +9 -0
- quantark-0.4.6/quantark/volmodels/calibration.py +691 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/heston/calibration.py +16 -4
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/localvol/surface.py +48 -8
- quantark-0.4.6/test/replay_golden/README.md +99 -0
- quantark-0.4.0/example/mo_volmodels/README.md +0 -104
- quantark-0.4.0/quantark/backtest/otc/config.py +0 -175
- quantark-0.4.0/quantark/backtest/otc/engine.py +0 -420
- quantark-0.4.0/quantark/backtest/otc/engine_factory.py +0 -138
- quantark-0.4.0/quantark/backtest/otc/results.py +0 -161
- {quantark-0.4.0 → quantark-0.4.6}/LICENSE +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/NOTICE +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/README.md +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/docs/execution/README.md +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/_compat.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/analytical/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/analytical/black_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/analytical/bond_forward_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/analytical/bond_futures_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/convertible/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/convertible/convertible_bond_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/discount/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/discount/bond_discount_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/discount/frn_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/pde/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/pde/convertible/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/pde/convertible/jump_diffusion_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/pde/convertible/pde_params.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/pde/convertible/tf_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/tree/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/tree/convertible/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/tree/convertible/binomial_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/tree/convertible/tree_params.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/engine/tree/convertible/trinomial_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/product/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/product/base_bond_product.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/product/convertible/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/product/convertible/convertible_bond.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/product/couponbond/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/product/couponbond/fixed_bond.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/product/couponbond/frn.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/product/forward/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/product/forward/base_bond_forward.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/product/forward/bond_forward.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/product/futures/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/product/futures/bond_futures.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/product/option/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/product/option/euro_short_term_bond_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/riskmeasures/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/riskmeasures/bond_greeks_calculator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/schedule/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/bond/schedule/cashflow.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/credit/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/credit/conventions.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/credit/engine/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/credit/engine/analytical/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/credit/engine/analytical/reduced_form.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/credit/engine/base_credit_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/credit/engine/mc/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/credit/engine/mc/basket_copula.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/credit/engine/schedule.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/credit/product/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/credit/product/base_credit_product.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/credit/product/basket_cds.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/credit/product/cds.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/credit/riskmeasures/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/credit/riskmeasures/credit_greeks_calculator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/analysis/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/analysis/autocallable_path_analyzer.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/analytical/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/analytical/accumulator_analytical_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/analytical/american_option_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/analytical/asian_option_analytical_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/analytical/barrier_analytical_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/analytical/black_scholes_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/analytical/deltaone_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/analytical/digital_option_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/analytical/double_barrier_option_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/analytical/double_sharkfin_option_analytical_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/analytical/heston_analytical_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/analytical/one_touch_analytical_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/analytical/range_accrual_analytical_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/analytical/single_sharkfin_option_analytical_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/capabilities.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/cashflow/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/cashflow/accrual_calculator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/cashflow/total_return_swap_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/cashflow/trs_cva_exposure.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/cashflow/trs_cva_repricer.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/cashflow/trs_valuation.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/docs/pde_event_projection_explainer.html +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/event_stats.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/localvol_greeks.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/accumulator_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/american_option_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/asian_option_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/autocallable_dask_batch.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/autocallable_execution_adapters.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/barrier_option_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/barrier_vol_mc_engines.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/dcn_execution_adapters.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/dcn_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/dcn_payoff.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/dcn_vol_mc_engines.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/digital_option_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/double_sharkfin_option_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/euro_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/heston_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/heston_slv_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/local_vol_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/qmc_draws.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/range_accrual_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/sabr_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/single_sharkfin_option_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/mc/term_inputs.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/american_pde_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/backward_operator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/barrier_pde_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/barrier_vol_pde_solvers.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/base_pde_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/dcn_pde_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/dcn_vol_pde_solvers.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/double_barrier_pde_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/double_one_touch_pde_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/european_pde_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/grid/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/grid/binder.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/grid/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/grid/events.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/grid/request.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/grid/space.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/grid/time.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/heston_pde_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/heston_slv_pde_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/local_vol_pde_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/one_touch_pde_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/pde/pde_session_prep.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/quad/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/quad/discrete_quad_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/quad/european_quad_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/quad/quad_adapters.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/quad/quad_core.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/quad/quad_math.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/quad/term_inputs.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/validation/script/benchmark_check_american_analytical.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/validation/script/benchmark_check_american_pde.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/validation/script/benchmark_check_asian_analytical.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/validation/script/benchmark_check_barrier_analytical.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/validation/script/benchmark_check_barrier_pde_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/validation/script/benchmark_check_digital_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/validation/script/benchmark_check_snowball_pde_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/validation/script/boundary_check_american_analytical.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/validation/script/boundary_check_american_pde.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/validation/script/boundary_check_asian_analytical.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/validation/script/boundary_check_barrier_analytical.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/validation/script/boundary_check_barrier_pde_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/validation/script/boundary_check_digital_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/validation/script/boundary_check_snowball_pde_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/validation/script/greeks_check_digital_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/validation/script/mc_comparison_barrier_pde.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/validation/script/quick_mc_compare.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/engine/validation/script/validation_stepdown_improved.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/lifecycle/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/lifecycle/barrier.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/lifecycle/events.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/lifecycle/manager.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/market/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/market/index_futures_curve.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/param/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/param/engine_param_profiles.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/process/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/process/bsm/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/process/bsm/bsm_process.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/process/bsm/qmc_brownian_bridge.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/process/bsm/qmc_rqmc_driver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/process/bsm/qmc_sobol.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/process/bsm/qmc_variance_reduction.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/process/sabr/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/process/sabr/sabr_process.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/base_equity_product.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/deltaone/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/deltaone/base_deltaone_product.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/deltaone/futures.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/deltaone/spot_instrument.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/accumulator_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/american_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/asian_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/barrier_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/base_equity_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/dcn_grid.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/dcn_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/dcn_schedule.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/digital_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/double_barrier_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/double_one_touch_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/double_sharkfin_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/european_vanilla_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/ko_reset_snowball_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/observation_schedule.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/one_touch_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/phoenix_config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/phoenix_helpers.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/range_accrual_config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/range_accrual_helpers.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/range_accrual_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/single_sharkfin_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/snowball_config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/option/snowball_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/swap/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/swap/base_swap.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/swap/multi_asset_trs.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/swap/one_asset_trs.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/swap/one_asset_trs_dual_ccy.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/swap/trs_event_handler.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/swap/trs_params.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/product/swap/trs_schedule.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/report/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/report/autocallable_risk_report.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/report/plotting.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/report/snowball_risk_comparison_report.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/report/surfaces.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/report/term_structure.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/riskmeasures/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/riskmeasures/bucketed_greeks.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/riskmeasures/greek_conventions_report.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/riskmeasures/greeks_calculator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/riskmeasures/surface_shock_pipeline.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/riskmeasures/surface_shock_scenarios.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/equity/riskmeasures/vol_model_risk.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/analytical/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/analytical/fx_deltaone_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/analytical/fx_digital_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/analytical/fx_foreign_range_accrual_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/analytical/fx_heston_analytical_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/analytical/fx_quanto_digital_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/analytical/fx_quanto_range_accrual_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/analytical/fx_quanto_vanilla_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/analytical/fx_range_accrual_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/analytical/garman_kohlhagen_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/analytical/vannavolga/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/analytical/vannavolga/arbitrage.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/analytical/vannavolga/attenuation.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/analytical/vannavolga/barrier_bs.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/analytical/vannavolga/vv_barrier.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/analytical/vannavolga/vv_barrier_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/analytical/vannavolga/vv_vanilla_barrier.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/base_fx_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/localvol_common.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/localvol_greeks.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/mc/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/mc/fx_barrier_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/mc/fx_mc_params.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/mc/fx_range_accrual_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/mc/fx_sharkfin_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/mc/fx_tarf_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/mc/fx_tarn_note_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/mc/heston_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/mc/heston_slv_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/mc/local_vol_mc_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/pde/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/pde/fx_pde_execution_adapters.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/pde/heston_pde_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/pde/heston_slv_pde_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/engine/pde/local_vol_pde_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/process/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/process/fx_gk_path_generator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/process/garman_kohlhagen_process.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/base_fx_product.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/currency_pair.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/deltaone/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/deltaone/base_fx_deltaone.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/deltaone/fx_forward.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/deltaone/fx_spot.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/deltaone/fx_swap.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/option/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/option/fx_barrier_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/option/fx_digital_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/option/fx_foreign_range_accrual_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/option/fx_one_touch_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/option/fx_quanto_digital_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/option/fx_quanto_range_accrual_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/option/fx_quanto_vanilla_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/option/fx_range_accrual_config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/option/fx_range_accrual_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/option/fx_sharkfin_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/option/fx_target_redemption_forward.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/option/fx_target_redemption_note.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/product/option/fx_vanilla_option.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/report/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/report/fx_report.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/riskmeasures/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/riskmeasures/fx_greeks_calculator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/fx/riskmeasures/vol_model_risk.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/rate/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/rate/engine/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/rate/engine/cap_floor_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/rate/engine/fra_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/rate/engine/irs_discount_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/rate/engine/swaption_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/rate/product/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/rate/product/cap_floor.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/rate/product/fra.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/rate/product/irs.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/rate/product/swaption.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/asset/vol_model_risk.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/credit/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/credit/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/credit/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/credit/results.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/dashboard.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/equity/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/equity/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/equity/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/equity/hedge_executor.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/equity/multi_hedge_executor.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/equity/results.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/equity/state.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/examples/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/examples/advanced_backtest.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/examples/basic_delta_hedge.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/examples/fi_dv01_hedge.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/fi/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/fi/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/fi/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/fi/hedge_executor.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/fi/metrics.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/fi/results.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/fi/state.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/fx/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/fx/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/fx/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/fx/results.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/logger.py +0 -0
- {quantark-0.4.0/quantark/backtest/otc → quantark-0.4.6/quantark/backtest/replay}/dashboard.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/report_generator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/strategy/barrier_trigger_strategy.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/strategy/base_strategy.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/strategy/convexity_neutral_strategy.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/strategy/credit_spread_neutral_strategy.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/strategy/delta_neutral_strategy.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/strategy/dv01_neutral_strategy.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/strategy/fx_delta_neutral_strategy.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/strategy/hedge_instruments.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/strategy/hedge_optimizer.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/strategy/min_variance_delta_strategy.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/strategy/multi_greek_strategy.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/strategy/scenario_hedge_strategy.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/strategy/scenarios.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/strategy/semi_static_strategy.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/strategy/triggered_hedge_strategy.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/strategy/whalley_wilmott_strategy.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/transaction_costs.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/backtest/visualizer.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/cashleg/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/cashleg/accrual_leg.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/cashleg/autocallable_leg.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/cashleg/base.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/cashleg/base_amount.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/cashleg/deterministic_leg.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/cashleg/event_distribution.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/cashleg/fixed_payoff_leg.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/cashleg/leg_schedule.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/cashleg/leg_valuator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/base.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/credit/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/credit/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/credit/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/credit/path_library.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/equity/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/fi/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/fi/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/fi/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/fi/results.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/fx/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/fx/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/fx/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/fx/path_library.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/lifecycle_manager.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/path/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/path/day_path.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/path/fi_path_library.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/path/path_builder.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/path/path_library.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/report/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/report/dynamic_report.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/report/visualizer.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/results/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/results/dynamic_results.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/dynamicscenario/results/result_exporter.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/api.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/backends/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/backends/admission.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/backends/dask_backend.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/backends/processes.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/backends/serial.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/backends/threads.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/cache/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/cache/artifacts.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/cache/draws.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/cache/fingerprint.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/capability_matrix.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/context.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/contracts.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/diagnostics.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/errors.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/greeks.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/inventory.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/kernel.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/leases.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/legacy_adapter.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/manifest.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/policy.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/prep/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/prep/dupire.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/prep/verify.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/registry.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/scenario/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/scenario/contracts.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/scenario/planner.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/scenario/registries.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/scenario/runner.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/scenario/validate.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/execution/scenario/worker.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/montecarlo/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/montecarlo/qmc_rqmc_driver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/montecarlo/qmc_sobol.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/montecarlo/qmc_variance_reduction.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/basis/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/basis/basis_yield.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/credit/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/credit/ajd_hazard_curve.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/credit/hazard_curve.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/div/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/div/dividend_yield.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/div/forward_carry_curve.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/extrapolation.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/index/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/index/rate_index.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/node_roles.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/quote/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/quote/spot_quote.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/rrf/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/rrf/key_rate.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/rrf/rate_curve.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/term_sampling.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/collapse_guard.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/marketquotes.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/sabr/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/sabr/calibration.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/sabr/diagnostics.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/sabr/hagan.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/sabr/sabr_surface.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/sticky.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/svi/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/svi/svi_fit.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/svi/svi_surface.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/vannavolga/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/vannavolga/bs_fx.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/vannavolga/market_conventions.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/vannavolga/smile_builder.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/vannavolga/vv_core.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/vannavolga/vv_surface.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/vannavolga/vv_term_structure.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/param/vol/vol_surface.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/portfolio/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/portfolio/base.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/portfolio/credit/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/portfolio/credit/portfolio.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/portfolio/credit/position.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/portfolio/equity/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/portfolio/equity/futures_buckets.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/portfolio/equity/portfolio.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/portfolio/equity/position.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/portfolio/equity/swap_position.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/portfolio/fi/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/portfolio/fi/portfolio.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/portfolio/fi/position.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/portfolio/fx/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/portfolio/fx/portfolio.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/portfolio/fx/position.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/portfolio/portfolio_snapshot.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/portfolio/portfolio_storage.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/priceenv/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/priceenv/credit_pricing_environment.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/priceenv/flat_builders.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/priceenv/fx_pricing_environment.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/priceenv/market_context.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/priceenv/pricing_environment.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/rfq/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/rfq/builders.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/rfq/models.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/rfq/registry.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/rfq/service.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/calculator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/dashboard.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/engines/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/engines/addons/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/engines/addons/base.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/engines/addons/commodity.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/engines/addons/credit.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/engines/addons/equity.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/engines/addons/fx.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/engines/addons/interest_rate.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/engines/maths.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/engines/pfe.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/engines/replacement_cost.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/models/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/models/enums.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/models/netting_set.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/models/trade.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/parameters/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/parameters/supervisory.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/results/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/saccr/results/result.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/calculator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/cva/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/cva/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/dashboard.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/engines/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/engines/base.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/engines/commodity.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/engines/correlations.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/engines/counterparty_credit.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/engines/equity.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/engines/fx.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/engines/interest_rate.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/engines/reference_credit.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/asof.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/correlation.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/curves.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/grid.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/historical/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/historical/calibration.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/historical/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/historical/path_generator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/historical/pfe.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/historical/resampling.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/paths.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/phoenix_surface.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/repricer.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/simulator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/snowball_surface.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/statemachine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/exposure/value_surface.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/models/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/models/enums.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/models/portfolio.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/models/sensitivity.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/parameters/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/parameters/supervisory.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/portfolio/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/portfolio/counterparty.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/portfolio/credit_curve.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/portfolio/netting.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/portfolio/trade.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/portfolio/trade_portfolio.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/results/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/results/result.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/sacva_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/sensitivities/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/sensitivities/curve_bump.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/sensitivities/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/sacva/sensitivities/shifts.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/calibration/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/calibration/accessors.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/calibration/commodity.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/calibration/credit_non_qualifying.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/calibration/credit_qualifying.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/calibration/cross_risk.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/calibration/equity.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/calibration/fx.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/calibration/ir.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/calibration/version.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/crif/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/crif/models.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/crif/parser.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/dashboard.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/aggregation/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/aggregation/addon.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/aggregation/bucket_aggregator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/aggregation/concentration.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/aggregation/correlations.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/aggregation/product_class_aggregator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/aggregation/risk_class_aggregator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/aggregation/simm_calculator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/aggregation/weighted_sensitivity.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/base.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/classification/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/classification/bucket_mapper.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/factory.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/portfolio_adapter.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/result.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/risk_class/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/risk_class/equity_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/risk_class/ir_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/engines/risk_class/provider_engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/market_data.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/report/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/report/crif_export.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/report/excel_generator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/report/html_generator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/results/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/results/attribution.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/results/simm_result.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/results/whatif.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/sensitivity.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/taxonomy.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/template/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/template/xlsx_loader.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/simm/template/xlsx_template.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/base.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/credit/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/credit/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/credit/credit_stress_applicator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/credit/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/equity/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/equity/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/equity/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/equity/report/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/equity/report/report_generator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/equity/report/visualizer.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/equity/results.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/fi/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/fi/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/fi/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/fi/metrics.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/fi/results.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/fx/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/fx/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/fx/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/fx/fx_stress_applicator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/report/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/report/report_generator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/report/visualizer.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/results/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/results/result_aggregator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/results/result_exporter.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/results/stress_results.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/scenario/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/scenario/scenario.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/scenario/scenario_builder.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/scenario/scenario_library.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/scenario/scenario_storage.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/stress/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/stress/stress_applicator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/stresstest/stress/stress_types.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/barrier_shift.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/calendar/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/calendar/business_calendar.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/calendar/day_counter.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/calendar/holidayfile/china.csv +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/calendar/holidayfile/china_sse.csv +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/enum/bond_enums.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/enum/deltaone_enums.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/enum/fx_enums.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/enum/greek_conventions.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/enum/greeks_enums.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/enum/option_enums.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/exceptions.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/marketdata/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/marketdata/adapter/base_adapter.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/marketdata/adapter/mock_adapter.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/marketdata/converter.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/marketdata/example_usage.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/marketdata/generator/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/marketdata/generator/mock_generator.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/marketdata/models.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/marketdata/storage/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/marketdata/storage/parquet_storage.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/numerical/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/numerical/comparison.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/numerical/constants.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/numerical/finite_difference.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/numerical/formatting.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/numerical/pnl.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/numerical/safe_math.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/numerical/tridiag.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/util/numerical/validation.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/attribution.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/backtest/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/backtest/var_backtester.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/base.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/credit/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/credit/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/credit/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/credit/revaluation.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/engines/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/engines/historical.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/engines/monte_carlo.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/engines/parametric.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/fx/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/fx/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/fx/engine.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/fx/revaluation.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/results/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/results/incremental_var_result.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/results/var_report.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/results/var_result.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/risk_factors/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/risk_factors/base.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/risk_factors/equity_factors.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/var/risk_factors/fi_factors.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/barrier.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/black_scholes.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/curves.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/diagnostics.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/heston/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/heston/analytical_kernel.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/heston/from_quotes.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/heston/mc_kernel.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/heston/params.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/heston/pde_kernel.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/localvol/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/localvol/dupire.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/localvol/mc_kernel.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/localvol/pde_kernel.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/risk/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/risk/contracts.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/risk/scenarios.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/slv/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/slv/fokkerplanck/__init__.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/slv/fokkerplanck/bootstrap.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/slv/fokkerplanck/calibration.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/slv/fokkerplanck/config.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/slv/fokkerplanck/coordinates.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/slv/fokkerplanck/fp_operators.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/slv/fokkerplanck/fp_solver.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/slv/leverage.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/slv/slv_mc_kernel.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark/volmodels/slv/slv_pde_kernel.py +0 -0
- {quantark-0.4.0 → quantark-0.4.6}/quantark_compat.pth +0 -0
|
@@ -5,6 +5,211 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
5
5
|
and the project adheres to [Semantic Versioning](https://semver.org/).
|
|
6
6
|
During 0.x the public API may still change between minor versions.
|
|
7
7
|
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.4.6] - 2026-08-20
|
|
11
|
+
|
|
12
|
+
0.4.5's test suite passed on the ARM64 machine its goldens were frozen on and
|
|
13
|
+
failed 28 tests on x86_64 Linux. Chasing that down found one genuine pricing
|
|
14
|
+
defect and a set of comparisons that were architecture-dependent by accident.
|
|
15
|
+
The published 0.4.5 package is unaffected except as noted below.
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- **Parallel-batch pricing of continuously monitored knock-in under Local Vol /
|
|
19
|
+
Heston / SLV Monte Carlo.** The per-step variance the Brownian-bridge crossing
|
|
20
|
+
estimate needs was held in a single engine attribute, written while simulating
|
|
21
|
+
and read while computing payoffs. The dask path (`use_dask=True`) submits every
|
|
22
|
+
batch through `delayed`/`compute` on the threaded scheduler, so batches sat
|
|
23
|
+
between their own generation and their payoffs concurrently on one engine and
|
|
24
|
+
overwrote each other — 20,000 paths over 3 batches is 6667/6667/6666. Now
|
|
25
|
+
scoped per thread, which is where a batch begins and ends. A shape guard made
|
|
26
|
+
this raise rather than price one batch against another's variance, so no wrong
|
|
27
|
+
number could have been returned; serial pricing was never affected.
|
|
28
|
+
- `quantark.modelvalidation.anchors`: comparing a banked certificate off the
|
|
29
|
+
banking machine now floors the tolerance at the suite's cross-architecture
|
|
30
|
+
standard (`DEFAULT_REL_TOL` 1e-12 → 1e-9, `DEFAULT_ABS_TOL` 1e-15 → 1e-12).
|
|
31
|
+
Measured across 326 anchors, x86_64-vs-ARM64 drift spans 1e-14 to 2.2e-11
|
|
32
|
+
relative (median 2.0e-12, both signs, no outlier of a different order): last-ULP
|
|
33
|
+
differences in FMA contraction, libm transcendentals and BLAS kernels, amplified
|
|
34
|
+
by an autocallable PDE/QUAD solve marching hundreds of steps through barrier
|
|
35
|
+
events. The bound keeps ~44x margin over that and stays six orders under any
|
|
36
|
+
real numerics change. Applied as a floor on each banked file's own tolerances,
|
|
37
|
+
so already-banked evidence is corrected without its anchored *values* being
|
|
38
|
+
touched. Same-machine comparison remains exact.
|
|
39
|
+
|
|
40
|
+
### Changed (tests)
|
|
41
|
+
- The replay golden gate compares floats against each column's scale rather than
|
|
42
|
+
bitwise. These frames carry bump derivatives, so the rounding noise is set by
|
|
43
|
+
the magnitude of the price being differenced and is near-constant in absolute
|
|
44
|
+
terms down a column: gamma drifts 4.6e-10 against a column max of 43, and the
|
|
45
|
+
same quantity in cash drifts 3.8e-8 against 4,301 — one ratio, ~1e-11. Column
|
|
46
|
+
names and order, row count, and integer, string and date columns still compare
|
|
47
|
+
exactly. New tests pin the tolerance itself: it admits the measured drift,
|
|
48
|
+
rejects 1e-6 of column scale, and every real golden frame is checked against a
|
|
49
|
+
simulated drift locally, because bitwise-identical frames short-circuit before
|
|
50
|
+
any tolerance is consulted and made earlier calibration bugs invisible here.
|
|
51
|
+
- Two cross-architecture anchor tests hardcoded the fingerprint
|
|
52
|
+
`{"machine": "x86_64", "system": "Linux"}` — which is the CI machine, so there
|
|
53
|
+
they took the same-machine *exact* branch, the opposite of what they verify.
|
|
54
|
+
They now derive a fingerprint that cannot be the current machine.
|
|
55
|
+
- `test_event_stats_pruning` pinned a PV of ~9.9e5 with a `1e-6` absolute
|
|
56
|
+
epsilon, i.e. 1e-12 relative — tighter than the measured drift, passing on
|
|
57
|
+
margin rather than by design. Now on the documented cross-arch tolerance.
|
|
58
|
+
- A settlement fixture placed a strike exactly on the parity-implied forward.
|
|
59
|
+
Stage 10 splits OTM puts from calls with `strike < forward` against an
|
|
60
|
+
OLS-regressed forward, so that strike changed side with the last ULP of the
|
|
61
|
+
regression. The grid now keeps every strike clear of the forward.
|
|
62
|
+
|
|
63
|
+
## [0.4.5] - 2026-08-19
|
|
64
|
+
|
|
65
|
+
Two programs land together: **model-release certification** — the first
|
|
66
|
+
module that decides whether an engine is fit to ship, and the numerics
|
|
67
|
+
fixes that decision surfaced — and the **backtest replay consolidation**.
|
|
68
|
+
|
|
69
|
+
### Model-release certification
|
|
70
|
+
|
|
71
|
+
#### Added
|
|
72
|
+
- `quantark.modelvalidation`: engine-release certification. A study YAML
|
|
73
|
+
declares the product, the market environment, the candidate engines and
|
|
74
|
+
the economic scale; the runner prices every (candidate, case) cell against
|
|
75
|
+
a paired-RQMC benchmark, applies per-cell and aggregate-bias gates, and
|
|
76
|
+
emits a signed certificate, a Markdown/HTML report, and an *anchor file*.
|
|
77
|
+
Anchors are the cheap residue of an expensive run — the deterministic
|
|
78
|
+
engines' own outputs at the certified configurations — so CI can re-check
|
|
79
|
+
in seconds that a released engine still produces what its certificate
|
|
80
|
+
claims (exact on the banking machine, tolerance-based elsewhere).
|
|
81
|
+
`amend` extends a certification's scope while carrying unaffected cells
|
|
82
|
+
forward on identity hashes; scope may grow but never shrink.
|
|
83
|
+
Procedure: `docs/modelvalidation/RELEASE_PROCEDURE.md`.
|
|
84
|
+
- Banked flat-BSM certifications for snowball (23 cases), phoenix (14) and
|
|
85
|
+
KO-reset snowball (14), PDE and QUAD both ADMITTED, under
|
|
86
|
+
`docs/modelvalidation/certificates/`, covering the full product feature
|
|
87
|
+
surface: discrete / European / stepping knock-in, step-down and parachute
|
|
88
|
+
knock-out, reverse, airbag, protection types, participation, call rebate,
|
|
89
|
+
`disable_ko_after_ki`, and EXPIRY coupons.
|
|
90
|
+
|
|
91
|
+
#### Fixed
|
|
92
|
+
- **Continuous knock-in was monitored at the time-step width** by the
|
|
93
|
+
local-vol, Heston and SLV solvers, which were gated off the FIRST_PASSAGE
|
|
94
|
+
correction. The correction is barrier-local, so it never needed globally
|
|
95
|
+
constant coefficients — only the dynamics at the barrier. Each solver now
|
|
96
|
+
reports its own: `sigma_loc(barrier, t)` for local vol, one
|
|
97
|
+
`(mu, sigma^2)` per variance column for Heston, and `L(barrier,t)^2 * v`
|
|
98
|
+
for SLV. On a flat surface the local-vol solver had been bitwise identical
|
|
99
|
+
to the *uncorrected* flat-BSM solver (+0.099% of PV). Applies to the
|
|
100
|
+
snowball and phoenix families alike; the phoenix 2-D solvers had never
|
|
101
|
+
built the state at all.
|
|
102
|
+
- **The Monte Carlo continuous-KI Brownian bridge used the implied vol at
|
|
103
|
+
the strike** as the variance of every path and every step. The vol-model
|
|
104
|
+
engines now supply the log-variance their own scheme accumulated. Against
|
|
105
|
+
the closed-form first-passage probability the error falls from -10.0 / -8.5
|
|
106
|
+
/ -9.2 standard errors (Heston / local vol / SLV) to inside 4.
|
|
107
|
+
- The first-passage correction estimated its slope from a node that could sit
|
|
108
|
+
a fraction of a cell above the barrier, where the knock-in mask's own step
|
|
109
|
+
— not the slope — dominates. Sampling is now floored at half a cell.
|
|
110
|
+
- `PhoenixOption` never built its knock-in observation schedule, so a
|
|
111
|
+
discretely monitored phoenix raised instead of pricing.
|
|
112
|
+
- `disable_ko_after_ki` was ignored by the snowball and phoenix PDE solvers,
|
|
113
|
+
which wrote the knock-out payoff to the knocked-in surface as well.
|
|
114
|
+
- Phoenix `coupon_pay_type=EXPIRY` coupons roll up and are paid at
|
|
115
|
+
termination — the knock-out settlement when it knocks out, maturity
|
|
116
|
+
otherwise — and are never forfeited. All three engine families agree;
|
|
117
|
+
PDE and QUAD gained a termination-value surface to price it.
|
|
118
|
+
|
|
119
|
+
#### Changed
|
|
120
|
+
- Continuous knock-in prices move in the local-vol, Heston and SLV engines
|
|
121
|
+
(PDE and Monte Carlo). Discretely monitored, European and no-knock-in
|
|
122
|
+
products are bitwise unchanged, verified across 54 engine/product/
|
|
123
|
+
monitoring combinations; the sole exception is the opt-in
|
|
124
|
+
`KnockInMonitoringMode.BGK_APPROXIMATION`, which replaces a discrete
|
|
125
|
+
schedule with continuous monitoring by design.
|
|
126
|
+
|
|
127
|
+
### Backtest replay consolidation
|
|
128
|
+
|
|
129
|
+
(spec: `docs/superpowers/specs/2026-07-30-backtest-replay-consolidation-design.md`).
|
|
130
|
+
|
|
131
|
+
#### Added
|
|
132
|
+
- `quantark.backtest.replay`: canonical home of the product-replay backtest —
|
|
133
|
+
ONE multi-product daily loop (`ReplayBacktestEngine`/`ReplayBacktestConfig`/
|
|
134
|
+
`ReplayProduct`/`ReplayBacktestResults`); the single-product
|
|
135
|
+
`AutocallableBacktestEngine` is now a book-of-one wrapper with byte-identical
|
|
136
|
+
output (golden-gated). Book runs gain per-day vol-model calibration.
|
|
137
|
+
- `quantark.backtest.futures_ledger`: shared `FuturesHedgePosition` +
|
|
138
|
+
`FuturesRollPolicy`.
|
|
139
|
+
- `quantark.backtest.metrics.CorePerformanceMetrics`: cross-asset metrics over
|
|
140
|
+
the `BaseBacktestResults` protocol; replay results expose `.metrics` and the
|
|
141
|
+
full protocol; equity `PerformanceMetrics` now extends the core.
|
|
142
|
+
- `quantark.backtest.replay.schema`: typed row schemas — the single source of
|
|
143
|
+
truth for every record column.
|
|
144
|
+
- Pending-settlement KO termination: `terminate_on_lifecycle_end=True`
|
|
145
|
+
(default) ends a replay when terminal cash lands (observation vs settlement
|
|
146
|
+
are separate moments; discounted receivable carried in portfolio value);
|
|
147
|
+
summaries gain `termination_reason` / `days_replayed` / `days_in_contract`.
|
|
148
|
+
- `AutocallableEngineConfig.event_stats_fallback` (`"none"` default): the
|
|
149
|
+
silent 5000-path MC event-stats fallback is now opt-in, logged, and recorded
|
|
150
|
+
per row in the new `event_stats_engine` column.
|
|
151
|
+
- `BumpConfig.gamma_spot_bump`: engine-side asymmetric gamma bumping;
|
|
152
|
+
replay-side manual bumping removed (greeks are always
|
|
153
|
+
`engine.calculate_greeks`, failures raise — no silent zero-delta days).
|
|
154
|
+
- `AutocallableDeltaHedgeStrategy` joined the `BaseStrategy` hierarchy
|
|
155
|
+
(`quantark.backtest.strategy`).
|
|
156
|
+
|
|
157
|
+
#### Changed
|
|
158
|
+
- Relocations (old paths remain as `DeprecationWarning` shims until 0.5.0):
|
|
159
|
+
`quantark.backtest.otc.*` -> `quantark.backtest.replay.*`;
|
|
160
|
+
`otc.vol_calibrators` -> `quantark.volmodels.calibration`;
|
|
161
|
+
`otc.vol_history` -> `quantark.param.vol.surface_history`;
|
|
162
|
+
`_atomic_write_json` -> `quantark.util.io.atomic_write_json`.
|
|
163
|
+
- Replay books with `vol_model != "bsm"` reject non-Snowball products at
|
|
164
|
+
config construction (the vol-model engine factory is snowball-only).
|
|
165
|
+
- **Heston/Heston-SLV Snowball and Phoenix 2D PDE solvers default
|
|
166
|
+
`v0_boundary="degenerate_pde"`** (was the ADI core's `"neumann"`), and accept
|
|
167
|
+
it as a constructor argument. Smile-calibrated Heston sits near the Feller
|
|
168
|
+
boundary, where the Neumann treatment of the `v = 0` edge mis-prices by
|
|
169
|
+
−0.540% of notional against a QE-M MC reference while the degenerate
|
|
170
|
+
treatment holds +0.156%. `"neumann"` remains selectable for cross-checks.
|
|
171
|
+
**Prices change** for these four solvers at default settings.
|
|
172
|
+
- **Heston/Heston-SLV Snowball concentrated PDE grids default to a power-graded
|
|
173
|
+
variance axis** (`v_grid_power=2.5`) to resolve the near-zero layer around the
|
|
174
|
+
Feller boundary. `v_grid_power=0.0` retains the legacy concentrated mesh for
|
|
175
|
+
explicit cross-checks; uniform grids remain ungraded. **Snowball Heston/SLV
|
|
176
|
+
prices and finite-difference Greeks change** at default settings.
|
|
177
|
+
- **The `mo_frozen` Heston preset enforces the Feller condition**
|
|
178
|
+
(`enforce_feller=True`; the soft `regularize_feller` penalty is retained).
|
|
179
|
+
Deliberate divergence from the `mo_volmodels` diagnostics scripts, which keep
|
|
180
|
+
the soft-only policy. Feasibility is bought with smile accuracy — measured
|
|
181
|
+
across 762 CFFEX MO settlement surfaces: median 8.4 bp, p90 29.3 bp, max
|
|
182
|
+
217 bp of IV. On 6.6% of dates the constraint is met by driving vol-of-vol to
|
|
183
|
+
its lower bound, which degenerates Heston to deterministic variance; consumers
|
|
184
|
+
should screen on the new `feller_ratio`. Heston and Heston-SLV calibration
|
|
185
|
+
cache entries are invalidated automatically (the fingerprint embeds the
|
|
186
|
+
preset); `localvol` entries are unaffected.
|
|
187
|
+
|
|
188
|
+
#### Fixed
|
|
189
|
+
- `BaseEngine.calculate_greeks` and Gate G2's deterministic delta helper bypassed
|
|
190
|
+
`create_bump_context`, so Heston/SLV central spot bumps rebuilt their S grids even
|
|
191
|
+
though the solvers already provided a frozen-layout context. Base, up, down, and
|
|
192
|
+
separate gamma reprices now all use the resolved base-market context.
|
|
193
|
+
- `Heston2DAutocallableSessionAdapter` now preserves the Snowball solver's
|
|
194
|
+
`v_grid_power`; an explicit grading or legacy opt-out no longer disappears when
|
|
195
|
+
the execution session clones the engine. Gate metadata records the selected
|
|
196
|
+
value and Stage 12 forwards it into the production engine options.
|
|
197
|
+
- `calibrate_heston(enforce_feller=True)` failed closed on any problem where the
|
|
198
|
+
constraint was active at the optimum and `ftol` was loose. SLSQP satisfies
|
|
199
|
+
constraints only to about its own accuracy tolerance, but the feasibility
|
|
200
|
+
buffer was a constant `1e-8` — measured slack is ~1e-9 at `ftol=1e-8` but
|
|
201
|
+
~1.6e-7 at `ftol=1e-6`, so the strict post-check rejected every fit. The
|
|
202
|
+
buffer now scales as `max(1e-8, 10 * ftol)`; the post-check is unchanged and
|
|
203
|
+
still fails closed.
|
|
204
|
+
- `VolModelCalibrator` Heston records carry `feller_ratio` (`2*kappa*theta /
|
|
205
|
+
sigma**2`) alongside `feller_margin`. The margin is a difference and so is not
|
|
206
|
+
comparable across dates; the ratio is.
|
|
207
|
+
- `Heston2DAutocallableSessionAdapter._clone_engine` rebuilds the engine from an
|
|
208
|
+
explicit kwargs list and dropped `v0_boundary`, so a session or prepared-adapter
|
|
209
|
+
run silently priced with the default boundary while the direct call honoured the
|
|
210
|
+
constructor. Any 2D autocallable constructor argument omitted from that list
|
|
211
|
+
fails this way — silently, with no error.
|
|
212
|
+
|
|
8
213
|
## [0.4.0] - 2026-07-27
|
|
9
214
|
|
|
10
215
|
Clean rewrite of the PDE grid construction and event application layer
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: quantark
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.6
|
|
4
4
|
Summary: Modular derivatives pricing and risk library: options, autocallables, bonds, VaR, SIMM
|
|
5
5
|
Project-URL: Homepage, https://github.com/deiiiiii93/quantark
|
|
6
6
|
Project-URL: Repository, https://github.com/deiiiiii93/quantark
|
|
@@ -33,6 +33,8 @@ Requires-Dist: python-docx>=1.0.0
|
|
|
33
33
|
Requires-Dist: pyyaml>=6.0.0
|
|
34
34
|
Requires-Dist: scipy>=1.10.0
|
|
35
35
|
Requires-Dist: seaborn>=0.12.0
|
|
36
|
+
Provides-Extra: accel
|
|
37
|
+
Requires-Dist: numba>=0.59; extra == 'accel'
|
|
36
38
|
Provides-Extra: dev
|
|
37
39
|
Requires-Dist: dask[distributed]>=2024.1.0; extra == 'dev'
|
|
38
40
|
Requires-Dist: jsonschema>=4.0; extra == 'dev'
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Cross-repo validation harness: the otc-price-adapter trade book
|
|
2
|
+
|
|
3
|
+
Prices the adapter's real 99-row desk book under two quantark trees and
|
|
4
|
+
compares every PV/Greek as IEEE-754 hex. Results are in
|
|
5
|
+
`../DECISION-2026-08-10.md` ("Production validation").
|
|
6
|
+
|
|
7
|
+
These scripts read the adapter repo but never modify it.
|
|
8
|
+
|
|
9
|
+
## Requirements
|
|
10
|
+
|
|
11
|
+
A Python environment carrying BOTH the adapter's deps (`pandas`, `openpyxl`,
|
|
12
|
+
`tabulate`) and quantark's. The quant-ark `.venv` qualifies once `tabulate` is
|
|
13
|
+
installed, and it also has numba — so the accelerated path is exercised. The
|
|
14
|
+
adapter's own `.venv` has no numba, which is a useful second configuration:
|
|
15
|
+
it exercises the NumPy fallback and must produce the same numbers.
|
|
16
|
+
|
|
17
|
+
Do NOT install numba into the adapter's venv to "make it fast" — that
|
|
18
|
+
silently changes which backend the desk's production runs use.
|
|
19
|
+
|
|
20
|
+
## Running
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# one tree
|
|
24
|
+
cd /Users/fuxinyao/otc-price-adapter
|
|
25
|
+
PYTHONPATH=<quantark-tree> <venv>/bin/python book_probe.py \
|
|
26
|
+
--model mc --label PHASE1 --out /tmp/book_mc_phase1.json
|
|
27
|
+
|
|
28
|
+
# compare two dumps
|
|
29
|
+
<venv>/bin/python compare_books.py /tmp/book_mc_base.json /tmp/book_mc_phase1.json
|
|
30
|
+
|
|
31
|
+
# see where a single row spends its time
|
|
32
|
+
PYTHONPATH=<quantark-tree> <venv>/bin/python profile_row.py GJZQ-DCRX7-20260601-OPTION-01
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
`--model` matters: the adapter's shipped config uses `pde` for autocallables,
|
|
36
|
+
which never enters the Monte Carlo path. Use `--model mc` to exercise the MC
|
|
37
|
+
engines (88 of the 99 rows), and `--model pde` to prove the production config
|
|
38
|
+
is undisturbed.
|
|
39
|
+
|
|
40
|
+
Never run these as heredocs — `python -` cannot parent spawn workers, so
|
|
41
|
+
`--workers > 1` dies at bootstrap with an opaque error.
|
|
42
|
+
|
|
43
|
+
## Timings observed 2026-08-11 (serial, one host)
|
|
44
|
+
|
|
45
|
+
| Run | Wall |
|
|
46
|
+
|---|---|
|
|
47
|
+
| full book, MC mode | ~19 min per tree |
|
|
48
|
+
| diverse subset ×2 (16 rows), PDE mode | ~2.3 min per tree |
|
|
49
|
+
| diverse subset ×1 (9 rows), MC mode | ~16 s per tree |
|
|
50
|
+
|
|
51
|
+
The full book in PDE mode is ~1.5–2 h per tree (the adapter's own
|
|
52
|
+
`freeze_v023_baseline.py` says so); use the subset for PDE checks.
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
# MO Options Vol-Model Calibration Suite
|
|
2
|
+
|
|
3
|
+
A hands-on, staged example that calibrates **Dupire Local Volatility**, **Heston**, and
|
|
4
|
+
**Heston Stochastic-Local Volatility (SLV)** to real **CSI 1000 index option (MO / 中证1000股指期权,
|
|
5
|
+
underlying `000852.SH`)** market data pulled via AKShare, and renders the study as both a
|
|
6
|
+
self-contained HTML lecture and an evidence-led calibration explainer.
|
|
7
|
+
|
|
8
|
+
The models are European index options — no early exercise — which is exactly the clean setting
|
|
9
|
+
Dupire / Heston / SLV assume.
|
|
10
|
+
|
|
11
|
+
## The interpreter split (important)
|
|
12
|
+
|
|
13
|
+
Two Python environments are involved and **no single interpreter has both** libraries:
|
|
14
|
+
|
|
15
|
+
| Stage | Interpreter | Why |
|
|
16
|
+
|-------|-------------|-----|
|
|
17
|
+
| `01` fetch | `/opt/anaconda3/bin/python` | has `akshare`; also hosts the network-boundary fetch scripts |
|
|
18
|
+
| `02`–`10` | `.venv/bin/python` | has `quantark`, no `akshare` |
|
|
19
|
+
|
|
20
|
+
The four `01_*` scripts are the only network boundaries: two AKShare fetchers
|
|
21
|
+
(`01_fetch_mo_snapshot.py`, `01_refresh_market_cache.py`) and two official CFFEX
|
|
22
|
+
HTTP fetchers (`01_fetch_mo_settlement_history.py`, `01_bulk_fetch_settlement_history.py`).
|
|
23
|
+
They write frozen JSON **snapshots** / CSV caches that later stages replay **offline**.
|
|
24
|
+
A committed synthetic `mo_snapshot_sample.json` (arbitrage-free by construction) drives
|
|
25
|
+
the automated tests and lets 02–10 run with no network at all.
|
|
26
|
+
|
|
27
|
+
## Running it
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
# 1) live fetch — AKShare interpreter (optional; the sample snapshot works offline)
|
|
31
|
+
/opt/anaconda3/bin/python example/mo_volmodels/01_fetch_mo_snapshot.py
|
|
32
|
+
|
|
33
|
+
# 2-10) replay the snapshot — quantark .venv
|
|
34
|
+
.venv/bin/python example/mo_volmodels/02_build_iv_surface.py --snapshot latest
|
|
35
|
+
.venv/bin/python example/mo_volmodels/03_dupire_localvol.py --tag latest
|
|
36
|
+
.venv/bin/python example/mo_volmodels/04_heston_calibration.py --tag latest \
|
|
37
|
+
--bootstrap-reps 32 --bootstrap-seed 20260721
|
|
38
|
+
.venv/bin/python example/mo_volmodels/05_slv_calibration.py --tag latest
|
|
39
|
+
.venv/bin/python example/mo_volmodels/07_barrier_exotic.py --tag latest
|
|
40
|
+
.venv/bin/python example/mo_volmodels/08_snowball_exotic.py --tag latest
|
|
41
|
+
.venv/bin/python example/mo_volmodels/09_delta_hedging.py --tag latest
|
|
42
|
+
.venv/bin/python example/mo_volmodels/06_lecture.py --tag latest
|
|
43
|
+
.venv/bin/python example/mo_volmodels/10_explainer.py --tag latest
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
The genuine cross-date study is a separate official-settlement cohort:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
# Freeze CFFEX EOD settlement cross sections (or use --input-dir with downloaded CSVs).
|
|
50
|
+
/opt/anaconda3/bin/python example/mo_volmodels/01_fetch_mo_settlement_history.py \
|
|
51
|
+
--dates 20260430 20260515 20260615 20260630 20260706 20260715 20260720
|
|
52
|
+
|
|
53
|
+
# Fit every admitted date under one frozen configuration and aggregate stability evidence.
|
|
54
|
+
.venv/bin/python example/mo_volmodels/10_calibration_diagnostics.py \
|
|
55
|
+
--tags 20260430 20260515 20260615 20260630 20260706 20260715 20260720 \
|
|
56
|
+
--output-tag latest
|
|
57
|
+
|
|
58
|
+
# Replay the frozen CSVs into a per-date SABR-smoothed IV-surface history
|
|
59
|
+
# (vol history for multi-year backtests; resumable, fail-closed, offline).
|
|
60
|
+
.venv/bin/python example/mo_volmodels/03_build_iv_surface_history.py --workers 4
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Open the results:
|
|
64
|
+
|
|
65
|
+
- **`data/mo_volmodels_lecture_latest.html`** — long-form teaching material.
|
|
66
|
+
- **`data/mo_calibration_explainer_latest.html`** — decision-oriented calibration evidence,
|
|
67
|
+
in the same visual/document system as the CFETS USD/CNY explainer.
|
|
68
|
+
|
|
69
|
+
Every artifact is keyed by a `--tag` (`latest` for live data, `sample` for the deterministic
|
|
70
|
+
fixture) so the test pipeline and the live pipeline never clobber each other's files.
|
|
71
|
+
|
|
72
|
+
## Stages
|
|
73
|
+
|
|
74
|
+
| Script | Does |
|
|
75
|
+
|--------|------|
|
|
76
|
+
| `01_fetch_mo_snapshot.py` | AKShare MO chain + CSI 1000 spot → `data/mo_snapshot_*.json` |
|
|
77
|
+
| `01_fetch_mo_settlement_history.py` | official CFFEX daily-statistics CSV → immutable settlement snapshots with source hashes |
|
|
78
|
+
| `01_refresh_market_cache.py` | AKShare refresh of the multi-year CSI 1000 spot + IM futures caches → `data/history/csi1000_spot.csv`, `data/history/im_futures.csv` (fail-closed, atomic writes) |
|
|
79
|
+
| `01_bulk_fetch_settlement_history.py` | bulk official CFFEX HTTP download of every trading day's raw settlement CSV → `data/history/settlement_csv/` + resumable fail-closed manifest |
|
|
80
|
+
| `02_build_iv_surface.py` | **put-call parity** → r(T)/forward/carry; **OTM filter**; call-equivalent Black-IV inversion → `GridVolSurface` |
|
|
81
|
+
| `03_build_iv_surface_history.py` | replay every frozen settlement CSV offline → per-date SABR-smoothed IV surface + ATM pillars → `data/history/iv_surface/` + fail-closed `surface_manifest.json` (arb-validated via the Dupire input checks; gaps never filled) |
|
|
82
|
+
| `03_dupire_localvol.py` | Dupire σ_LV(K,T); reprice via local-vol PDE; RMSE + surface plot |
|
|
83
|
+
| `04_heston_calibration.py`| calibrate (v0,κ,θ,σ,ρ); quote-only Jacobian/SVD; maturity-stratified multiplier bootstrap; Feller check; smile-fit plot + RMSE |
|
|
84
|
+
| `05_slv_calibration.py` | Fokker-Planck leverage surface L(S,t); reprice via SLV PDE + plot |
|
|
85
|
+
| `07_barrier_exotic.py` | up-and-out call priced **MC and PDE** under BSM/LV/Heston/SLV → model-divergence table + bar chart |
|
|
86
|
+
| `08_snowball_exotic.py` | 2Y principal-excluded standard Snowball priced **MC and PDE** under BSM/LV/Heston QE/SLV plus standalone SLV QE MC → autocallable model-divergence table + bar chart |
|
|
87
|
+
| `09_delta_hedging.py` | ATM European call delta-neutral hedge demo under BSM flat vol/LV/Heston/SLV → hedge inventory, turnover, residual PnL + chart |
|
|
88
|
+
| `06_lecture.py` | weave everything into the HTML lecture + comparison CSV |
|
|
89
|
+
| `10_calibration_diagnostics.py` | normalized Heston fits across strictly comparable official CFFEX settlement dates → JSON/CSV/plot |
|
|
90
|
+
| `10_explainer.py` | fail-closed, artifact-driven eight-section verdict with interactive raw-smile, tenor-error, and official-settlement stability explorers |
|
|
91
|
+
| `_heston_diagnostics.py` | bound-aware finite-difference Jacobian, scaled SVD, and deterministic bootstrap summaries |
|
|
92
|
+
| `_mo_common.py` | shared helpers (snapshot IO, parity, OTM filter, IV inversion, env build, leverage, plots) |
|
|
93
|
+
|
|
94
|
+
Stage 07 exercises the standalone barrier engines added to `quantark`
|
|
95
|
+
(`quantark/volmodels/barrier.py` + the `*BarrierMCEngine` / `*BarrierPDESolver` classes under
|
|
96
|
+
`quantark/asset/equity/engine/`), which price a single-barrier option under Local Vol, Heston,
|
|
97
|
+
and SLV by both Monte Carlo and 2-D ADI PDE. Run it after stage 05:
|
|
98
|
+
`.venv/bin/python example/mo_volmodels/07_barrier_exotic.py --tag latest`.
|
|
99
|
+
|
|
100
|
+
Stage 08 exercises the Snowball vol-model engines under the same MO surface with a 2Y,
|
|
101
|
+
principal-excluded standard Snowball. It reports BSM, Local Vol, Heston QE, and SLV with
|
|
102
|
+
MC/PDE cross-checks where available, plus the standalone SLV QE MC engine for the
|
|
103
|
+
QE-specific stochastic-local-vol path scheme:
|
|
104
|
+
`.venv/bin/python example/mo_volmodels/08_snowball_exotic.py --tag latest`.
|
|
105
|
+
|
|
106
|
+
Stage 09 isolates hedging behavior. It adds a BSM flat-vol baseline, then holds the
|
|
107
|
+
calibrated LV surface, Heston parameters, and SLV leverage surface fixed while walking
|
|
108
|
+
the same deterministic spot path for an ATM European call and rebalancing to delta
|
|
109
|
+
neutral under each model:
|
|
110
|
+
`.venv/bin/python example/mo_volmodels/09_delta_hedging.py --tag latest`.
|
|
111
|
+
|
|
112
|
+
## Identification and cross-date evidence
|
|
113
|
+
|
|
114
|
+
Stage 04 now saves the calibration-node Jacobian of model implied vols, four explicit parameter
|
|
115
|
+
scalings, SVD singular directions/ranks/condition numbers, and every successful or failed
|
|
116
|
+
multiplier-bootstrap replicate. The Feller penalty is excluded from the Jacobian. Bootstrap
|
|
117
|
+
quantiles are conditional node-influence evidence for the fixed prepared target, **not**
|
|
118
|
+
statistical confidence intervals.
|
|
119
|
+
|
|
120
|
+
The cross-date stage does not recycle the single Sina snapshot under different labels. It uses
|
|
121
|
+
independently dated official CFFEX end-of-day settlement files, infers each expiry's discount
|
|
122
|
+
factor and forward from put-call parity, and calibrates normalized `K/F` and `C/(DF·F)` nodes.
|
|
123
|
+
Settlement and intraday midpoint cohorts stay separate because their price and execution
|
|
124
|
+
semantics differ.
|
|
125
|
+
|
|
126
|
+
Admission is fail-closed: ACT/365 maturities must lie between 7 and 365 days; selected OTM
|
|
127
|
+
settlements need positive volume and open interest on both wings; full-wing parity pillars must
|
|
128
|
+
stay inside the broad ±10% annual-rate and 1%-of-forward RMSE gates; at least five expiries and
|
|
129
|
+
80 nodes must remain; and every included date must match the explicitly persisted required
|
|
130
|
+
calibration configuration, source class, and price field. Trade dates and source hashes must be
|
|
131
|
+
unique. The expiry calendar
|
|
132
|
+
uses third Friday plus frozen holiday adjustments. There is no interpolation, extrapolation, or
|
|
133
|
+
smile smoothing in this cohort. Its SVD uses the square-root equal-expiry objective weights;
|
|
134
|
+
the unweighted quote Jacobian is retained separately for audit.
|
|
135
|
+
|
|
136
|
+
The current six-date admitted panel (2026-04-30 through 2026-07-15) is a short, caller-selected
|
|
137
|
+
preliminary study, not a systematic sample of all MO regimes. Full-wing parity is the frozen
|
|
138
|
+
primary normalization; a near-ATM regression is reported only as a sensitivity check. Raw
|
|
139
|
+
settlement monotonicity/convexity violations are counted without repair or silent rejection.
|
|
140
|
+
|
|
141
|
+
The formulas, scale policies, artifact semantics, caveats, and official-source links are in
|
|
142
|
+
[`MODEL_DIAGNOSTICS.md`](MODEL_DIAGNOSTICS.md). In particular, only the fixed-economic SVD scale
|
|
143
|
+
is intended for condition-number comparison across dates, and even full local rank does not
|
|
144
|
+
prove global identification.
|
|
145
|
+
|
|
146
|
+
## What the real data teaches
|
|
147
|
+
|
|
148
|
+
- **Negative basis.** The MO forward sits well below spot and falls with maturity; the parity
|
|
149
|
+
regression recovers a large implied carry `q` (10–20%) — not dividends, but the CSI 1000 futures
|
|
150
|
+
discount driven by structured-product hedging flows.
|
|
151
|
+
- **Raw quotes are not arbitrage-free.** Building Dupire directly hits butterfly-arbitrage
|
|
152
|
+
rejections at the wings/short end. The exact raw path *stops* (no fabricated local vol); the
|
|
153
|
+
default model path uses SABR smoothing plus calendar projection. A small `--vol-floor` remains
|
|
154
|
+
an explicit raw-surface diagnostic, not a production repair.
|
|
155
|
+
- **Parameter identification.** The latest Heston fit lands exactly on the configured κ and σ
|
|
156
|
+
upper bounds. The saved quote-only SVD and multiplier replicates now make local weak directions,
|
|
157
|
+
cap dependence, and conditional node sensitivity auditable rather than inferring identification
|
|
158
|
+
from optimizer success alone.
|
|
159
|
+
- **Cross-date evidence remains negative.** Six of seven requested official settlement dates pass
|
|
160
|
+
the frozen gates. Equal-expiry-weight Heston RMSE spans 0.71–19.05 vol points; the fixed-scale
|
|
161
|
+
Jacobian condition reaches about 30,659 with minimum effective rank 1; κ hits its cap on half
|
|
162
|
+
the dates; and ρ ranges from −0.482 to −0.038.
|
|
163
|
+
- **Settlement quality limits attribution.** The candidate cohort contains 90 convex-slope
|
|
164
|
+
violations across 31 expiry cross sections, and full-wing versus near-ATM parity sensitivity
|
|
165
|
+
reaches 0.694% in forward and 132 percentage points in annualized implied rate. The result is
|
|
166
|
+
that public EOD settlement evidence does not establish a robust Heston calibration—not that
|
|
167
|
+
every institutional MO feed must fail.
|
|
168
|
+
- **Objective ↔ numerics coupling.** Feller regularization prevents the most extreme variance
|
|
169
|
+
process, but the latest Heston fit still misses raw quotes by 2.22 vol points. A Feller ratio near
|
|
170
|
+
one is a numerical diagnostic, not proof of a good calibration.
|
|
171
|
+
- **Which model for which product.** Local-vol and SLV repricing misses raw quotes by roughly
|
|
172
|
+
4.73 and 4.85 vol points. Their barrier, Snowball, and hedging examples remain useful model-risk
|
|
173
|
+
demonstrations; the saved public snapshot does not qualify their dynamics for production.
|
|
174
|
+
|
|
175
|
+
## Tests
|
|
176
|
+
|
|
177
|
+
```bash
|
|
178
|
+
.venv/bin/python -m pytest test/mo_volmodels/ -v
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
All tests run on the deterministic `sample` snapshot (offline). See
|
|
182
|
+
`docs/superpowers/specs/2026-07-06-mo-volmodels-calibration-suite-design.md` and the matching
|
|
183
|
+
plan for the design rationale, and `quantark/volmodels/` for the model kernels.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Certification studies
|
|
2
|
+
|
|
3
|
+
Study files for `quantark.modelvalidation`. A study names *builders* and their
|
|
4
|
+
parameters; the builders construct the real pricing objects. That keeps a study
|
|
5
|
+
declarative and diffable, and lets a certificate carry its own definition
|
|
6
|
+
verbatim — so a banked certificate is re-runnable anywhere the builders exist.
|
|
7
|
+
|
|
8
|
+
## Running
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
# Wiring check (seconds; explicitly not bankable evidence)
|
|
12
|
+
python -m quantark.modelvalidation run example/modelvalidation/european_selftest.yaml --quick
|
|
13
|
+
|
|
14
|
+
# Real runs
|
|
15
|
+
python -m quantark.modelvalidation run example/modelvalidation/european_selftest.yaml
|
|
16
|
+
python -m quantark.modelvalidation run example/modelvalidation/snowball_flat_bsm.yaml
|
|
17
|
+
python -m quantark.modelvalidation run example/modelvalidation/phoenix_flat_bsm.yaml
|
|
18
|
+
python -m quantark.modelvalidation run example/modelvalidation/ko_reset_flat_bsm.yaml
|
|
19
|
+
|
|
20
|
+
# Resume an interrupted run (reuses checkpoints whose configuration still matches)
|
|
21
|
+
python -m quantark.modelvalidation run example/modelvalidation/snowball_flat_bsm.yaml --resume
|
|
22
|
+
|
|
23
|
+
# What builders and studies exist?
|
|
24
|
+
python -m quantark.modelvalidation list
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Output lands under `output/modelvalidation/<study>/`:
|
|
28
|
+
|
|
29
|
+
| File | What it is |
|
|
30
|
+
|---|---|
|
|
31
|
+
| `certificate.json` | The machine record, with its projected SHA-256. |
|
|
32
|
+
| `report.md` | Terminal- and diff-friendly report. |
|
|
33
|
+
| `report.html` | Review copy: one self-contained file, no external requests. Adds a margin gauge on every cell so "passed with room to spare" and "passed by a hair" are distinguishable at a glance, plus an Engine configuration section showing the grid each engine actually ran on. |
|
|
34
|
+
| `checkpoints/` | Resume state. Scratch, not evidence — never banked. |
|
|
35
|
+
|
|
36
|
+
That path is gitignored — banking evidence is a deliberate act, described in
|
|
37
|
+
[the release procedure](../../docs/modelvalidation/RELEASE_PROCEDURE.md).
|
|
38
|
+
|
|
39
|
+
## The studies
|
|
40
|
+
|
|
41
|
+
| File | What it certifies | Cost |
|
|
42
|
+
|---|---|---|
|
|
43
|
+
| `european_selftest.yaml` | Closed-form Black-Scholes against a small RQMC benchmark. The candidate is exact by construction, so the framework **must** admit it — this is the machinery's own calibration check, and it runs in CI. | ~3 s |
|
|
44
|
+
| `snowball_flat_bsm.yaml` | Snowball PDE and quadrature engines against one paired-RQMC benchmark, on PV and both spot Greeks, across five scenarios including near-KO, near-KI, low-vol, and near-expiry. | minutes |
|
|
45
|
+
| `phoenix_flat_bsm.yaml` | Phoenix PDE and quadrature engines against one paired-RQMC benchmark, across seven scenarios. Adds what the snowball has not: a coupon barrier, so every observation date carries a digital — `near_coupon` sits right on it — plus a memory-coupon case. | minutes |
|
|
46
|
+
| `ko_reset_flat_bsm.yaml` | KO-reset snowball PDE and quadrature engines against one paired-RQMC benchmark, across seven scenarios. The payoff switches regime at knock-in — a pre-KI schedule to `maturity_pre`, a second lower KO schedule on to `maturity_post` — so the two value surfaces live on different horizons. | minutes |
|
|
47
|
+
|
|
48
|
+
## Writing a new study
|
|
49
|
+
|
|
50
|
+
Read the [release procedure](../../docs/modelvalidation/RELEASE_PROCEDURE.md),
|
|
51
|
+
section 7. In short: add builders for your engine family under
|
|
52
|
+
`quantark/modelvalidation/builders/`, write the YAML here, measure the
|
|
53
|
+
achievable standard error before choosing bounds, then run, bank, and extract
|
|
54
|
+
anchors.
|
|
55
|
+
|
|
56
|
+
One rule worth repeating: bounds encode what a desk can tolerate. Never widen
|
|
57
|
+
one to turn a REJECTED into an ADMITTED.
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "quantark"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.6"
|
|
8
8
|
description = "Modular derivatives pricing and risk library: options, autocallables, bonds, VaR, SIMM"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -43,6 +43,12 @@ dependencies = [
|
|
|
43
43
|
|
|
44
44
|
[project.optional-dependencies]
|
|
45
45
|
dev = ["pytest>=7.0.0", "pytest-xdist>=3.0.0", "dask[distributed]>=2024.1.0", "jsonschema>=4.0"]
|
|
46
|
+
# Optional Monte Carlo accelerator. quantark runs identically without it; when
|
|
47
|
+
# present, the QE variance step routes through a fused Numba kernel that is
|
|
48
|
+
# bit-identical to the NumPy reference (quantark/montecarlo/qe_kernels.py).
|
|
49
|
+
# The companion PDE accelerator needs no dependency at all -- build it with
|
|
50
|
+
# `python -m quantark.util.numerical.build_thomas_kernel`.
|
|
51
|
+
accel = ["numba>=0.59"]
|
|
46
52
|
|
|
47
53
|
[project.urls]
|
|
48
54
|
Homepage = "https://github.com/deiiiiii93/quantark"
|
|
@@ -12,6 +12,7 @@ from quantark.priceenv import PricingEnvironment
|
|
|
12
12
|
from quantark.asset.equity.param import EngineParams
|
|
13
13
|
from quantark.asset.equity.engine.event_stats import AutocallableEventStats
|
|
14
14
|
from quantark.util.enum.engine_enums import EngineType
|
|
15
|
+
from quantark.util.numerical import is_close
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
class BaseEngine(ABC):
|
|
@@ -130,25 +131,48 @@ class BaseEngine(ABC):
|
|
|
130
131
|
"""
|
|
131
132
|
from copy import deepcopy
|
|
132
133
|
|
|
133
|
-
|
|
134
|
-
|
|
134
|
+
bump_config = self.params.get_effective_bump_config()
|
|
135
|
+
spot_bump = bump_config.spot_bump
|
|
136
|
+
gamma_bump = (
|
|
137
|
+
bump_config.gamma_spot_bump
|
|
138
|
+
if bump_config.gamma_spot_bump is not None
|
|
139
|
+
else spot_bump
|
|
140
|
+
)
|
|
141
|
+
# Resolve the numerical domain once at the base market. PDE engines use
|
|
142
|
+
# this hook to freeze their spatial layout so delta/gamma measure market
|
|
143
|
+
# sensitivity rather than a mixture of market and grid movement.
|
|
144
|
+
bump_engine = self.create_bump_context(product, pricing_env)
|
|
145
|
+
if bump_engine is None:
|
|
146
|
+
bump_engine = self
|
|
147
|
+
|
|
148
|
+
base_price = bump_engine.price(product, pricing_env)
|
|
135
149
|
greeks = {"price": base_price}
|
|
136
150
|
|
|
137
151
|
# Delta: dV/dS
|
|
138
152
|
env_up = deepcopy(pricing_env)
|
|
139
153
|
env_up.spot_quote.spot *= 1 + spot_bump
|
|
140
|
-
price_up =
|
|
154
|
+
price_up = bump_engine.price(product, env_up)
|
|
141
155
|
|
|
142
156
|
env_down = deepcopy(pricing_env)
|
|
143
157
|
env_down.spot_quote.spot *= 1 - spot_bump
|
|
144
|
-
price_down =
|
|
158
|
+
price_down = bump_engine.price(product, env_down)
|
|
145
159
|
|
|
146
160
|
delta = (price_up - price_down) / (2 * pricing_env.spot * spot_bump)
|
|
147
161
|
greeks["delta"] = delta
|
|
148
162
|
|
|
149
|
-
# Gamma: d²V/dS²
|
|
150
|
-
|
|
151
|
-
|
|
163
|
+
# Gamma: d²V/dS² — optionally on its own bump width
|
|
164
|
+
if is_close(gamma_bump, spot_bump, rel_tol=1e-5, abs_tol=1e-8):
|
|
165
|
+
gamma_up, gamma_down = price_up, price_down
|
|
166
|
+
else:
|
|
167
|
+
env_gup = deepcopy(pricing_env)
|
|
168
|
+
env_gup.spot_quote.spot *= 1 + gamma_bump
|
|
169
|
+
gamma_up = bump_engine.price(product, env_gup)
|
|
170
|
+
|
|
171
|
+
env_gdown = deepcopy(pricing_env)
|
|
172
|
+
env_gdown.spot_quote.spot *= 1 - gamma_bump
|
|
173
|
+
gamma_down = bump_engine.price(product, env_gdown)
|
|
174
|
+
gamma = (gamma_up - 2 * base_price + gamma_down) / (
|
|
175
|
+
pricing_env.spot * gamma_bump
|
|
152
176
|
) ** 2
|
|
153
177
|
greeks["gamma"] = gamma
|
|
154
178
|
|