quantark 0.4.5__tar.gz → 0.4.7__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.7/.gitignore +32 -0
- {quantark-0.4.5 → quantark-0.4.7}/CHANGELOG.md +162 -0
- {quantark-0.4.5 → quantark-0.4.7}/PKG-INFO +1 -1
- quantark-0.4.7/docs/adi2d-greek-perf/README.md +304 -0
- quantark-0.4.7/docs/mc-reference-convergence/README.md +119 -0
- quantark-0.4.7/docs/modelvalidation/certificates/adi2d-snowball-greeks/2026-08-19/README.md +158 -0
- quantark-0.4.7/example/fx_volmodels/README.md +185 -0
- {quantark-0.4.5 → quantark-0.4.7}/example/mo_volmodels/README.md +83 -1
- {quantark-0.4.5 → quantark-0.4.7}/example/modelvalidation/README.md +1 -0
- {quantark-0.4.5 → quantark-0.4.7}/pyproject.toml +1 -1
- {quantark-0.4.5 → quantark-0.4.7}/quantark/__init__.py +1 -1
- quantark-0.4.7/quantark/asset/equity/__init__.py +30 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/__init__.py +2 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/analytical/accumulator_analytical_engine.py +124 -16
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/analytical/american_option_engine.py +5 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/analytical/asian_option_analytical_engine.py +32 -4
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/analytical/barrier_analytical_engine.py +89 -16
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/analytical/black_scholes_engine.py +39 -8
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/analytical/digital_option_engine.py +34 -5
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/analytical/double_barrier_option_engine.py +26 -1
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/analytical/double_sharkfin_option_analytical_engine.py +97 -15
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/analytical/heston_analytical_engine.py +46 -5
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/analytical/one_touch_analytical_engine.py +100 -12
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/analytical/range_accrual_analytical_engine.py +47 -11
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/analytical/single_sharkfin_option_analytical_engine.py +38 -3
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/base_engine.py +104 -11
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/capabilities.py +23 -1
- quantark-0.4.7/quantark/asset/equity/engine/event_stats.py +316 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/accumulator_mc_engine.py +152 -43
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/american_option_mc_engine.py +154 -14
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/asian_option_mc_engine.py +28 -2
- quantark-0.4.7/quantark/asset/equity/engine/mc/autocallable_payment_timings.py +88 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/barrier_option_mc_engine.py +108 -21
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/barrier_vol_mc_engines.py +119 -12
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/dcn_execution_adapters.py +7 -1
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/dcn_mc_engine.py +66 -3
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/digital_option_mc_engine.py +25 -4
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/double_sharkfin_option_mc_engine.py +105 -22
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/euro_mc_engine.py +39 -8
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/heston_mc_engine.py +57 -7
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/heston_slv_mc_engine.py +80 -8
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/local_vol_mc_engine.py +77 -8
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/phoenix_mc_engine.py +102 -48
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/range_accrual_mc_engine.py +33 -6
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/single_sharkfin_option_mc_engine.py +102 -19
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/snowball_mc_engine.py +518 -52
- quantark-0.4.7/quantark/asset/equity/engine/mc/snowball_vol_mc_engines.py +1724 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/american_pde_solver.py +177 -9
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/barrier_pde_solver.py +59 -13
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/barrier_vol_pde_solvers.py +58 -3
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/base_pde_solver.py +63 -10
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/dcn_pde_solver.py +2 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/dcn_vol_pde_solvers.py +2 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/double_barrier_pde_solver.py +28 -10
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/double_one_touch_pde_solver.py +67 -18
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/european_pde_solver.py +68 -9
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/heston_pde_solver.py +64 -9
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/heston_slv_pde_solver.py +66 -9
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/ko_reset_snowball_pde_solver.py +22 -6
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/local_vol_pde_solver.py +60 -5
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/one_touch_pde_solver.py +69 -21
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/pde_execution_adapters.py +21 -1
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/phoenix_pde_solver.py +112 -26
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/phoenix_vol_pde_solvers.py +24 -5
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/snowball_pde_solver.py +118 -7
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/snowball_vol_pde_solvers.py +443 -14
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/quad/discrete_quad_engine.py +2 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/quad/european_quad_engine.py +38 -9
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/quad/ko_reset_snowball_quad_engine.py +86 -16
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/quad/phoenix_quad_engine.py +113 -28
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/quad/quad_adapters.py +206 -43
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/quad/snowball_quad_engine.py +800 -141
- quantark-0.4.7/quantark/asset/equity/engine/settlement_support.py +496 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/lifecycle/__init__.py +14 -1
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/lifecycle/autocallable.py +237 -61
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/lifecycle/barrier.py +146 -93
- quantark-0.4.7/quantark/asset/equity/lifecycle/cashflows.py +281 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/lifecycle/events.py +15 -4
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/lifecycle/manager.py +104 -15
- quantark-0.4.7/quantark/asset/equity/lifecycle/state.py +270 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/param/engine_params.py +10 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/process/bsm/bsm_process.py +1 -1
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/__init__.py +7 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/accumulator_option.py +22 -5
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/american_option.py +24 -9
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/asian_option.py +29 -7
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/barrier_option.py +24 -7
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/base_equity_option.py +57 -21
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/dcn_option.py +11 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/digital_option.py +19 -8
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/double_barrier_option.py +24 -7
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/double_one_touch_option.py +19 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/double_sharkfin_option.py +17 -6
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/european_vanilla_option.py +25 -10
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/ko_reset_snowball_option.py +37 -5
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/observation_schedule.py +120 -32
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/one_touch_option.py +19 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/phoenix_option.py +68 -33
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/range_accrual_option.py +21 -2
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/single_sharkfin_option.py +17 -6
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/snowball_option.py +82 -34
- quantark-0.4.7/quantark/asset/equity/settlement.py +540 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/equity/config.py +4 -3
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/equity/engine.py +48 -28
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/equity/state.py +32 -2
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/replay/config.py +65 -2
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/replay/engine.py +8 -13
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/replay/product_replay.py +62 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/replay/schema.py +10 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/cashleg/accrual_leg.py +6 -1
- {quantark-0.4.5 → quantark-0.4.7}/quantark/cashleg/event_distribution.py +137 -2
- {quantark-0.4.5 → quantark-0.4.7}/quantark/cashleg/fixed_payoff_leg.py +19 -11
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/engine.py +21 -7
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/lifecycle_manager.py +32 -7
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/results/dynamic_results.py +23 -2
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/contracts.py +2 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/legacy_adapter.py +23 -1
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/anchors.py +33 -4
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/builders/__init__.py +2 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/builders/equity_snowball.py +4 -1
- quantark-0.4.7/quantark/modelvalidation/builders/equity_snowball_vol.py +550 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/montecarlo/__init__.py +24 -0
- quantark-0.4.7/quantark/montecarlo/conditional_snowball.py +282 -0
- quantark-0.4.7/quantark/montecarlo/control_weights.py +76 -0
- quantark-0.4.7/quantark/montecarlo/qmc_qe_coupling.py +215 -0
- quantark-0.4.7/quantark/montecarlo/qmc_rqmc_driver.py +666 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/div/dividend_yield.py +5 -1
- {quantark-0.4.5 → quantark-0.4.7}/quantark/portfolio/equity/position.py +2 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/marketdata/models.py +1 -1
- quantark-0.4.7/quantark/util/numerical/build_thomas_kernel.py +86 -0
- quantark-0.4.7/quantark/util/numerical/thomas_kernel.c +66 -0
- quantark-0.4.7/quantark/util/numerical/tridiag.py +175 -0
- quantark-0.4.7/quantark/validation/__init__.py +51 -0
- quantark-0.4.7/quantark/validation/adaptive_allocation.py +126 -0
- quantark-0.4.7/quantark/validation/cell_identity.py +266 -0
- quantark-0.4.7/quantark/validation/greek_certification.py +405 -0
- quantark-0.4.7/quantark/validation/sequential_admission.py +454 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/adi_core.py +603 -37
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/calibration.py +90 -9
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/heston/calibration.py +71 -1
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/slv/leverage.py +29 -3
- quantark-0.4.5/.gitignore +0 -15
- quantark-0.4.5/quantark/asset/equity/__init__.py +0 -11
- quantark-0.4.5/quantark/asset/equity/engine/event_stats.py +0 -136
- quantark-0.4.5/quantark/asset/equity/engine/mc/snowball_vol_mc_engines.py +0 -940
- quantark-0.4.5/quantark/asset/equity/lifecycle/state.py +0 -102
- quantark-0.4.5/quantark/montecarlo/qmc_rqmc_driver.py +0 -217
- quantark-0.4.5/quantark/util/numerical/tridiag.py +0 -64
- {quantark-0.4.5 → quantark-0.4.7}/LICENSE +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/NOTICE +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/README.md +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/docs/execution/README.md +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/docs/mc1d-perf/adapter-book/README.md +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/_compat.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/analytical/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/analytical/black_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/analytical/bond_forward_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/analytical/bond_futures_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/convertible/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/convertible/convertible_bond_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/discount/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/discount/bond_discount_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/discount/frn_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/pde/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/pde/convertible/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/pde/convertible/jump_diffusion_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/pde/convertible/pde_params.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/pde/convertible/tf_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/tree/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/tree/convertible/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/tree/convertible/binomial_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/tree/convertible/tree_params.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/engine/tree/convertible/trinomial_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/product/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/product/base_bond_product.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/product/convertible/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/product/convertible/convertible_bond.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/product/couponbond/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/product/couponbond/fixed_bond.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/product/couponbond/frn.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/product/forward/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/product/forward/base_bond_forward.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/product/forward/bond_forward.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/product/futures/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/product/futures/bond_futures.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/product/option/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/product/option/euro_short_term_bond_option.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/riskmeasures/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/riskmeasures/bond_greeks_calculator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/schedule/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/bond/schedule/cashflow.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/credit/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/credit/conventions.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/credit/engine/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/credit/engine/analytical/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/credit/engine/analytical/reduced_form.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/credit/engine/base_credit_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/credit/engine/mc/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/credit/engine/mc/basket_copula.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/credit/engine/schedule.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/credit/product/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/credit/product/base_credit_product.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/credit/product/basket_cds.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/credit/product/cds.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/credit/riskmeasures/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/credit/riskmeasures/credit_greeks_calculator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/analysis/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/analysis/autocallable_path_analyzer.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/analytical/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/analytical/deltaone_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/cashflow/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/cashflow/accrual_calculator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/cashflow/total_return_swap_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/cashflow/trs_cva_exposure.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/cashflow/trs_cva_repricer.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/cashflow/trs_valuation.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/docs/pde_event_projection_explainer.html +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/localvol_greeks.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/autocallable_dask_batch.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/autocallable_execution_adapters.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/dcn_payoff.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/dcn_vol_mc_engines.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/phoenix_vol_mc_engines.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/qmc_draws.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/sabr_mc_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/mc/term_inputs.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/backward_operator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/grid/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/grid/binder.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/grid/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/grid/events.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/grid/request.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/grid/space.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/grid/time.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/pde_session_prep.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde/vol_continuous_ki.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/pde_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/quad/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/quad/quad_core.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/quad/quad_math.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/quad/term_inputs.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/validation/script/benchmark_check_american_analytical.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/validation/script/benchmark_check_american_pde.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/validation/script/benchmark_check_asian_analytical.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/validation/script/benchmark_check_barrier_analytical.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/validation/script/benchmark_check_barrier_pde_solver.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/validation/script/benchmark_check_digital_option.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/validation/script/benchmark_check_snowball_pde_solver.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/validation/script/boundary_check_american_analytical.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/validation/script/boundary_check_american_pde.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/validation/script/boundary_check_asian_analytical.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/validation/script/boundary_check_barrier_analytical.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/validation/script/boundary_check_barrier_pde_solver.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/validation/script/boundary_check_digital_option.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/validation/script/boundary_check_snowball_pde_solver.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/validation/script/greeks_check_digital_option.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/validation/script/mc_comparison_barrier_pde.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/validation/script/quick_mc_compare.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/engine/validation/script/validation_stepdown_improved.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/market/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/market/index_futures_curve.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/param/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/param/engine_param_profiles.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/process/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/process/bsm/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/process/bsm/qmc_brownian_bridge.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/process/bsm/qmc_path_generator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/process/bsm/qmc_rqmc_driver.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/process/bsm/qmc_sobol.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/process/bsm/qmc_variance_reduction.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/process/sabr/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/process/sabr/sabr_process.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/base_equity_product.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/deltaone/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/deltaone/base_deltaone_product.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/deltaone/futures.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/deltaone/spot_instrument.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/dcn_grid.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/dcn_schedule.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/phoenix_config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/phoenix_helpers.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/range_accrual_config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/range_accrual_helpers.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/snowball_config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/option/snowball_helpers.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/swap/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/swap/base_swap.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/swap/multi_asset_trs.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/swap/one_asset_trs.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/swap/one_asset_trs_dual_ccy.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/swap/trs_event_handler.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/swap/trs_params.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/product/swap/trs_schedule.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/report/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/report/autocallable_risk_report.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/report/plotting.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/report/snowball_risk_comparison_report.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/report/surfaces.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/report/term_structure.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/riskmeasures/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/riskmeasures/bucketed_greeks.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/riskmeasures/greek_conventions_report.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/riskmeasures/greeks_calculator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/riskmeasures/surface_shock_pipeline.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/riskmeasures/surface_shock_scenarios.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/equity/riskmeasures/vol_model_risk.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/analytical/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/analytical/fx_deltaone_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/analytical/fx_digital_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/analytical/fx_foreign_range_accrual_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/analytical/fx_heston_analytical_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/analytical/fx_quanto_digital_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/analytical/fx_quanto_range_accrual_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/analytical/fx_quanto_vanilla_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/analytical/fx_range_accrual_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/analytical/garman_kohlhagen_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/analytical/vannavolga/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/analytical/vannavolga/arbitrage.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/analytical/vannavolga/attenuation.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/analytical/vannavolga/barrier_bs.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/analytical/vannavolga/vv_barrier.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/analytical/vannavolga/vv_barrier_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/analytical/vannavolga/vv_vanilla_barrier.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/base_fx_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/localvol_common.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/localvol_greeks.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/mc/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/mc/fx_barrier_mc_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/mc/fx_mc_params.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/mc/fx_range_accrual_mc_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/mc/fx_sharkfin_mc_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/mc/fx_tarf_mc_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/mc/fx_tarn_note_mc_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/mc/heston_mc_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/mc/heston_slv_mc_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/mc/local_vol_mc_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/pde/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/pde/fx_pde_execution_adapters.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/pde/heston_pde_solver.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/pde/heston_slv_pde_solver.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/engine/pde/local_vol_pde_solver.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/process/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/process/fx_gk_path_generator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/process/garman_kohlhagen_process.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/base_fx_product.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/currency_pair.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/deltaone/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/deltaone/base_fx_deltaone.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/deltaone/fx_forward.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/deltaone/fx_spot.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/deltaone/fx_swap.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/option/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/option/fx_barrier_option.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/option/fx_digital_option.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/option/fx_foreign_range_accrual_option.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/option/fx_one_touch_option.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/option/fx_quanto_digital_option.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/option/fx_quanto_range_accrual_option.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/option/fx_quanto_vanilla_option.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/option/fx_range_accrual_config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/option/fx_range_accrual_option.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/option/fx_sharkfin_option.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/option/fx_target_redemption_forward.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/option/fx_target_redemption_note.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/product/option/fx_vanilla_option.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/report/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/report/fx_report.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/riskmeasures/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/riskmeasures/fx_greeks_calculator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/fx/riskmeasures/vol_model_risk.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/rate/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/rate/engine/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/rate/engine/cap_floor_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/rate/engine/fra_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/rate/engine/irs_discount_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/rate/engine/swaption_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/rate/product/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/rate/product/cap_floor.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/rate/product/fra.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/rate/product/irs.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/rate/product/swaption.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/asset/vol_model_risk.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/base.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/credit/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/credit/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/credit/engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/credit/results.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/dashboard.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/equity/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/equity/hedge_executor.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/equity/metrics.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/equity/multi_hedge_executor.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/equity/results.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/examples/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/examples/advanced_backtest.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/examples/basic_delta_hedge.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/examples/fi_dv01_hedge.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/fi/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/fi/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/fi/engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/fi/hedge_executor.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/fi/metrics.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/fi/results.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/fi/state.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/futures_ledger.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/fx/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/fx/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/fx/engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/fx/results.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/logger.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/metrics.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/otc/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/otc/_replay.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/otc/book_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/otc/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/otc/dashboard.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/otc/engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/otc/engine_factory.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/otc/market.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/otc/results.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/otc/state.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/otc/vol_calibrators.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/otc/vol_history.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/replay/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/replay/dashboard.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/replay/engine_factory.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/replay/market.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/replay/results.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/replay/single.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/replay/strategy_state.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/report_generator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/strategy/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/strategy/barrier_trigger_strategy.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/strategy/base_strategy.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/strategy/convexity_neutral_strategy.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/strategy/credit_spread_neutral_strategy.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/strategy/delta_neutral_strategy.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/strategy/dv01_neutral_strategy.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/strategy/futures_delta_strategy.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/strategy/fx_delta_neutral_strategy.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/strategy/hedge_instruments.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/strategy/hedge_optimizer.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/strategy/min_variance_delta_strategy.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/strategy/multi_greek_strategy.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/strategy/scenario_hedge_strategy.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/strategy/scenarios.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/strategy/semi_static_strategy.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/strategy/triggered_hedge_strategy.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/strategy/whalley_wilmott_strategy.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/transaction_costs.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/backtest/visualizer.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/cashleg/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/cashleg/autocallable_leg.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/cashleg/base.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/cashleg/base_amount.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/cashleg/deterministic_leg.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/cashleg/leg_schedule.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/cashleg/leg_valuator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/base.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/credit/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/credit/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/credit/engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/credit/path_library.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/equity/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/fi/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/fi/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/fi/engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/fi/results.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/fx/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/fx/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/fx/engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/fx/path_library.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/path/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/path/day_path.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/path/fi_path_library.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/path/path_builder.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/path/path_library.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/report/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/report/dynamic_report.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/report/visualizer.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/results/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/dynamicscenario/results/result_exporter.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/api.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/backends/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/backends/admission.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/backends/dask_backend.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/backends/processes.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/backends/serial.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/backends/threads.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/cache/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/cache/artifacts.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/cache/draws.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/cache/fingerprint.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/capability_matrix.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/context.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/diagnostics.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/errors.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/greeks.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/inventory.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/kernel.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/leases.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/manifest.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/policy.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/prep/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/prep/dupire.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/prep/verify.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/registry.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/scenario/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/scenario/contracts.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/scenario/planner.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/scenario/registries.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/scenario/runner.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/scenario/validate.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/execution/scenario/worker.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/__main__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/amendment.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/builders/equity_ko_reset.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/builders/equity_phoenix.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/builders/european_selftest.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/candidate.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/cli.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/decisions.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/engine_config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/evidence.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/gates.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/html_report.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/pipeline.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/reference.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/registry.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/report.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/stopping.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/study.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/modelvalidation/yaml_loader.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/montecarlo/bridge_kernels.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/montecarlo/gbm_kernels.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/montecarlo/qe_kernels.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/montecarlo/qmc_brownian_bridge.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/montecarlo/qmc_sobol.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/montecarlo/qmc_variance_reduction.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/basis/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/basis/basis_yield.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/credit/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/credit/ajd_hazard_curve.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/credit/hazard_curve.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/div/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/div/forward_carry_curve.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/extrapolation.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/index/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/index/rate_index.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/node_roles.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/quote/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/quote/spot_quote.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/rrf/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/rrf/key_rate.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/rrf/rate_curve.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/term_sampling.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/collapse_guard.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/marketquotes.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/sabr/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/sabr/calibration.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/sabr/diagnostics.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/sabr/hagan.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/sabr/sabr_surface.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/sticky.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/surface_history.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/svi/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/svi/svi_fit.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/svi/svi_surface.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/vannavolga/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/vannavolga/bs_fx.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/vannavolga/market_conventions.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/vannavolga/smile_builder.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/vannavolga/vv_core.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/vannavolga/vv_surface.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/vannavolga/vv_term_structure.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/param/vol/vol_surface.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/portfolio/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/portfolio/base.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/portfolio/credit/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/portfolio/credit/portfolio.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/portfolio/credit/position.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/portfolio/equity/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/portfolio/equity/futures_buckets.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/portfolio/equity/portfolio.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/portfolio/equity/swap_position.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/portfolio/fi/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/portfolio/fi/portfolio.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/portfolio/fi/position.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/portfolio/fx/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/portfolio/fx/portfolio.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/portfolio/fx/position.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/portfolio/portfolio_snapshot.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/portfolio/portfolio_storage.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/priceenv/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/priceenv/credit_pricing_environment.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/priceenv/flat_builders.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/priceenv/fx_pricing_environment.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/priceenv/market_context.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/priceenv/pricing_environment.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/priceenv/term_sampling.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/rfq/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/rfq/builders.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/rfq/models.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/rfq/registry.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/rfq/service.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/calculator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/dashboard.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/engines/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/engines/addons/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/engines/addons/base.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/engines/addons/commodity.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/engines/addons/credit.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/engines/addons/equity.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/engines/addons/fx.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/engines/addons/interest_rate.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/engines/maths.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/engines/pfe.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/engines/replacement_cost.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/models/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/models/enums.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/models/netting_set.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/models/trade.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/parameters/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/parameters/supervisory.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/results/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/saccr/results/result.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/calculator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/cva/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/cva/engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/dashboard.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/engines/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/engines/base.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/engines/commodity.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/engines/correlations.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/engines/counterparty_credit.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/engines/equity.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/engines/fx.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/engines/interest_rate.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/engines/reference_credit.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/asof.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/correlation.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/curves.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/grid.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/historical/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/historical/calibration.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/historical/engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/historical/path_generator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/historical/pfe.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/historical/resampling.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/paths.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/phoenix_surface.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/repricer.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/simulator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/snowball_surface.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/statemachine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/exposure/value_surface.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/models/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/models/enums.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/models/portfolio.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/models/sensitivity.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/parameters/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/parameters/supervisory.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/portfolio/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/portfolio/counterparty.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/portfolio/credit_curve.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/portfolio/netting.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/portfolio/trade.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/portfolio/trade_portfolio.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/results/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/results/result.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/sacva_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/sensitivities/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/sensitivities/curve_bump.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/sensitivities/engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/sacva/sensitivities/shifts.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/calibration/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/calibration/accessors.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/calibration/commodity.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/calibration/credit_non_qualifying.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/calibration/credit_qualifying.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/calibration/cross_risk.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/calibration/equity.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/calibration/fx.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/calibration/ir.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/calibration/version.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/crif/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/crif/models.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/crif/parser.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/dashboard.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/aggregation/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/aggregation/addon.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/aggregation/bucket_aggregator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/aggregation/concentration.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/aggregation/correlations.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/aggregation/product_class_aggregator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/aggregation/risk_class_aggregator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/aggregation/simm_calculator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/aggregation/weighted_sensitivity.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/base.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/classification/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/classification/bucket_mapper.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/factory.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/portfolio_adapter.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/result.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/risk_class/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/risk_class/equity_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/risk_class/ir_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/engines/risk_class/provider_engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/market_data.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/report/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/report/crif_export.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/report/excel_generator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/report/html_generator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/results/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/results/attribution.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/results/simm_result.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/results/whatif.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/sensitivity.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/taxonomy.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/template/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/template/xlsx_loader.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/simm/template/xlsx_template.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/base.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/credit/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/credit/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/credit/credit_stress_applicator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/credit/engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/equity/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/equity/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/equity/engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/equity/report/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/equity/report/report_generator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/equity/report/visualizer.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/equity/results.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/fi/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/fi/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/fi/engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/fi/metrics.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/fi/results.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/fx/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/fx/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/fx/engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/fx/fx_stress_applicator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/report/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/report/report_generator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/report/visualizer.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/results/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/results/result_aggregator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/results/result_exporter.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/results/stress_results.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/scenario/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/scenario/scenario.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/scenario/scenario_builder.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/scenario/scenario_library.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/scenario/scenario_storage.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/stress/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/stress/stress_applicator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/stresstest/stress/stress_types.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/barrier_shift.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/calendar/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/calendar/business_calendar.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/calendar/day_counter.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/calendar/holidayfile/china.csv +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/calendar/holidayfile/china_sse.csv +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/enum/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/enum/bond_enums.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/enum/deltaone_enums.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/enum/engine_enums.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/enum/fx_enums.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/enum/greek_conventions.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/enum/greeks_enums.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/enum/option_enums.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/exceptions.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/io.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/marketdata/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/marketdata/adapter/base_adapter.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/marketdata/adapter/mock_adapter.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/marketdata/converter.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/marketdata/example_usage.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/marketdata/generator/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/marketdata/generator/mock_generator.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/marketdata/storage/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/marketdata/storage/parquet_storage.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/numerical/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/numerical/comparison.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/numerical/constants.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/numerical/finite_difference.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/numerical/formatting.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/numerical/pnl.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/numerical/safe_math.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/util/numerical/validation.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/attribution.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/backtest/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/backtest/var_backtester.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/base.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/credit/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/credit/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/credit/engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/credit/revaluation.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/engines/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/engines/historical.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/engines/monte_carlo.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/engines/parametric.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/fx/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/fx/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/fx/engine.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/fx/revaluation.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/results/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/results/incremental_var_result.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/results/var_report.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/results/var_result.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/risk_factors/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/risk_factors/base.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/risk_factors/equity_factors.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/var/risk_factors/fi_factors.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/barrier.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/black_scholes.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/curves.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/diagnostics.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/heston/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/heston/analytical_kernel.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/heston/from_quotes.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/heston/mc_kernel.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/heston/params.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/heston/pde_kernel.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/localvol/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/localvol/dupire.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/localvol/mc_kernel.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/localvol/pde_kernel.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/localvol/surface.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/risk/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/risk/contracts.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/risk/scenarios.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/slv/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/slv/fokkerplanck/__init__.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/slv/fokkerplanck/bootstrap.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/slv/fokkerplanck/calibration.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/slv/fokkerplanck/config.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/slv/fokkerplanck/coordinates.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/slv/fokkerplanck/fp_operators.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/slv/fokkerplanck/fp_solver.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/slv/slv_mc_kernel.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark/volmodels/slv/slv_pde_kernel.py +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/quantark_compat.pth +0 -0
- {quantark-0.4.5 → quantark-0.4.7}/test/replay_golden/README.md +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
__pycache__/
|
|
2
|
+
*.py[cod]
|
|
3
|
+
*.egg-info/
|
|
4
|
+
.venv/
|
|
5
|
+
venv/
|
|
6
|
+
build/
|
|
7
|
+
dist/
|
|
8
|
+
.pytest_cache/
|
|
9
|
+
.coverage
|
|
10
|
+
htmlcov/
|
|
11
|
+
.ipynb_checkpoints/
|
|
12
|
+
.DS_Store
|
|
13
|
+
|
|
14
|
+
# Locally built optional Thomas accelerator (platform-specific build artifact)
|
|
15
|
+
quantark/util/numerical/libthomas_kernel.*
|
|
16
|
+
quantark/util/numerical/thomas_kernel.dll
|
|
17
|
+
|
|
18
|
+
# modelvalidation run output (evidence is banked deliberately, not by accident)
|
|
19
|
+
output/modelvalidation/
|
|
20
|
+
|
|
21
|
+
# Raw certification payloads. An imported certificate names its producing
|
|
22
|
+
# harness's payloads and publishes their digests, but the payloads themselves
|
|
23
|
+
# are multi-megabyte Monte-Carlo row dumps -- artifacts, not source. Keep them
|
|
24
|
+
# out of the repository; see docs/modelvalidation/RELEASE_PROCEDURE.md section
|
|
25
|
+
# 10. Tests that need them skip with a reason rather than passing vacuously.
|
|
26
|
+
docs/modelvalidation/certificates/*/*/evidence/
|
|
27
|
+
|
|
28
|
+
# Local home for artifacts kept out of the repository: raw certification
|
|
29
|
+
# payloads, run outputs, anything expensive to reproduce but not source.
|
|
30
|
+
# Root-anchored, so a package named "archive" elsewhere in the tree is
|
|
31
|
+
# unaffected.
|
|
32
|
+
/archive
|
|
@@ -7,6 +7,168 @@ During 0.x the public API may still change between minor versions.
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.4.7] - 2026-08-25
|
|
11
|
+
|
|
12
|
+
Settlement-date-aware payoff discounting across the equity option stack
|
|
13
|
+
(spec: `docs/superpowers/specs/2026-07-29-equity-option-settlement-date-support-design.md`,
|
|
14
|
+
plan: `docs/plans/2026-07-29-equity-option-settlement-date-support.md`).
|
|
15
|
+
Determination and payment are now two separate clocks: underlying dynamics,
|
|
16
|
+
monitoring and optimal exercise stop at determination; every cashflow
|
|
17
|
+
discounts at its own payment time with curve-exact discount factors.
|
|
18
|
+
|
|
19
|
+
Alongside it, autocallable batch pricing gets its performance pass — the PDE
|
|
20
|
+
solve loop no longer re-serializes the product on every time step, and the
|
|
21
|
+
QUAD event-stats recursion gains a fused KI walk plus an opt-in forward
|
|
22
|
+
transition-density mode (`docs/autocall-engine-perf/`).
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
- `quantark.asset.equity.settlement`: shared settlement timing kernel —
|
|
26
|
+
`SettlementConvention` (business-day / calendar-day / year-fraction lag
|
|
27
|
+
with business-day adjustment and calendar), `SettlementRequest`,
|
|
28
|
+
`ResolvedPaymentTiming` (determination/payment times + curve-exact
|
|
29
|
+
`determination_df`/`payment_df`/`delay_df`), `SettlementResolver`
|
|
30
|
+
(`resolve_contingent` / `resolve_pending`). No fabricated dates: a
|
|
31
|
+
date-based convention on a time-only determination raises.
|
|
32
|
+
- Product contract: `BaseEquityOption.settlement_convention`; the existing
|
|
33
|
+
terminal `settlement_date` is now honored by engines as the
|
|
34
|
+
terminal-payment override; per-record `ObservationRecord.settlement_date` /
|
|
35
|
+
`settlement_time` drive event-cashflow payment (KO redemptions, coupons,
|
|
36
|
+
hit-paid rebates) across analytical, MC, PDE and QUAD engines for the
|
|
37
|
+
BSM / Local Vol / Heston / SLV families.
|
|
38
|
+
- American exercise obstacle reflects delayed cash receipt in PDE and LSMC
|
|
39
|
+
(node-specific `delay_df`); analytical American approximations raise a
|
|
40
|
+
capability error for settlement forms they cannot represent.
|
|
41
|
+
- Engines declare settlement/timing capabilities and raise precise
|
|
42
|
+
capability errors before numerical work rather than silently pricing at
|
|
43
|
+
determination.
|
|
44
|
+
- Lifecycle: pending-cashflow ledger
|
|
45
|
+
(`quantark.asset.equity.lifecycle.cashflows`) carries
|
|
46
|
+
determined-but-unpaid receivables at `amount * DF(valuation, payment)`
|
|
47
|
+
through payment; `price(..., lifecycle_state=...)` propagates through
|
|
48
|
+
engines, positions, portfolio valuation, Greeks and the consolidated
|
|
49
|
+
replay backtest (settlement decomposition; KO termination waits for
|
|
50
|
+
terminal cash to land).
|
|
51
|
+
- Payment-aware event statistics: determination/payment time arrays with
|
|
52
|
+
undiscounted and discounted expected cashflows that reconcile to engine
|
|
53
|
+
PV.
|
|
54
|
+
- QUAD autocallable engines: opt-in `QuadParams.event_stats_mode="forward_density"`
|
|
55
|
+
computes the event distribution from a forward transition-density march
|
|
56
|
+
(2–3 surfaces instead of one indicator row per KO observation). `npv` is
|
|
57
|
+
unchanged (always the backward value solve); distribution fields differ
|
|
58
|
+
within the banked validation tolerances
|
|
59
|
+
(`docs/autocall-engine-perf/FORWARD-DENSITY-EVIDENCE-2026-08.md`).
|
|
60
|
+
KO-reset ignores the flag. Default remains `"stacked"`.
|
|
61
|
+
|
|
62
|
+
### Changed
|
|
63
|
+
- Snowball/Phoenix PDE: the product cache token is now memoized per solve
|
|
64
|
+
(`SnowballPDESolver._product_token_memo`, cleared at every solve entry).
|
|
65
|
+
The boundary-condition path previously re-serialized the whole product —
|
|
66
|
+
every KO/KI schedule record — once per time step, >90% of a snowball
|
|
67
|
+
solve; bit-identical output, ~7× faster per solve
|
|
68
|
+
(`docs/autocall-engine-perf/FINDINGS-2026-08-24.md`).
|
|
69
|
+
- QUAD stacked event stats: the KI-probability recursion now rides the main
|
|
70
|
+
stacked recursion as fused surfaces (bit-identical output, one fewer full
|
|
71
|
+
time loop per `price_with_events`); identically-zero indicator rows are
|
|
72
|
+
skipped in the diffusion/bridge steps and the row-independent bridge
|
|
73
|
+
kernel stack is cached per engine (64-entry bound). Bit-identical output.
|
|
74
|
+
- QUAD `price_with_events` now honors `streams` pruning [§11.1], mirroring
|
|
75
|
+
the PDE contract: KI-probability recursion and Phoenix coupon rows are
|
|
76
|
+
skipped when no requested stream reads them. Callers that pass `streams`
|
|
77
|
+
(the execution framework's greek-bump runner does) get `0`/empty for
|
|
78
|
+
pruned distribution fields where QUAD previously returned computed values;
|
|
79
|
+
`ko_probability`/`survival`/`pv` and all requested fields are unchanged.
|
|
80
|
+
`streams=None` keeps the old full computation.
|
|
81
|
+
- **The flat dividend/carry sanity bound moves from 20% to 100%**
|
|
82
|
+
(`ContinuousDividendYield`, the BSM process gate, and the market-data
|
|
83
|
+
point model), matching `TermStructureDividendYield`'s own magnitude
|
|
84
|
+
bound. OTC borrow/lending carry (融券率) legitimately exceeds 20% on
|
|
85
|
+
some trades; the 100% ceiling still rejects unit errors (entering
|
|
86
|
+
`26.89` for `0.2689`). Values between 20% and 100% now price instead of
|
|
87
|
+
raising `ValidationError`.
|
|
88
|
+
|
|
89
|
+
### Fixed
|
|
90
|
+
- Repository tooling only — not shipped in the wheel, which contains
|
|
91
|
+
`quantark/` alone. The `mo_volmodels` dashboard decided whether a results
|
|
92
|
+
aggregate was stale by comparing two ISO-8601 stamps as strings, which
|
|
93
|
+
orders correctly only when both carry the same UTC offset. Read from a
|
|
94
|
+
zone other than the one that wrote the cells, an aggregate *newer* than
|
|
95
|
+
the cells it summarises was reported stale. It now compares instants.
|
|
96
|
+
- Repository tooling only. The same dashboard read git commit dates with
|
|
97
|
+
`datetime.fromisoformat`, which rejects an RFC 3339 `Z` suffix on Python
|
|
98
|
+
3.10 (3.11 was the release that learned it). `git log --format=%cI`
|
|
99
|
+
renders a UTC commit date as `...Z` on some git versions, so reading a
|
|
100
|
+
repository committed under UTC raised `Invalid isoformat string` on the
|
|
101
|
+
oldest supported Python. All three readers now share one parser that
|
|
102
|
+
accepts both spellings.
|
|
103
|
+
|
|
104
|
+
### Compatibility
|
|
105
|
+
- Zero-lag identity: with no settlement terms supplied, payment equals
|
|
106
|
+
determination (`delay_df == 1`) and all prices, Greeks, event statistics
|
|
107
|
+
and exercise boundaries are unchanged — verified by the existing suite
|
|
108
|
+
plus the dedicated settlement test files.
|
|
109
|
+
|
|
110
|
+
### Also in this release
|
|
111
|
+
- Constructor normalization forwarding the shared lifecycle fields across
|
|
112
|
+
the concrete equity option products (wip/equity-option-contract).
|
|
113
|
+
- Heston temporal regularization in the ADI core
|
|
114
|
+
(wip/heston-temporal-regularization).
|
|
115
|
+
- PDE regression coverage ports, per-module reference docs, example suites
|
|
116
|
+
(FX vol models, snowball backtest terms, bucketed-greeks scenarios), and
|
|
117
|
+
modelvalidation certification archival.
|
|
118
|
+
|
|
119
|
+
## [0.4.6] - 2026-08-20
|
|
120
|
+
|
|
121
|
+
0.4.5's test suite passed on the ARM64 machine its goldens were frozen on and
|
|
122
|
+
failed 28 tests on x86_64 Linux. Chasing that down found one genuine pricing
|
|
123
|
+
defect and a set of comparisons that were architecture-dependent by accident.
|
|
124
|
+
The published 0.4.5 package is unaffected except as noted below.
|
|
125
|
+
|
|
126
|
+
### Fixed
|
|
127
|
+
- **Parallel-batch pricing of continuously monitored knock-in under Local Vol /
|
|
128
|
+
Heston / SLV Monte Carlo.** The per-step variance the Brownian-bridge crossing
|
|
129
|
+
estimate needs was held in a single engine attribute, written while simulating
|
|
130
|
+
and read while computing payoffs. The dask path (`use_dask=True`) submits every
|
|
131
|
+
batch through `delayed`/`compute` on the threaded scheduler, so batches sat
|
|
132
|
+
between their own generation and their payoffs concurrently on one engine and
|
|
133
|
+
overwrote each other — 20,000 paths over 3 batches is 6667/6667/6666. Now
|
|
134
|
+
scoped per thread, which is where a batch begins and ends. A shape guard made
|
|
135
|
+
this raise rather than price one batch against another's variance, so no wrong
|
|
136
|
+
number could have been returned; serial pricing was never affected.
|
|
137
|
+
- `quantark.modelvalidation.anchors`: comparing a banked certificate off the
|
|
138
|
+
banking machine now floors the tolerance at the suite's cross-architecture
|
|
139
|
+
standard (`DEFAULT_REL_TOL` 1e-12 → 1e-9, `DEFAULT_ABS_TOL` 1e-15 → 1e-12).
|
|
140
|
+
Measured across 326 anchors, x86_64-vs-ARM64 drift spans 1e-14 to 2.2e-11
|
|
141
|
+
relative (median 2.0e-12, both signs, no outlier of a different order): last-ULP
|
|
142
|
+
differences in FMA contraction, libm transcendentals and BLAS kernels, amplified
|
|
143
|
+
by an autocallable PDE/QUAD solve marching hundreds of steps through barrier
|
|
144
|
+
events. The bound keeps ~44x margin over that and stays six orders under any
|
|
145
|
+
real numerics change. Applied as a floor on each banked file's own tolerances,
|
|
146
|
+
so already-banked evidence is corrected without its anchored *values* being
|
|
147
|
+
touched. Same-machine comparison remains exact.
|
|
148
|
+
|
|
149
|
+
### Changed (tests)
|
|
150
|
+
- The replay golden gate compares floats against each column's scale rather than
|
|
151
|
+
bitwise. These frames carry bump derivatives, so the rounding noise is set by
|
|
152
|
+
the magnitude of the price being differenced and is near-constant in absolute
|
|
153
|
+
terms down a column: gamma drifts 4.6e-10 against a column max of 43, and the
|
|
154
|
+
same quantity in cash drifts 3.8e-8 against 4,301 — one ratio, ~1e-11. Column
|
|
155
|
+
names and order, row count, and integer, string and date columns still compare
|
|
156
|
+
exactly. New tests pin the tolerance itself: it admits the measured drift,
|
|
157
|
+
rejects 1e-6 of column scale, and every real golden frame is checked against a
|
|
158
|
+
simulated drift locally, because bitwise-identical frames short-circuit before
|
|
159
|
+
any tolerance is consulted and made earlier calibration bugs invisible here.
|
|
160
|
+
- Two cross-architecture anchor tests hardcoded the fingerprint
|
|
161
|
+
`{"machine": "x86_64", "system": "Linux"}` — which is the CI machine, so there
|
|
162
|
+
they took the same-machine *exact* branch, the opposite of what they verify.
|
|
163
|
+
They now derive a fingerprint that cannot be the current machine.
|
|
164
|
+
- `test_event_stats_pruning` pinned a PV of ~9.9e5 with a `1e-6` absolute
|
|
165
|
+
epsilon, i.e. 1e-12 relative — tighter than the measured drift, passing on
|
|
166
|
+
margin rather than by design. Now on the documented cross-arch tolerance.
|
|
167
|
+
- A settlement fixture placed a strike exactly on the parity-implied forward.
|
|
168
|
+
Stage 10 splits OTM puts from calls with `strike < forward` against an
|
|
169
|
+
OLS-regressed forward, so that strike changed side with the last ULP of the
|
|
170
|
+
regression. The grid now keeps every strike clear of the forward.
|
|
171
|
+
|
|
10
172
|
## [0.4.5] - 2026-08-19
|
|
11
173
|
|
|
12
174
|
Two programs land together: **model-release certification** — the first
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: quantark
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.7
|
|
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
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
# 2D ADI Snowball Greeks — Performance & Precision Research
|
|
2
|
+
|
|
3
|
+
**Date:** 2026-08-05 · **Branch:** `codex/adi-greek-certification` · **Status:** research complete, nothing merged — every result below was produced by standalone scripts that patch the loaded engine at runtime; no engine source was modified.
|
|
4
|
+
|
|
5
|
+
This package contains the complete evidence base for making the certified 2D Heston/SLV ADI snowball Greek engine fast enough for production/backtest use, plus the measured answer to "can a coarse grid keep the same precision?". The companion document [`implementation-spec.md`](implementation-spec.md) turns these findings into a workstream plan with acceptance gates.
|
|
6
|
+
|
|
7
|
+
**Package map**
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
docs/adi2d-greek-perf/
|
|
11
|
+
├── README.md this document (findings)
|
|
12
|
+
├── implementation-spec.md future-work spec (workstreams WS-A … WS-F)
|
|
13
|
+
├── scripts/ all 20 research scripts, path-fixed to run from here
|
|
14
|
+
│ └── thomas_kernel.c compiled C kernel (build line in §14)
|
|
15
|
+
└── logs/ raw outputs of every run cited below
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Units: **"c" = hedge contracts**, the certification's economic unit — `delta_quantum_per_contract = hedge_multiplier × hedge_inception_spot / study_notional = 200 × 4532.52 / 50,000,000 = 0.01813008` delta per contract. Certification bounds: **0.5 c per cell**, **0.1 c mean signed bias** across cells. All errors are quoted against the banked paired-RQMC-QE MC references from the finished Stage-16 Heston checkpoints (7/7 PASS).
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## 1. Executive summary
|
|
23
|
+
|
|
24
|
+
| Regime | Certified cost (stock kernel, target grid) | Demonstrated stack | Accuracy |
|
|
25
|
+
|---|---|---|---|
|
|
26
|
+
| ordinary (5 of 7 cells) | 45.2 s (`ordinary_full`) | joint-coarse grid + C kernel ≈ **6.4 s** | equal (≤ 0.07 c) |
|
|
27
|
+
| σ-collapse regime | 53.0 s | semi-Lagrangian v-transport @ n_v≈45–60 + C kernel ≈ **5–7 s** | **better** (−0.04 c vs −0.11 c; PV bias eliminated) |
|
|
28
|
+
| near-KI dense | 73.2 s | KI-band thinned mesh (341 nodes) + C kernel ≈ **17 s** | equal (−0.021 c vs −0.025 c, gamma identical) |
|
|
29
|
+
|
|
30
|
+
Per-lever verdicts:
|
|
31
|
+
|
|
32
|
+
1. **Kernel** — the march is interpreter-bound, not FLOP-bound. A compiled Thomas kernel with identical IEEE operation order is **bitwise-equal** to the engine over full marches and cuts the sweep cost ~9× (2–2.7× at march level). A pure-NumPy hoisted-guard variant gives 1.3× bitwise for free. The SciPy/LAPACK route is fast but **changes numerics and pivot-guard semantics** — demonstrated, not hypothesized.
|
|
33
|
+
2. **Floors (config only)** — every cell passes the certification bounds at joint-coarse grids (all axes coarse at once); the certified floors buy accuracy the 0.5 c bound never consumes, except in the `path_focused` regime.
|
|
34
|
+
3. **Time axis** — clean second-order expansions survive event damping, so **Richardson pairs work**: target-or-better delta from (n_t/4, n_t/2) solves at 60–100% of the target-row cost.
|
|
35
|
+
4. **v axis** — the donor-cell upwind fallback is measured first-order (p = 1.19). **Semi-Lagrangian transport along exact CIR characteristics is flat in n_v (converged at n_v = 45)** and removes the σ-collapse PV bias entirely.
|
|
36
|
+
5. **x axis** — near-KI spot-axis error is **alignment noise, not convergence** (±0.12 c swings across n_x 300→750). Node *placement* fixes what node *count* cannot: a 341-node KI-band mesh reproduces the certified 600-node row at 1.8× less cost.
|
|
37
|
+
6. **Event damping** — a real accuracy/robustness trade, now quantified: softening damping cuts near_ko delta time-error ~4×, but damping is gamma-oscillation insurance at near_ki.
|
|
38
|
+
7. **Precision floor** — beyond ~0.05–0.1 c, the PDE−MC gap is estimator semantics (finite-bump h-width exposure vs MC pairing), not discretization. No grid technique can pass that floor; five of seven cells already sit on it at *coarse* grids.
|
|
39
|
+
8. **Desk serving (round 2, §14)** — the desk quality contract (~1 c) is a different contract from certification (0.5 c / 0.1 c bias): a desk-A grid profile passes all 7 cells at ≤ 1 c in **27.9 s total** (regime mix 20.1 s), and a **ladder cache** — one cached live-surface march per position, re-read through the production stencil readout — makes intraday spot marks and v0 remarks **sub-millisecond lookups** (bitwise-identical to `calculate_greeks` at the build spot), with re-solves only on recalibration / date roll / lifecycle triggers.
|
|
40
|
+
9. **SLV carry-over (round 3, §14.3)** — the desk levers re-measured on the `heston_slv` cells once their references banked: kernel bitwise TRUE on a full SLV march, desk-A **7/7 in 26.3 s**, ladder parity bitwise, same time-axis p≈2 / oscillatory-x / n_v p≈1.18 structure (the axis pathologies live in the shared core). Two SLV-specific contract items: the recalibration fingerprint must include the **leverage surface**, and the free v0 remark holds only **given a fixed L**.
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## 2. Baseline
|
|
45
|
+
|
|
46
|
+
Stage-16 certification (schema 9): Heston **7/7 PASS**, mean signed delta bias −0.0481 c of the 0.1 budget, worst cell |delta| 0.1124 c of 0.5, worst interval edge 0.212. Only `sigma_collapse` selects `path_focused` (132/133 donor-cell rows, max Péclet 1.09e4); the other six run the `power` grid with ≤ 2/133 fallback rows.
|
|
47
|
+
|
|
48
|
+
Production Greek floors (engine class constants): `n_x ≥ 300`, `n_v ≥ 135`, `≥ 1600 steps/yr`; dense-KI (proximity-gated: only when the bump stencil straddles a live KI barrier — solver `greek_time_grid_policy`, barrier-straddle test): `n_x ≥ 600`, `16 steps/tick`.
|
|
49
|
+
|
|
50
|
+
Certified per-cell Greek-mark cost, stock kernel, 1% one-march readout: `ordinary_full` 45.2 s · `ordinary_decayed` 23.3 s · `near_ko` 16.3 s · `near_ki` 73.2 s · `low_feller` 30.7 s · `sigma_collapse` 53.0 s · `near_expiry` 4.9 s — **246.6 s** for all seven.
|
|
51
|
+
|
|
52
|
+
> **Timing caveat:** all wall-clock numbers in this document were measured while two SLV certification cells (~5 cores of 14) ran concurrently. Ratios are trustworthy; absolute seconds carry 10–30% load noise.
|
|
53
|
+
|
|
54
|
+
## 3. Where the time goes
|
|
55
|
+
|
|
56
|
+
cProfile of one production march (`near_ko`, 300×135×1600; 19.5 s unprofiled, 27.7 s profiled; `scripts/profile_march.py`, `logs/profile.log`):
|
|
57
|
+
|
|
58
|
+
| Component | Profiled time | Share |
|
|
59
|
+
|---|---|---|
|
|
60
|
+
| `solve_tridiag_batch` (10,792 calls) | 17.8 s cum | **64%** |
|
|
61
|
+
| — of which `np.any` pivot checks (2.35M calls) | ~4.1 s | 15% |
|
|
62
|
+
| `_A1` / `_A0` / `_A2` explicit operators | 3.2 s | 12% |
|
|
63
|
+
| concentrated-grid ODE build (`_legacy_ode_f`, 377k calls) | 1.8 s | 6% |
|
|
64
|
+
| orchestration, projections, misc | ~4.9 s | 18% |
|
|
65
|
+
|
|
66
|
+
20.2M Python function calls per price. Nominal `n_t=1600` became **3,202 actual steps** (2,194 Craig–Sneyd + 1,008 damped Douglas from event restarts); each CS step does two sweeps per direction → 5,396 solves per direction per march. The arithmetic content of the entire march is ~8 GFLOP — sub-second in compiled code. The engine pays interpreter overhead, not FLOPs: `solve_tridiag_batch` runs the Thomas recurrence as a Python loop along the solve axis (300 iterations per S-sweep, 135 per V-sweep, ~5 small NumPy ops plus one `np.any` each).
|
|
67
|
+
|
|
68
|
+
## 4. Kernel study
|
|
69
|
+
|
|
70
|
+
Four drop-in variants for `solve_tridiag_batch` (same signature, same full-length convention). Scripts: `boosted_tridiag_np.py`, `boosted_tridiag.py` (SciPy), `thomas_kernel.c` + `boosted_tridiag_c.py`; unit gate `c_kernel_unit.py`; march A/B `boosted_march_demo_c.py`.
|
|
71
|
+
|
|
72
|
+
| Variant | Sweep cost/march† | March speedup (3 cells) | Bitwise vs stock | Pivot-guard contract | Adoption cost |
|
|
73
|
+
|---|---|---|---|---|---|
|
|
74
|
+
| stock (pure NumPy, per-iteration guards) | 17.0 s | 1.0× | — | — | — |
|
|
75
|
+
| **numpy+** (hoisted guards) | 12.0 s | 1.29–1.37× | **BITWISE** | preserved (raises post-sweep) | none; ~15-line diff |
|
|
76
|
+
| **scipy** (block-concat + multi-RHS `gtsv`) | 5.0 s | 1.81–2.26× | no (~1e-15/solve, ~1e-14 PV) | **changed** | golden re-baseline + sign-off |
|
|
77
|
+
| **C** (transposed, `-ffp-contract=off`) | **1.9 s** | 1.95–**2.71×** | **BITWISE** | **preserved exactly** | C toolchain; packaging decision |
|
|
78
|
+
|
|
79
|
+
† micro-bench at the real shapes (S: 135 distinct systems × N=300; V: 1 system × 135 × 300 RHS; 5,396 solves each per near_ko march). A quieter-machine re-run from this package measured stock 12.8 / numpy+ 9.2 / scipy 4.1 / **C 1.3** s/march — same ordering, better ratios.
|
|
80
|
+
|
|
81
|
+
**Full-march agreement** (four arms, identical engines, kernel patched into `adi_core`'s namespace per arm): `numpy+` and `C` produce **bit-for-bit identical PVs and Greeks** on all three demo cells (near_ko incl. the production one-march delta/gamma readout; sigma_collapse; near_expiry) — goldens and the certification remain valid with no re-run. SciPy differs by 3.6e-15–9.1e-15 absolute PV.
|
|
82
|
+
|
|
83
|
+
**Guard parity, demonstrated:** on two constructed trip cases (first-pivot zero; an interior denominator that cancels *exactly* in IEEE arithmetic), stock/`numpy+`/`C` raise the identical `NumericalError("zero pivot … (refine grid)")`, while **SciPy silently solves both to finite values** — a zero Thomas pivot is not a singular matrix, and LAPACK's row pivoting survives it. That is the concrete semantic change any LAPACK adoption must sign off.
|
|
84
|
+
|
|
85
|
+
Mechanics worth recording:
|
|
86
|
+
- **Block concatenation** (S-sweep): the full-length convention's ignored entries (`sub[:,0]`, `sup[:,-1]`) become the zero seams that exactly decouple 135 systems concatenated into one size-40,500 tridiagonal system → one `dgtsv` call. Partial pivoting cannot cross a seam (|0| never wins a pivot comparison).
|
|
87
|
+
- **The V-sweep is natively multi-RHS** (the variance operator is x-independent; the engine already `broadcast_to`s it) — stride-0 detection routes it to one `gtsv` with 300 RHS.
|
|
88
|
+
- **The C kernel's transposed layout** `(n, n_sys)` vectorizes the recurrence *across systems* (NEON `fdiv.2d` pipelines independent divisions), keeping each system's operation order — hence bit-identity — while beating the system-major variant 1.9× on S and 6.9× on V.
|
|
89
|
+
- `-ffp-contract=off` is mandatory: FMA contraction rounds once where NumPy rounds twice and silently breaks bit-identity.
|
|
90
|
+
- Ruled out: Numba (not installed; C matches it), JAX/PyTorch (dependency weight; no bit-stability), GPU batched tridiag (wrong hardware, wrong shapes), cached `gttrf` factorization (back-substitution dominates; ≤0.15 ms extra on S, slower on V).
|
|
91
|
+
|
|
92
|
+
## 5. Grid-floor headroom (config lever)
|
|
93
|
+
|
|
94
|
+
Two independent evidence sets:
|
|
95
|
+
|
|
96
|
+
**(a) Per-axis certification ladders** (banked; `scripts/ladder_headroom.py`): every coarse row of every axis in every cell passes the 0.5 c bound with >2× margin. The certified floors move ordinary-cell deltas by ≤ 0.04 c — refinement the bound never consumes.
|
|
97
|
+
|
|
98
|
+
**(b) Joint-coarse live run** (all axes coarse at once — the point the one-axis-at-a-time ladders never tested; `scripts/relaxed_floors_demo.py`, C kernel):
|
|
99
|
+
|
|
100
|
+
| Cell | Joint-coarse grid | Δ err (at target) | Γ err (at target) | Cost | |
|
|
101
|
+
|---|---|---|---|---|---|
|
|
102
|
+
| ordinary_full | 200×90×2400 | −0.044 c (−0.038) | +0.020 c (+0.018) | 6.4 s | PASS |
|
|
103
|
+
| ordinary_decayed | 200×90×1200 | −0.051 c (−0.013) | +0.040 c (−0.001) | 5.5 s | PASS |
|
|
104
|
+
| near_ko | 200×90×800 | −0.057 c (−0.017) | +0.000 c (−0.004) | 5.8 s | PASS |
|
|
105
|
+
| near_ki | 450×90×2016 | +0.284 c (−0.025) | −0.020 c (+0.151) | 13.5 s | PASS |
|
|
106
|
+
| low_feller | 200×90×1600 | −0.148 c (−0.107) | +0.103 c (+0.059) | 8.1 s | PASS |
|
|
107
|
+
| sigma_collapse | 200×90×2400 | −0.205 c (−0.112) | −0.032 c (−0.011) | 13.9 s | PASS |
|
|
108
|
+
| near_expiry | 200×90×200 | −0.069 c (−0.025) | −0.006 c (+0.012) | 2.5 s | PASS |
|
|
109
|
+
|
|
110
|
+
All seven cells: **55.7 s vs 246.6 s certified (4.4× with the C kernel)**. Mean signed bias −0.041 c — but that mean is flattered by near_ki's +0.28 cancelling the other cells' negatives; per-cell margin is the honest metric, and near_ki/sigma_collapse each gave up ~10× of theirs. **Recommendation: relax regime-aware, not globally** — coarse for the five `power`-regime cells (errors ≤ 0.07 c), keep `path_focused` cells at 135/1600 until WS-C (semi-Lagrangian) retires that need, keep the dense-KI floors (proximity-gated; rarely paid).
|
|
111
|
+
|
|
112
|
+
## 6. Richardson extrapolation: viability by axis
|
|
113
|
+
|
|
114
|
+
From the banked three-point ladders (`scripts/richardson_analysis.py`), fitting `U(h) ≈ U∞ + C·hᵖ`:
|
|
115
|
+
|
|
116
|
+
| Axis | Verdict | Evidence |
|
|
117
|
+
|---|---|---|
|
|
118
|
+
| **n_t** | **clean p = 1.96–2.66 on every monotone cell** | pair recipe (coarse+target, p=2) beats the *fine* row: decayed −0.047→−0.001 c, near_ko −0.054→−0.005 c, near_expiry −0.070→−0.010 c |
|
|
119
|
+
| **n_x** | **oscillatory in 5/7 cells → invalid** | e.g. near_ki +0.118 → −0.025 → +0.029 c; node-vs-kink alignment shifts with n_x; no smooth expansion exists |
|
|
120
|
+
| **n_v** | p ≈ 2–4 where `power` runs; **p = 1.19 on sigma_collapse** (donor-cell, measured in production data) | fitted-p extrapolation −0.112→−0.009 c, but the p=2 recipe under-corrects (−0.061 c) — wrong-exponent risk is real; the engine's own `variance_operator_diagnostics()` (donor-cell fallback fraction) is the regime signal for choosing p |
|
|
121
|
+
|
|
122
|
+
Why the time axis stays clean **despite** 31% damped Douglas steps: the damped-step count scales with the *event count*, not n_t, so their O(dt²) local errors sum to a fixed-count, still-second-order global contribution.
|
|
123
|
+
|
|
124
|
+
**Live confirmation** (`scripts/lever1_time_richardson.py`, all 7 cells, three marches each at n_t/4, n_t/2, n_t on the target spatial grid, production one-march readout, C kernel):
|
|
125
|
+
|
|
126
|
+
| Cell | Target row | Cheap pair (n_t/4, n_t/2) | Quality pair (n_t/2, n_t) |
|
|
127
|
+
|---|---|---|---|
|
|
128
|
+
| ordinary_full | −0.0382 c @ 24.4 s | −0.0357 c @ 17.8 s | −0.0360 c @ 36.9 s |
|
|
129
|
+
| ordinary_decayed | −0.0125 c @ 16.3 s | **−0.0048 c @ 16.9 s** | −0.0010 c @ 28.4 s |
|
|
130
|
+
| near_ko | −0.0171 c @ 14.6 s | **−0.0085 c @ 8.7 s** | −0.0047 c @ 19.9 s |
|
|
131
|
+
| near_ki | −0.0245 c @ 37.2 s | −0.0802 c @ 31.3 s | −0.0754 c @ 56.7 s |
|
|
132
|
+
| low_feller | −0.1072 c @ 18.8 s | −0.0982 c @ 20.3 s | −0.1020 c @ 31.9 s |
|
|
133
|
+
| sigma_collapse | −0.1124 c @ 22.9 s | −0.1074 c @ 24.1 s | −0.1047 c @ 37.2 s |
|
|
134
|
+
| near_expiry | −0.0249 c @ 3.0 s | −0.0184 c @ 3.3 s | −0.0100 c @ 4.9 s |
|
|
135
|
+
|
|
136
|
+
Gamma never degrades under the pairs (near_ki's grows +0.151→+0.174 c, still far inside the bound). Two caveats are part of the finding:
|
|
137
|
+
- **Richardson converges to the PDE's own h→0 limit, not to the MC reference.** near_ki's pair lands at ≈ −0.08 c because that *is* the converged PDE−MC offset; the certified row's −0.0245 c is flattered by unconverged time error cancelling it.
|
|
138
|
+
- The raw n_t/4 member at near_ki is +0.75 c — outside the certification bound on its own. Pairs need an asymptotic-range guard before any productionization (spec WS-E).
|
|
139
|
+
|
|
140
|
+
## 7. Semi-Lagrangian v-transport (the σ-collapse fix)
|
|
141
|
+
|
|
142
|
+
**Design** (demo subclass in `scripts/lever2_sl_vtransport.py`; ~150 lines): the shared v-generator keeps *only* diffusion (monotone by construction, local Péclet ≡ 0, no upwind fallback and no centered wiggle); drift is transported along the **exact CIR characteristics** `v_foot = θ + (v−θ)·e^{−κ·dt}` by precomputed clipped-cubic-Lagrange interpolation (mean reversion contracts, so feet are always interior — no outflow BC); Strang split (advect dt/2 → drift-free ADI step → advect dt/2); the degenerate v=0 row (pure drift) becomes advection + implicit identity. Advection is one cached (n_v×n_v) matrix product per half-step — ~15–25% march overhead at equal grid.
|
|
143
|
+
|
|
144
|
+
**Results, sigma_collapse** (n_x=300, n_t=2400 = 800/yr; delta vs banked reference, PV vs the session RQMC-QE reference +1.511243 ± 0.011054):
|
|
145
|
+
|
|
146
|
+
| n_v | shipped upwind | semi-Lagrangian |
|
|
147
|
+
|---|---|---|
|
|
148
|
+
| 45 | −0.394 c · PV +12.8 SE | **−0.048 c · PV +1.0 SE** |
|
|
149
|
+
| 60 | −0.288 c · +9.5 SE | −0.043 c · +0.9 SE |
|
|
150
|
+
| 90 | −0.199 c · +6.6 SE | −0.036 c · +0.8 SE |
|
|
151
|
+
| 135 | −0.135 c · +4.6 SE | −0.039 c · +0.9 SE |
|
|
152
|
+
|
|
153
|
+
**Flat in n_v — converged at 45 nodes**; the first-order PV bias is *eliminated*, not reduced. n_t refinement contracts cleanly (PV +8.2 → +3.6 → +0.9 SE at 600/1200/2400 — no Rannacher-crutch divergence). `ordinary_full` sanity: SL −0.0515 c vs shipped −0.0486 c — no regression. For context, matching upwind's accuracy by refinement alone was measured to need n_v ≈ 1200 (~13×) in the accuracy-phase study (`scripts/nv_order.py`, `logs/nv.log`).
|
|
154
|
+
|
|
155
|
+
Alternatives rejected on evidence: Scharfetter–Gummel (the measured Péclet distribution at n_v=90 is bimodal — median 1157, **zero rows in the 2–50 band** where SG differs from upwind); explicit deferred-correction of the central flux (anti-diffusive correction CFL ≈ 2.6 > 1 in the path-focused tube → unstable exactly where it's needed).
|
|
156
|
+
|
|
157
|
+
## 8. Event-damping economics (config knob today)
|
|
158
|
+
|
|
159
|
+
`PDEParams` already exposes `event_rannacher_steps` (default 2), `event_theta` (1.0), `rannacher_at_events`. Measured at target grids (`scripts/lever3_event_damping.py`):
|
|
160
|
+
|
|
161
|
+
| Config | near_ko Δ | near_ko Γ | sigma_collapse Δ | near_ki Δ | near_ki Γ |
|
|
162
|
+
|---|---|---|---|---|---|
|
|
163
|
+
| production (eks=2, θ=1.0) | −0.0171 c | −0.0035 | −0.1124 | −0.0245 | +0.1507 |
|
|
164
|
+
| eks=1 | −0.0106 | −0.0041 | −0.1083 | −0.0540 | +0.1721 |
|
|
165
|
+
| eks=4 | −0.0303 | −0.0022 | −0.1206 | +0.0348 | **+0.1049** |
|
|
166
|
+
| damping OFF | −0.0045 | −0.0047 | −0.1045 | −0.0834 | +0.1924 |
|
|
167
|
+
| event_theta=0.5 | **−0.0037** | −0.0046 | −0.1045 | −0.0827 | +0.1947 |
|
|
168
|
+
|
|
169
|
+
The damping constant is a real, monotone delta cost (~4× at near_ko) — **and** real gamma-oscillation insurance at the KI kink (damping off degrades near_ki gamma +0.151→+0.192; heavier damping improves it to +0.105). near_ki deltas under softer damping move *toward* the honest converged −0.08 c (§6). Keep production defaults globally; flip only in delta-centric, non-KI-adjacent contexts.
|
|
170
|
+
|
|
171
|
+
## 9. Spot axis: alignment, not count
|
|
172
|
+
|
|
173
|
+
near_ki sweep at n_v=135, n_t=4032, auto grid focus (= KI) (`scripts/lever4_x_mesh.py`):
|
|
174
|
+
|
|
175
|
+
| n_x | Δ err | Γ err | cost |
|
|
176
|
+
|---|---|---|---|
|
|
177
|
+
| 300 | +0.005 c | −0.077 | 15.0 s |
|
|
178
|
+
| 400 | +0.096 | −0.306 | 20.2 s |
|
|
179
|
+
| 450 | +0.118 | +0.056 | 24.2 s |
|
|
180
|
+
| **600 (certified)** | −0.025 | +0.151 | 30.1 s |
|
|
181
|
+
| 750 | +0.029 | +0.130 | 41.8 s |
|
|
182
|
+
|
|
183
|
+
Non-convergent: ±0.12 c delta / ±0.2 c gamma swings with no systematic trend — node-vs-kink **alignment noise**. (n_x=300's +0.005 c is luck; do not cherry-pick it.) The placement fix: keep the 600-row's density inside a ±12% log-band around the KI barrier, thin to every other node outside → **341 nodes reproduce the certified row in both Greeks** (−0.0213 c / +0.1511 c vs −0.0245 / +0.1507) at **16.6 s vs 30.1 s**. Same solution cheaper — not different-luck. (Demo subclass overrides `_layer_x_nodes`; the core already accepts injected non-uniform `x_nodes`.)
|
|
184
|
+
|
|
185
|
+
## 10. The estimator-semantics floor
|
|
186
|
+
|
|
187
|
+
Across every lever, a residual PDE−MC offset of ~0.05–0.1 c survives all refinement and extrapolation: the ordinary cells' flat ~−0.04 c across all nine ladder rows, and near_ki's converged −0.08 c. Its origin is not discretization: the harness's barrier-adjacent values are declared **h-width finite-bump exposures** (`finite_bump_exposure: true`), while the MC reference measures its own paired estimator, plus reference SE (0.0015–0.031 c/cell) and substep bias. **Grid techniques cannot cross this floor.** Precision beyond it is readout-semantics work, not resolution.
|
|
188
|
+
|
|
189
|
+
## 11. Techniques evaluated and excluded
|
|
190
|
+
|
|
191
|
+
| Technique | Verdict |
|
|
192
|
+
|---|---|
|
|
193
|
+
| Scharfetter–Gummel exponential fitting | ≡ upwind on 98.9% of rows here (Péclet bimodal; empty 2–50 band) |
|
|
194
|
+
| Explicit deferred-correction (central) in v | anti-diffusion CFL ≈ 2.6 in the tube → unstable where needed |
|
|
195
|
+
| 4th-order compact stencils; sparse-grid combination | kink/alignment sensitivity (§9 is the direct evidence); 2D gains marginal |
|
|
196
|
+
| MC-assisted PDE hybrids | excluded by house rule (deterministic engines stay deterministic) |
|
|
197
|
+
| GPU batched tridiag (cuSPARSE), JAX `tridiagonal_solve`, PyTorch | wrong hardware / heavy deps / no bit-stability |
|
|
198
|
+
| COS / CF backward induction (pure Heston) | legitimate spectral endgame, but a new engine; SLV still needs the PDE — scoped as deferred (spec WS-F) |
|
|
199
|
+
|
|
200
|
+
## 12. Combined stack and backtest projection
|
|
201
|
+
|
|
202
|
+
Kernel (×2–2.7) and grids (×2–4, regime-aware) multiply; SL transport turns the worst regime into an ordinary one; the KI-band mesh halves the dense-cell cost. Net per-mark: **45 s → ~6 s** (ordinary 3y), **53 s → ~5–7 s with better accuracy** (collapse), **73 s → ~17 s** (near-KI). For the pending G4/G1/G2 snowball backtest re-run (27 paths × ~750 marks), that moves the PDE leg from weeks-scale to **hours** on a 12-worker box.
|
|
203
|
+
|
|
204
|
+
## 13. What requires what
|
|
205
|
+
|
|
206
|
+
| Lever | Touches | Bitwise-safe |
|
|
207
|
+
|---|---|---|
|
|
208
|
+
| numpy+ kernel | `quantark/util/numerical/tridiag.py` internals | yes |
|
|
209
|
+
| C kernel | optional accelerator + packaging decision | yes |
|
|
210
|
+
| scipy kernel | same file; **contract change** | no |
|
|
211
|
+
| floors, event damping, grid focus | config / class constants | n/a (grid choice) |
|
|
212
|
+
| time-Richardson | driver recipe (no engine) or a `calculate_greeks` mode | n/a (new estimator, opt-in) |
|
|
213
|
+
| SL v-transport | `adi_core` opt-in scheme (the one real engine addition) | n/a (new scheme, opt-in) |
|
|
214
|
+
| KI-band density | grid-layer option | n/a |
|
|
215
|
+
|
|
216
|
+
## 14. Desk-grade serving: tolerance profile + ladder cache (round 2)
|
|
217
|
+
|
|
218
|
+
Round 2 answers "is this engine usable for desk hedging?" The desk works to ~1 c per position, not the certification contract (0.5 c/cell, 0.1 c mean bias) — and no desk re-solves a PDE per tick. Two demos, run after the round-1 stack.
|
|
219
|
+
|
|
220
|
+
### 14.1 Desk grid profiles (`scripts/desk_profile_floors.py`, `logs/desk_floors.log`)
|
|
221
|
+
|
|
222
|
+
Profiles are fractions of each cell's joint-coarse rung (§5), C kernel patched in, production one-march readout, banked MC references. Desk bound 1.0 c per Greek per cell.
|
|
223
|
+
|
|
224
|
+
| Profile (f_x/f_v/f_t) | 7-cell total | worst \|dErr\| | worst \|gErr\| | mean delta bias | desk pass |
|
|
225
|
+
|---|---|---|---|---|---|
|
|
226
|
+
| coarse 1/1/1 (§5 baseline) | 39.0 s | 0.284 c | 0.103 c | −0.041 c | 7/7 (7/7 also ≤ cert 0.5 c) |
|
|
227
|
+
| **desk-A 0.80/0.67/0.75** | **27.9 s** | **0.515 c** (near_ki) | 0.216 c | −0.058 c | **7/7** (6/7 ≤ cert bound) |
|
|
228
|
+
| desk-B 0.60/0.50/0.50 | — | grid guard trips on `sigma_collapse` | | | |
|
|
229
|
+
| desk-C 0.50/0.36/0.33 | — | guard + `low_feller` FAIL (−1.18 c) | | | |
|
|
230
|
+
|
|
231
|
+
- **desk-A is the recommended desk profile**: every cell ≤ 1 c with margin, ~4 s/position average; the cheapest-passing regime mix reaches **20.1 s for all 7 cells** but rides a 0.09 c near_ki margin (desk-C +0.909 c of 1.0) — not robust against the ±0.12 c alignment noise (§9), so the mix is quoted, not recommended.
|
|
232
|
+
- The engine **self-protects**: below ~160 x-nodes the σ-collapse S-grid spacing guard raises (`achieved spacing 0.00795 exceeds 2x target eps_crit`) instead of returning silently degraded Greeks.
|
|
233
|
+
- At desk grids the march no longer dominates — per-solve Python overhead (grid/event construction, ~2 s) does. `ordinary_full` desk-B has ~7× fewer march ops than coarse yet runs only 13% faster. Further *solve* speedups need overhead work, not kernel work — or no solve at all, which is §14.2.
|
|
234
|
+
|
|
235
|
+
### 14.2 Ladder cache (`scripts/desk_ladder_cache.py`, `logs/desk_ladder.log`)
|
|
236
|
+
|
|
237
|
+
The production `calculate_greeks` already prices its ±1% bump stencil by bilinear interpolation of **one** solved surface (`_solve_live_surface` → `core.interpolate`). The prototype `SnowballLadderCache` keeps that `(core, surface)` pair alive per position and re-reads it at any (spot, v0) through the identical stencil arithmetic; re-solves happen only on three triggers.
|
|
238
|
+
|
|
239
|
+
Measured on desk-A grids (ladder lookup vs full fresh re-solve at the moved spot):
|
|
240
|
+
|
|
241
|
+
| Check | ordinary_full (build 3.2 s) | near_ki (build 6.0 s) |
|
|
242
|
+
|---|---|---|
|
|
243
|
+
| parity at build spot | **bitwise-identical** to `calculate_greeks` | **bitwise-identical** |
|
|
244
|
+
| spot moves | ±0.5…±5%: \|dDiff\| ≤ 0.016 c, \|gDiff\| ≤ 0.015 c | ±0.5…±3%: worst +0.13 c delta, +0.39 c gamma at the KI kink (mesh-alignment noise, §9) — all PASS at 1 c |
|
|
245
|
+
| v0 remark (0.04→0.03/0.06) | ≤ 0.002 c delta, ≤ 0.015 c gamma — the surface is v0-independent; only the readout line moves | n/a |
|
|
246
|
+
| lookup cost | 0.6–0.8 ms (validity check dominates) | ~0.2 ms |
|
|
247
|
+
| re-solve cost | 3.7–4.9 s | 4.6–5.5 s |
|
|
248
|
+
|
|
249
|
+
All three invalidation triggers fire with correct reasons and rebuild cleanly:
|
|
250
|
+
|
|
251
|
+
1. **Recalibration** — κ/θ/σ/ρ change (v0 deliberately excluded: it is a readout argument, not a surface parameter). Rebuild 4.8 s, post-rebuild parity bitwise.
|
|
252
|
+
2. **Date roll** — the surface is a t=0 snapshot for one valuation date.
|
|
253
|
+
3. **Lifecycle** — the engine's own `_valuation_state_signature` is the oracle: the overnight `_otc_lifecycle_knocked_in` flag flips it (discrete-KI product), and a continuous-KI variant invalidates on an intraday breach (lookup at 74.6 below KI 75.0 → INVALID). The knocked-in rebuild is a **single V1 march** (3.15 s vs 4.84 s two-march build).
|
|
254
|
+
|
|
255
|
+
Desk arithmetic for a ~100-position book: intraday spot/v0 marks are **lookups (≪1 s for the whole book)**; a trigger-driven full re-mark at desk-A is ~4 s/position single-core ≈ **~1 minute on 8 workers** — recalibration cadence, not tick cadence. The estimator floor (§10) still applies: the ladder reproduces the *production estimator*, so its agreement with a fresh re-solve (≤0.02 c away from kinks) is tighter than either's agreement with MC truth (~0.05–0.1 c).
|
|
256
|
+
|
|
257
|
+
### 14.3 SLV carry-over (`scripts/slv_desk_demo.py`, `slv_richardson_analysis.py`; `logs/slv_desk.log`, `slv_richardson.log`)
|
|
258
|
+
|
|
259
|
+
Rounds 1–2 were measured on the Heston cells only (the SLV certifications were still running). Once the SLV references banked, the desk levers were re-measured on `heston_slv__*` through `cert16.make_pde_engine` (the exact certified SLV construction):
|
|
260
|
+
|
|
261
|
+
| Claim | Heston (rounds 1–2) | SLV (round 3) |
|
|
262
|
+
|---|---|---|
|
|
263
|
+
| C kernel bitwise over a full march | TRUE | **TRUE** (1.75× at desk-A grid — lower than the 2–2.7× march ratio because leverage/coefficient rebuild is a larger share, and desk grids are overhead-dominated) |
|
|
264
|
+
| desk-A profile, 7 cells @ 1 c | 7/7, 27.9 s | **7/7, 26.3 s** (worst conclusive-ref err 0.387 c; worst target-grid drift 0.509 c, near_ki) |
|
|
265
|
+
| ladder parity at build spot | bitwise | **bitwise** (both cells) |
|
|
266
|
+
| ladder vs re-solve, ordinary ±3% | ≤ 0.016 c | **≤ 0.016 c** |
|
|
267
|
+
| ladder vs re-solve, near-KI kink | worst +0.39 c gamma | **worst +0.34 c gamma** (same alignment-noise band) |
|
|
268
|
+
| v0 remark via readout line | ≤ 0.015 c | **≤ 0.015 c given the same L** (see caveat) |
|
|
269
|
+
| time axis Richardson-clean (banked ladders) | p ≈ 2 | **p = 2.02 / 1.96 / 2.37** where above ref noise |
|
|
270
|
+
| x axis oscillatory (Richardson invalid) | yes | **yes** |
|
|
271
|
+
| σ-collapse n_v first-order upwind signature | p = 1.19 | **p = 1.18** — the pathology lives in the shared core, so the WS-C motivation carries |
|
|
272
|
+
|
|
273
|
+
SLV-specific caveats (now in the WS-G contract):
|
|
274
|
+
|
|
275
|
+
- **The recalibration fingerprint must include the leverage surface** (`time_grid`/`strike_grid`/`leverage_grid` identity), not just κ/θ/σ/ρ — measured firing as its own trigger.
|
|
276
|
+
- **The "free v0 remark" is conditional on L**: the PDE surface is v0-independent *given a fixed leverage surface* (measured ≤ 0.015 c), but a real SLV v0 remark normally re-calibrates L — which correctly fires trigger 1 and forces a rebuild. Heston has no such coupling.
|
|
277
|
+
- **2 of 7 SLV MC references are INCONCLUSIVE** (`near_ki` half-widths ±0.63/±1.41 c, `low_feller` ±0.30 c) — desk verdicts on those cells ride the drift-vs-certified-target-grid column, which is MC-noise-free.
|
|
278
|
+
- Not re-measured on SLV (mechanism shared, numbers pending if promoted): SL v-transport itself, KI-band mesh (extra caveat: thinning outside the KI band also thins where the leverage surface has structure), event-damping trade.
|
|
279
|
+
|
|
280
|
+
## 15. Reproduction
|
|
281
|
+
|
|
282
|
+
All scripts run from this directory against the repo root (paths are computed relative to `__file__`; they were originally executed from the session scratchpad — logs in `logs/` are those original runs). The A/B pattern: build the stock engine, run; rebind `adi_core.solve_tridiag_batch` (or `solver_mod.HestonSLVADICore`) to the variant; run fresh engines; restore in `finally`.
|
|
283
|
+
|
|
284
|
+
```bash
|
|
285
|
+
cd docs/adi2d-greek-perf/scripts
|
|
286
|
+
cc -O3 -ffp-contract=off -shared -fPIC -o thomas_kernel.dylib thomas_kernel.c
|
|
287
|
+
<venv>/bin/python c_kernel_unit.py # bitwise + guard parity + micro-bench
|
|
288
|
+
<venv>/bin/python boosted_march_demo_c.py # 4-arm full-march A/B
|
|
289
|
+
<venv>/bin/python richardson_analysis.py # banked-ladder axis analysis (no solves)
|
|
290
|
+
<venv>/bin/python lever1_time_richardson.py # … lever2/3/4 likewise
|
|
291
|
+
|
|
292
|
+
# round 2 (desk serving): these import worktree-only symbols through the
|
|
293
|
+
# certification module, so the repo root MUST be on PYTHONPATH — the compat
|
|
294
|
+
# .pth of an editable install binds `quantark` at interpreter startup, before
|
|
295
|
+
# any in-script sys.path.insert can run.
|
|
296
|
+
PYTHONPATH=<repo-root> <venv>/bin/python desk_profile_floors.py
|
|
297
|
+
PYTHONPATH=<repo-root> <venv>/bin/python desk_ladder_cache.py
|
|
298
|
+
|
|
299
|
+
# round 3 (SLV carry-over; needs the completed heston_slv checkpoints)
|
|
300
|
+
PYTHONPATH=<repo-root> <venv>/bin/python slv_desk_demo.py
|
|
301
|
+
<venv>/bin/python slv_richardson_analysis.py # banked SLV ladders, no solves
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
Requires the Stage-16 Heston checkpoints under `output/adi_greek_certification/checkpoints/` (banked MC references) and, for `sigma_collapse_reference.py`, ~20 min to rebuild the RQMC PV reference. Environment of record: arm64 macOS, Apple clang 15, scipy 1.17.1, numba absent, 14-core/48 GB, two SLV cert cells running concurrently during all timings.
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# MC Reference-Stack Convergence — Demos & Decision Matrix
|
|
2
|
+
|
|
3
|
+
Spec: `docs/superpowers/specs/2026-08-10-mc-reference-convergence-design.md`
|
|
4
|
+
Plan: `docs/superpowers/plans/2026-08-10-mc-reference-convergence.md`
|
|
5
|
+
|
|
6
|
+
Rows are measured by `demo_cell.py` using the stage-16 harness's own case,
|
|
7
|
+
product, environment, engine, and paired-RQMC estimator (loaded by path, so
|
|
8
|
+
the treatment under test is the production estimator with one knob changed).
|
|
9
|
+
Raw outputs live in `logs/`. **Numbers here are copied only from completed
|
|
10
|
+
runs** — no projections.
|
|
11
|
+
|
|
12
|
+
## What the rows mean
|
|
13
|
+
|
|
14
|
+
- `baseline` — the cell's current production profile (bridge dimensions 1),
|
|
15
|
+
the SD and cost anchor.
|
|
16
|
+
- `bridge8` — the V1 treatment candidate: 8 leading residual bridge
|
|
17
|
+
coordinates, the profile `near_ki` already uses.
|
|
18
|
+
- `unbias` — `bridge8` again on an independent seed, giving the V1-G1
|
|
19
|
+
agreement check against `baseline`.
|
|
20
|
+
|
|
21
|
+
Gates (spec §4): **V1-G1** |baseline − unbias| ≤ 2σ combined; **V1-G2** SD
|
|
22
|
+
factor ≥ 4×; **V1-G3** cost recorded so the decision uses SE²·seconds, not SD
|
|
23
|
+
alone.
|
|
24
|
+
|
|
25
|
+
> **V1-G2 was mis-specified.** It reads "SD-reduction factor ≥ 4×", but the
|
|
26
|
+
> 33× cited for `near_ki` in the recovered analysis is a *variance* ratio (SD
|
|
27
|
+
> 1.08 → 0.19, an SD factor of 5.7), and it came from the full multilevel +
|
|
28
|
+
> 8×8 bridge + 16-substep stack — not from bridge dimensions alone. As
|
|
29
|
+
> written the gate demanded 16× variance from one knob. The decision-relevant
|
|
30
|
+
> quantity is SE²·seconds, which every row below reports.
|
|
31
|
+
|
|
32
|
+
## Measured — 32 batches/row, `heston_slv`, 2026-08-10
|
|
33
|
+
|
|
34
|
+
| Cell | Row | batch SD (c) | sec/batch | peak RSS | SD factor | variance | SE²·sec | V1-G1 |
|
|
35
|
+
|---|---|---|---|---|---|---|---|---|
|
|
36
|
+
| `ordinary_full` | baseline | 1.0673 | 34.1 | 4.65 | — | — | — | — |
|
|
37
|
+
| | bridge8 | 0.7364 | 33.4 | 4.67 | 1.45× | 2.10× | **2.14×** | — |
|
|
38
|
+
| | unbias | 0.7683 | 29.4 | 4.68 | — | — | — | 0.64σ ✅ |
|
|
39
|
+
| `ordinary_decayed` | baseline | 1.0043 | 17.0 | 2.51 | — | — | — | — |
|
|
40
|
+
| | bridge8 | 0.6145 | 17.4 | 2.53 | 1.63× | 2.67× | **2.62×** | — |
|
|
41
|
+
| | unbias | 0.5981 | 17.4 | 2.54 | — | — | — | 0.65σ ✅ |
|
|
42
|
+
| `sigma_collapse` | baseline | 0.7221 | 34.1 | 4.69 | — | — | — | — |
|
|
43
|
+
| | bridge8 | 0.5978 | 33.3 | 4.70 | 1.21× | 1.46× | **1.49×** | — |
|
|
44
|
+
| | unbias | 0.6053 | 29.7 | 4.70 | — | — | — | 0.28σ ✅ |
|
|
45
|
+
|
|
46
|
+
**Fidelity check.** The baseline SDs reproduce the schema-11 recorded per-cell
|
|
47
|
+
batch SDs (1.07 / 1.08 / 0.70) to within pilot noise, and `feasibility.py`
|
|
48
|
+
reconstructs the recorded aggregate half-width as 0.0546 against 0.0545. The
|
|
49
|
+
demos measure the production estimator, not a lookalike.
|
|
50
|
+
|
|
51
|
+
**Reading.** Every treatment is unbiased and every one is free (cost flat or
|
|
52
|
+
slightly lower), but the gains are 1.5–2.6× in SE²·seconds, not the 8×
|
|
53
|
+
the spec used for planning. `sigma_collapse` gains least — consistent with its
|
|
54
|
+
error being dominated by the PDE-side v-axis truncation the ADI probe pinned
|
|
55
|
+
down, not by MC noise.
|
|
56
|
+
|
|
57
|
+
## Feasibility at the measured gains (`logs/feasibility.log`)
|
|
58
|
+
|
|
59
|
+
Treatment alone takes the aggregate half-width from 0.0546 to 0.0395 at 128
|
|
60
|
+
batches/cell. Reaching the 0.02 target then needs, with all 7 cells running
|
|
61
|
+
concurrently (2 workers each, ~33 GiB of 48 GiB):
|
|
62
|
+
|
|
63
|
+
| Contention assumption | half-width in 12 h | hours to reach 0.02 |
|
|
64
|
+
|---|---|---|
|
|
65
|
+
| ×1.0 (measured 3-cell rates hold) | 0.0113 | **3.8 h** |
|
|
66
|
+
| ×1.5 | 0.0138 | 5.7 h |
|
|
67
|
+
| ×2.0 (pessimistic) | 0.0159 | 7.6 h |
|
|
68
|
+
|
|
69
|
+
**Spec goal G1 holds** even under the pessimistic assumption.
|
|
70
|
+
|
|
71
|
+
Note on WS-S: with 7 cells and 14 cores the streams do not compete for a
|
|
72
|
+
shared budget, so Neyman weighting is close to inert here — each cell fills
|
|
73
|
+
its own stream. Neyman earns its place in the memory-constrained and serial
|
|
74
|
+
cases; the overnight win comes from precision *stopping* (finish near 4 h
|
|
75
|
+
instead of burning 12).
|
|
76
|
+
|
|
77
|
+
## V2 — cross-fitted control weights: DESIGN INVALIDATED, NOT RUN
|
|
78
|
+
|
|
79
|
+
The demo paired two separate runs by seed, but stage-17's control is a
|
|
80
|
+
three-level telescoping estimator whose control rows are evaluated on the same
|
|
81
|
+
paths inside one run. See `demo_v2_weights.py` for the corrected design; it is
|
|
82
|
+
post-processing over references the production run already builds, so it costs
|
|
83
|
+
no extra Monte Carlo and is deferred to after Phase-1 regeneration.
|
|
84
|
+
|
|
85
|
+
## User decisions (Task 7 checkpoint, 2026-08-10)
|
|
86
|
+
|
|
87
|
+
- [x] `ordinary_full` treatment: **bridge8 ships** (2.14× SE²·sec, 0.64σ)
|
|
88
|
+
- [x] `ordinary_decayed` treatment: **bridge8 ships** (2.62× SE²·sec, 0.65σ)
|
|
89
|
+
- [x] `sigma_collapse` treatment: **bridge8 ships** (1.49× SE²·sec, 0.28σ)
|
|
90
|
+
- [x] V1-G2 gate: **replaced** by `SE²·sec ≥ 1.25×` plus the unchanged V1-G1
|
|
91
|
+
unbiasedness check. Rationale: gate the quantity the decision actually
|
|
92
|
+
turns on; the old SD-unit floor was unachievable by any single knob.
|
|
93
|
+
- [x] Schema numbering: stage-16 `SCHEMA_VERSION` 11 → **13**, stage-17 stays
|
|
94
|
+
at 12, stage-17 `PARENT_SCHEMA_VERSION` 11 → 13. Smallest blast radius;
|
|
95
|
+
the frozen stage-17 pins and cohort labels are untouched.
|
|
96
|
+
- [x] V2 cross-fitted weights: **deferred** to post-regeneration
|
|
97
|
+
post-processing (design invalidated as standalone; corrected design in
|
|
98
|
+
`demo_v2_weights.py` costs no extra Monte Carlo once references exist).
|
|
99
|
+
|
|
100
|
+
Applied in stage-16 as `SLV_SPOT_BRIDGE_PROFILE_BY_CASE[cell]["dimensions"] = 8`
|
|
101
|
+
for the three cells above. `low_feller` is deliberately untouched: its direct
|
|
102
|
+
estimator was selected on measured 2026-08-05/06 evidence recorded in the
|
|
103
|
+
harness, and `near_ki` already runs the full treatment.
|
|
104
|
+
|
|
105
|
+
Cells left at `baseline` are not failures — WS-S allocation absorbs them by
|
|
106
|
+
sending more batches their way.
|
|
107
|
+
|
|
108
|
+
## Reproduction
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
cd .worktrees/adi-greek-certification
|
|
112
|
+
PYTHONPATH=$PWD /Users/fuxinyao/quant-ark/.venv/bin/python \
|
|
113
|
+
docs/mc-reference-convergence/demo_cell.py --cell ordinary_full
|
|
114
|
+
PYTHONPATH=$PWD /Users/fuxinyao/quant-ark/.venv/bin/python \
|
|
115
|
+
docs/mc-reference-convergence/demo_v2_weights.py
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
`PYTHONPATH` is required: the editable install's compat `.pth` binds
|
|
119
|
+
`quantark` at interpreter startup, before any in-script `sys.path` edit.
|