quantark 0.2.3__tar.gz → 0.2.5__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.2.3 → quantark-0.2.5}/PKG-INFO +1 -1
- {quantark-0.2.3 → quantark-0.2.5}/pyproject.toml +1 -1
- {quantark-0.2.3 → quantark-0.2.5}/quantark/__init__.py +1 -1
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/base_engine.py +5 -0
- quantark-0.2.5/quantark/asset/equity/engine/pde/backward_operator.py +140 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/pde/barrier_pde_solver.py +17 -95
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/pde/base_pde_solver.py +291 -54
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/pde/double_barrier_pde_solver.py +108 -63
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/pde/double_one_touch_pde_solver.py +77 -57
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/pde/ko_reset_snowball_pde_solver.py +35 -15
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/pde/one_touch_pde_solver.py +62 -68
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/pde/phoenix_pde_solver.py +31 -28
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/pde/snowball_pde_solver.py +420 -136
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/pde/time_grid.py +76 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/quad/ko_reset_snowball_quad_engine.py +40 -12
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/quad/phoenix_quad_engine.py +7 -61
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/quad/quad_adapters.py +18 -3
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/quad/quad_core.py +5 -1
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/quad/snowball_quad_engine.py +53 -29
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/param/engine_params.py +39 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/cashleg/__init__.py +7 -1
- {quantark-0.2.3 → quantark-0.2.5}/quantark/cashleg/accrual_leg.py +8 -1
- {quantark-0.2.3 → quantark-0.2.5}/quantark/cashleg/autocallable_leg.py +54 -1
- {quantark-0.2.3 → quantark-0.2.5}/quantark/cashleg/base.py +11 -1
- {quantark-0.2.3 → quantark-0.2.5}/quantark/cashleg/deterministic_leg.py +5 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/cashleg/fixed_payoff_leg.py +9 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/cashleg/leg_valuator.py +14 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/portfolio/equity/position.py +197 -3
- {quantark-0.2.3 → quantark-0.2.5}/.gitignore +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/CHANGELOG.md +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/LICENSE +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/NOTICE +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/README.md +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/_compat.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/analytical/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/analytical/black_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/analytical/bond_forward_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/analytical/bond_futures_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/convertible/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/convertible/convertible_bond_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/discount/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/discount/bond_discount_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/discount/frn_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/pde/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/pde/convertible/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/pde/convertible/jump_diffusion_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/pde/convertible/pde_params.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/pde/convertible/tf_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/tree/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/tree/convertible/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/tree/convertible/binomial_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/tree/convertible/tree_params.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/engine/tree/convertible/trinomial_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/product/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/product/base_bond_product.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/product/convertible/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/product/convertible/convertible_bond.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/product/couponbond/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/product/couponbond/fixed_bond.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/product/couponbond/frn.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/product/forward/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/product/forward/base_bond_forward.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/product/forward/bond_forward.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/product/futures/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/product/futures/bond_futures.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/product/option/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/product/option/euro_short_term_bond_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/riskmeasures/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/riskmeasures/bond_greeks_calculator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/schedule/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/bond/schedule/cashflow.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/credit/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/credit/conventions.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/credit/engine/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/credit/engine/analytical/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/credit/engine/analytical/reduced_form.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/credit/engine/base_credit_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/credit/engine/mc/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/credit/engine/mc/basket_copula.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/credit/engine/schedule.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/credit/product/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/credit/product/base_credit_product.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/credit/product/basket_cds.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/credit/product/cds.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/credit/riskmeasures/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/credit/riskmeasures/credit_greeks_calculator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/analysis/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/analysis/autocallable_path_analyzer.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/analytical/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/analytical/accumulator_analytical_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/analytical/american_option_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/analytical/asian_option_analytical_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/analytical/barrier_analytical_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/analytical/black_scholes_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/analytical/deltaone_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/analytical/digital_option_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/analytical/double_barrier_option_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/analytical/double_sharkfin_option_analytical_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/analytical/heston_analytical_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/analytical/one_touch_analytical_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/analytical/range_accrual_analytical_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/analytical/single_sharkfin_option_analytical_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/cashflow/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/cashflow/accrual_calculator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/cashflow/total_return_swap_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/cashflow/trs_cva_exposure.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/cashflow/trs_cva_repricer.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/cashflow/trs_valuation.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/event_stats.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/localvol_greeks.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/mc/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/mc/accumulator_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/mc/american_option_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/mc/asian_option_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/mc/barrier_option_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/mc/digital_option_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/mc/double_sharkfin_option_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/mc/euro_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/mc/heston_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/mc/heston_slv_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/mc/local_vol_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/mc/phoenix_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/mc/range_accrual_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/mc/sabr_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/mc/single_sharkfin_option_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/mc/snowball_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/pde/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/pde/american_pde_solver.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/pde/european_pde_solver.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/pde/heston_pde_solver.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/pde/heston_slv_pde_solver.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/pde/local_vol_pde_solver.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/pde/spatial_grid.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/pde_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/quad/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/quad/discrete_quad_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/quad/european_quad_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/quad/quad_math.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/validation/script/benchmark_check_american_analytical.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/validation/script/benchmark_check_american_pde.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/validation/script/benchmark_check_asian_analytical.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/validation/script/benchmark_check_barrier_analytical.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/validation/script/benchmark_check_barrier_pde_solver.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/validation/script/benchmark_check_digital_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/validation/script/benchmark_check_snowball_pde_solver.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/validation/script/boundary_check_american_analytical.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/validation/script/boundary_check_american_pde.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/validation/script/boundary_check_asian_analytical.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/validation/script/boundary_check_barrier_analytical.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/validation/script/boundary_check_barrier_pde_solver.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/validation/script/boundary_check_digital_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/validation/script/boundary_check_snowball_pde_solver.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/validation/script/greeks_check_digital_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/validation/script/mc_comparison_barrier_pde.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/validation/script/quick_mc_compare.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/engine/validation/script/validation_stepdown_improved.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/lifecycle/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/lifecycle/autocallable.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/lifecycle/barrier.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/lifecycle/events.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/lifecycle/manager.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/lifecycle/state.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/param/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/param/engine_param_profiles.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/process/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/process/bsm/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/process/bsm/bsm_process.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/process/bsm/qmc_brownian_bridge.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/process/bsm/qmc_path_generator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/process/bsm/qmc_rqmc_driver.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/process/bsm/qmc_sobol.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/process/bsm/qmc_variance_reduction.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/process/sabr/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/process/sabr/sabr_process.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/base_equity_product.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/deltaone/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/deltaone/base_deltaone_product.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/deltaone/futures.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/deltaone/spot_instrument.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/accumulator_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/american_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/asian_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/barrier_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/base_equity_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/digital_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/double_barrier_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/double_one_touch_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/double_sharkfin_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/european_vanilla_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/ko_reset_snowball_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/observation_schedule.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/one_touch_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/phoenix_config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/phoenix_helpers.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/phoenix_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/range_accrual_config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/range_accrual_helpers.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/range_accrual_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/single_sharkfin_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/snowball_config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/snowball_helpers.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/option/snowball_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/swap/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/swap/base_swap.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/swap/multi_asset_trs.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/swap/one_asset_trs.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/swap/one_asset_trs_dual_ccy.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/swap/trs_event_handler.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/swap/trs_params.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/product/swap/trs_schedule.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/report/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/report/autocallable_risk_report.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/report/plotting.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/report/snowball_risk_comparison_report.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/report/surfaces.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/report/term_structure.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/riskmeasures/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/riskmeasures/greeks_calculator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/equity/riskmeasures/vol_model_risk.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/analytical/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/analytical/fx_deltaone_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/analytical/fx_digital_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/analytical/fx_foreign_range_accrual_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/analytical/fx_heston_analytical_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/analytical/fx_quanto_digital_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/analytical/fx_quanto_range_accrual_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/analytical/fx_quanto_vanilla_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/analytical/fx_range_accrual_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/analytical/garman_kohlhagen_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/analytical/vannavolga/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/analytical/vannavolga/arbitrage.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/analytical/vannavolga/attenuation.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/analytical/vannavolga/barrier_bs.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/analytical/vannavolga/vv_barrier.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/analytical/vannavolga/vv_barrier_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/analytical/vannavolga/vv_vanilla_barrier.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/base_fx_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/localvol_common.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/localvol_greeks.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/mc/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/mc/fx_barrier_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/mc/fx_mc_params.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/mc/fx_range_accrual_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/mc/fx_sharkfin_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/mc/fx_tarf_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/mc/fx_tarn_note_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/mc/heston_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/mc/heston_slv_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/mc/local_vol_mc_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/pde/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/pde/heston_pde_solver.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/pde/heston_slv_pde_solver.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/engine/pde/local_vol_pde_solver.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/process/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/process/fx_gk_path_generator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/process/garman_kohlhagen_process.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/base_fx_product.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/currency_pair.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/deltaone/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/deltaone/base_fx_deltaone.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/deltaone/fx_forward.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/deltaone/fx_spot.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/deltaone/fx_swap.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/option/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/option/fx_barrier_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/option/fx_digital_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/option/fx_foreign_range_accrual_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/option/fx_one_touch_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/option/fx_quanto_digital_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/option/fx_quanto_range_accrual_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/option/fx_quanto_vanilla_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/option/fx_range_accrual_config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/option/fx_range_accrual_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/option/fx_sharkfin_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/option/fx_target_redemption_forward.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/option/fx_target_redemption_note.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/product/option/fx_vanilla_option.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/report/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/report/fx_report.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/riskmeasures/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/riskmeasures/fx_greeks_calculator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/fx/riskmeasures/vol_model_risk.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/rate/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/rate/engine/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/rate/engine/cap_floor_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/rate/engine/fra_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/rate/engine/irs_discount_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/rate/engine/swaption_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/rate/product/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/rate/product/cap_floor.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/rate/product/fra.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/rate/product/irs.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/rate/product/swaption.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/asset/vol_model_risk.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/base.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/credit/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/credit/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/credit/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/credit/results.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/dashboard.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/equity/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/equity/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/equity/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/equity/hedge_executor.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/equity/metrics.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/equity/multi_hedge_executor.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/equity/results.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/equity/state.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/examples/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/examples/advanced_backtest.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/examples/basic_delta_hedge.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/examples/fi_dv01_hedge.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/fi/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/fi/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/fi/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/fi/hedge_executor.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/fi/metrics.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/fi/results.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/fi/state.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/fx/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/fx/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/fx/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/fx/results.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/logger.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/otc/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/otc/_replay.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/otc/book_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/otc/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/otc/dashboard.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/otc/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/otc/engine_factory.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/otc/market.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/otc/results.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/otc/state.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/report_generator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/strategy/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/strategy/barrier_trigger_strategy.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/strategy/base_strategy.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/strategy/convexity_neutral_strategy.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/strategy/credit_spread_neutral_strategy.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/strategy/delta_neutral_strategy.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/strategy/dv01_neutral_strategy.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/strategy/fx_delta_neutral_strategy.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/strategy/hedge_instruments.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/strategy/hedge_optimizer.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/strategy/min_variance_delta_strategy.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/strategy/multi_greek_strategy.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/strategy/scenario_hedge_strategy.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/strategy/scenarios.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/strategy/semi_static_strategy.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/strategy/triggered_hedge_strategy.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/strategy/whalley_wilmott_strategy.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/transaction_costs.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/backtest/visualizer.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/cashleg/base_amount.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/cashleg/event_distribution.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/cashleg/leg_schedule.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/base.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/credit/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/credit/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/credit/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/credit/path_library.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/equity/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/fi/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/fi/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/fi/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/fi/results.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/fx/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/fx/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/fx/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/fx/path_library.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/lifecycle_manager.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/path/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/path/day_path.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/path/fi_path_library.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/path/path_builder.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/path/path_library.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/report/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/report/dynamic_report.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/report/visualizer.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/results/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/results/dynamic_results.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/dynamicscenario/results/result_exporter.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/montecarlo/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/montecarlo/qmc_brownian_bridge.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/montecarlo/qmc_rqmc_driver.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/montecarlo/qmc_sobol.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/montecarlo/qmc_variance_reduction.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/basis/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/basis/basis_yield.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/credit/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/credit/ajd_hazard_curve.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/credit/hazard_curve.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/div/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/div/dividend_yield.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/index/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/index/rate_index.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/quote/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/quote/spot_quote.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/rrf/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/rrf/rate_curve.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/vol/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/vol/collapse_guard.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/vol/sabr/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/vol/sabr/calibration.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/vol/sabr/diagnostics.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/vol/sabr/hagan.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/vol/sabr/sabr_surface.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/vol/vannavolga/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/vol/vannavolga/bs_fx.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/vol/vannavolga/market_conventions.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/vol/vannavolga/smile_builder.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/vol/vannavolga/vv_core.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/vol/vannavolga/vv_surface.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/vol/vannavolga/vv_term_structure.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/param/vol/vol_surface.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/portfolio/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/portfolio/base.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/portfolio/credit/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/portfolio/credit/portfolio.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/portfolio/credit/position.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/portfolio/equity/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/portfolio/equity/portfolio.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/portfolio/equity/swap_position.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/portfolio/fi/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/portfolio/fi/portfolio.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/portfolio/fi/position.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/portfolio/fx/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/portfolio/fx/portfolio.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/portfolio/fx/position.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/portfolio/portfolio_snapshot.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/portfolio/portfolio_storage.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/priceenv/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/priceenv/credit_pricing_environment.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/priceenv/fx_pricing_environment.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/priceenv/pricing_environment.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/rfq/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/rfq/builders.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/rfq/models.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/rfq/registry.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/rfq/service.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/calculator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/dashboard.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/engines/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/engines/addons/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/engines/addons/base.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/engines/addons/commodity.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/engines/addons/credit.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/engines/addons/equity.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/engines/addons/fx.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/engines/addons/interest_rate.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/engines/maths.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/engines/pfe.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/engines/replacement_cost.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/models/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/models/enums.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/models/netting_set.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/models/trade.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/parameters/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/parameters/supervisory.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/results/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/saccr/results/result.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/calculator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/cva/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/cva/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/dashboard.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/engines/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/engines/base.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/engines/commodity.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/engines/correlations.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/engines/counterparty_credit.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/engines/equity.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/engines/fx.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/engines/interest_rate.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/engines/reference_credit.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/asof.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/correlation.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/curves.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/grid.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/historical/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/historical/calibration.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/historical/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/historical/path_generator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/historical/pfe.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/historical/resampling.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/paths.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/phoenix_surface.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/repricer.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/simulator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/snowball_surface.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/statemachine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/exposure/value_surface.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/models/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/models/enums.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/models/portfolio.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/models/sensitivity.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/parameters/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/parameters/supervisory.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/portfolio/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/portfolio/counterparty.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/portfolio/credit_curve.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/portfolio/netting.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/portfolio/trade.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/portfolio/trade_portfolio.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/results/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/results/result.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/sacva_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/sensitivities/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/sensitivities/curve_bump.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/sensitivities/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/sacva/sensitivities/shifts.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/calibration/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/calibration/accessors.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/calibration/commodity.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/calibration/credit_non_qualifying.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/calibration/credit_qualifying.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/calibration/cross_risk.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/calibration/equity.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/calibration/fx.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/calibration/ir.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/calibration/version.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/crif/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/crif/models.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/crif/parser.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/dashboard.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/aggregation/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/aggregation/addon.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/aggregation/bucket_aggregator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/aggregation/concentration.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/aggregation/correlations.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/aggregation/product_class_aggregator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/aggregation/risk_class_aggregator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/aggregation/simm_calculator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/aggregation/weighted_sensitivity.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/base.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/classification/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/classification/bucket_mapper.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/factory.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/portfolio_adapter.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/result.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/risk_class/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/risk_class/equity_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/risk_class/ir_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/engines/risk_class/provider_engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/market_data.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/report/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/report/crif_export.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/report/excel_generator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/report/html_generator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/results/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/results/attribution.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/results/simm_result.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/results/whatif.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/sensitivity.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/taxonomy.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/template/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/template/xlsx_loader.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/simm/template/xlsx_template.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/base.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/credit/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/credit/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/credit/credit_stress_applicator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/credit/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/equity/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/equity/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/equity/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/equity/report/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/equity/report/report_generator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/equity/report/visualizer.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/equity/results.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/fi/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/fi/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/fi/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/fi/metrics.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/fi/results.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/fx/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/fx/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/fx/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/fx/fx_stress_applicator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/report/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/report/report_generator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/report/visualizer.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/results/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/results/result_aggregator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/results/result_exporter.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/results/stress_results.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/scenario/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/scenario/scenario.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/scenario/scenario_builder.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/scenario/scenario_library.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/scenario/scenario_storage.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/stress/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/stress/stress_applicator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/stresstest/stress/stress_types.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/barrier_shift.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/calendar/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/calendar/business_calendar.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/calendar/day_counter.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/calendar/holidayfile/china.csv +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/calendar/holidayfile/china_sse.csv +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/enum/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/enum/bond_enums.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/enum/deltaone_enums.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/enum/engine_enums.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/enum/fx_enums.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/enum/greek_conventions.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/enum/greeks_enums.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/enum/option_enums.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/exceptions.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/marketdata/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/marketdata/adapter/base_adapter.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/marketdata/adapter/mock_adapter.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/marketdata/converter.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/marketdata/example_usage.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/marketdata/generator/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/marketdata/generator/mock_generator.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/marketdata/models.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/marketdata/storage/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/marketdata/storage/parquet_storage.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/numerical/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/numerical/comparison.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/numerical/constants.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/numerical/formatting.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/numerical/pnl.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/numerical/safe_math.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/util/numerical/validation.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/attribution.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/backtest/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/backtest/var_backtester.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/base.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/credit/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/credit/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/credit/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/credit/revaluation.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/engines/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/engines/historical.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/engines/monte_carlo.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/engines/parametric.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/fx/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/fx/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/fx/engine.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/fx/revaluation.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/results/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/results/incremental_var_result.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/results/var_report.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/results/var_result.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/risk_factors/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/risk_factors/base.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/risk_factors/equity_factors.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/var/risk_factors/fi_factors.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/black_scholes.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/curves.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/heston/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/heston/analytical_kernel.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/heston/calibration.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/heston/mc_kernel.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/heston/params.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/heston/pde_kernel.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/localvol/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/localvol/dupire.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/localvol/mc_kernel.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/localvol/pde_kernel.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/localvol/surface.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/risk/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/risk/contracts.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/risk/scenarios.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/slv/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/slv/fokkerplanck/__init__.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/slv/fokkerplanck/bootstrap.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/slv/fokkerplanck/calibration.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/slv/fokkerplanck/config.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/slv/fokkerplanck/coordinates.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/slv/fokkerplanck/fp_operators.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/slv/fokkerplanck/fp_solver.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/slv/leverage.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/slv/slv_mc_kernel.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark/volmodels/slv/slv_pde_kernel.py +0 -0
- {quantark-0.2.3 → quantark-0.2.5}/quantark_compat.pth +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quantark
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.5
|
|
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
|
|
@@ -69,6 +69,7 @@ class BaseEngine(ABC):
|
|
|
69
69
|
product: BaseEquityProduct,
|
|
70
70
|
pricing_env: PricingEnvironment,
|
|
71
71
|
emit_distribution: bool = True,
|
|
72
|
+
streams: "Optional[frozenset]" = None,
|
|
72
73
|
) -> "PricingResult":
|
|
73
74
|
"""
|
|
74
75
|
Return product NPV and an event distribution for cash-leg valuation.
|
|
@@ -77,6 +78,10 @@ class BaseEngine(ABC):
|
|
|
77
78
|
generalized EventDistribution. Engines without event stats fall back to
|
|
78
79
|
a maturity-only distribution, which is sufficient for deterministic and
|
|
79
80
|
full-schedule cash legs.
|
|
81
|
+
|
|
82
|
+
``streams`` (the EventType set the caller needs, [§11.1]) is honored by
|
|
83
|
+
engines that support column pruning (the PDE autocallable solvers);
|
|
84
|
+
other engines ignore it and return the full distribution.
|
|
80
85
|
"""
|
|
81
86
|
from quantark.cashleg.event_distribution import EventDistribution, PricingResult
|
|
82
87
|
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"""Shared backward-in-time Crank-Nicolson interior operator.
|
|
2
|
+
|
|
3
|
+
``BackwardOperator`` owns the tridiagonal INTERIOR operator (l, c, u) for a fixed
|
|
4
|
+
spatial grid and produces, per (dt, theta), the banded LHS system and the RHS
|
|
5
|
+
tridiagonal coefficients — cached, so a factorization is built once and reused
|
|
6
|
+
across every column solved on the same step.
|
|
7
|
+
|
|
8
|
+
Boundary conditions live in the RHS/boundary rows, NOT in this interior matrix,
|
|
9
|
+
so the value sweep (Dirichlet value BCs) and the indicator sweep (Neumann /
|
|
10
|
+
zero-slope BCs) can share ONE factorization [§11.2]. The per-step damping
|
|
11
|
+
schedule (``theta_by_step``) is also owned here so both sweeps run the identical
|
|
12
|
+
Rannacher schedule — required for price/probability consistency and for the
|
|
13
|
+
factorization to be shareable across sweeps.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
from __future__ import annotations
|
|
17
|
+
|
|
18
|
+
from collections import OrderedDict
|
|
19
|
+
from typing import Optional, Sequence, Tuple
|
|
20
|
+
|
|
21
|
+
import numpy as np
|
|
22
|
+
|
|
23
|
+
from quantark.util.numerical import is_close
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class BackwardOperator:
|
|
27
|
+
"""Fixed interior tridiagonal operator with a per-(dt, theta) banded cache."""
|
|
28
|
+
|
|
29
|
+
def __init__(
|
|
30
|
+
self,
|
|
31
|
+
l: np.ndarray,
|
|
32
|
+
c: np.ndarray,
|
|
33
|
+
u: np.ndarray,
|
|
34
|
+
*,
|
|
35
|
+
use_banded: bool = True,
|
|
36
|
+
cache_enabled: bool = True,
|
|
37
|
+
cache_max_entries: int = 512,
|
|
38
|
+
) -> None:
|
|
39
|
+
self._l = np.asarray(l, dtype=float)
|
|
40
|
+
self._c = np.asarray(c, dtype=float)
|
|
41
|
+
self._u = np.asarray(u, dtype=float)
|
|
42
|
+
self.use_banded = use_banded
|
|
43
|
+
self._cache_enabled = cache_enabled
|
|
44
|
+
self._cache_max_entries = max(1, int(cache_max_entries))
|
|
45
|
+
self._banded_cache: "OrderedDict[Tuple[float, float], Tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray]]" = (
|
|
46
|
+
OrderedDict()
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
def _build(
|
|
50
|
+
self, dt: float, theta: float
|
|
51
|
+
) -> Tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray]:
|
|
52
|
+
l, c, u = self._l, self._c, self._u
|
|
53
|
+
lower = -theta * dt * l[2:-1]
|
|
54
|
+
main = 1.0 - theta * dt * c[1:-1]
|
|
55
|
+
upper = -theta * dt * u[1:-2]
|
|
56
|
+
|
|
57
|
+
banded = np.zeros((3, len(main)))
|
|
58
|
+
banded[0, 1:] = upper
|
|
59
|
+
banded[1, :] = main
|
|
60
|
+
banded[2, :-1] = lower
|
|
61
|
+
|
|
62
|
+
lower1 = (1.0 - theta) * dt * l[2:-1]
|
|
63
|
+
main1 = 1.0 + (1.0 - theta) * dt * c[1:-1]
|
|
64
|
+
upper1 = (1.0 - theta) * dt * u[1:-2]
|
|
65
|
+
return banded, lower1, main1, upper1
|
|
66
|
+
|
|
67
|
+
def banded_system(
|
|
68
|
+
self, dt: float, theta: float
|
|
69
|
+
) -> Tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray]:
|
|
70
|
+
"""Return ``(banded, lower1, main1, upper1)`` for the CN step at (dt, theta).
|
|
71
|
+
|
|
72
|
+
``banded`` is the LHS ``I - theta*dt*A`` in scipy banded form; the three
|
|
73
|
+
1-D vectors are the RHS ``I + (1-theta)*dt*A`` tridiagonals. Identical to
|
|
74
|
+
the former ``SnowballPDESolver._get_banded_system`` output.
|
|
75
|
+
"""
|
|
76
|
+
if not self._cache_enabled:
|
|
77
|
+
return self._build(dt, theta)
|
|
78
|
+
|
|
79
|
+
key = (round(dt, 12), round(theta, 12))
|
|
80
|
+
cached = self._banded_cache.get(key)
|
|
81
|
+
if cached is not None:
|
|
82
|
+
self._banded_cache.move_to_end(key)
|
|
83
|
+
return cached
|
|
84
|
+
|
|
85
|
+
result = self._build(dt, theta)
|
|
86
|
+
self._banded_cache[key] = result
|
|
87
|
+
self._banded_cache.move_to_end(key)
|
|
88
|
+
if len(self._banded_cache) > self._cache_max_entries:
|
|
89
|
+
self._banded_cache.popitem(last=False)
|
|
90
|
+
return result
|
|
91
|
+
|
|
92
|
+
def clear_cache(self) -> None:
|
|
93
|
+
self._banded_cache.clear()
|
|
94
|
+
|
|
95
|
+
@staticmethod
|
|
96
|
+
def theta_by_step(
|
|
97
|
+
t_vec: np.ndarray,
|
|
98
|
+
dt_vec: np.ndarray,
|
|
99
|
+
params,
|
|
100
|
+
discontinuity_times: Optional[Sequence[float]],
|
|
101
|
+
) -> np.ndarray:
|
|
102
|
+
"""Per-step Crank-Nicolson theta (length ``len(t_vec) - 1``) [§11.2].
|
|
103
|
+
|
|
104
|
+
Reproduces the pricing sweep's Rannacher rule exactly: step ``j`` (the
|
|
105
|
+
backward step from ``t_vec[j+1]`` to ``t_vec[j]``) uses backward-Euler
|
|
106
|
+
(``theta = 1``) within ``rannacher_steps`` of the terminal payoff, else
|
|
107
|
+
``event_theta`` for the ``event_rannacher_steps`` steps immediately
|
|
108
|
+
before each discontinuity node, else ``params.theta``.
|
|
109
|
+
|
|
110
|
+
Depends only on ``discontinuity_times`` (always KO ∪ KI ∪ coupon), so the
|
|
111
|
+
schedule is identical regardless of which streams a downstream consumer
|
|
112
|
+
selects — a prerequisite for sharing the factorization across sweeps.
|
|
113
|
+
"""
|
|
114
|
+
t_vec = np.asarray(t_vec, dtype=float)
|
|
115
|
+
num_t = len(t_vec)
|
|
116
|
+
n_steps = num_t - 1
|
|
117
|
+
theta = np.full(n_steps, float(params.theta), dtype=float)
|
|
118
|
+
if not params.use_rannacher:
|
|
119
|
+
return theta
|
|
120
|
+
|
|
121
|
+
smooth_js: set = set()
|
|
122
|
+
if params.auto_grid and params.rannacher_at_events and discontinuity_times:
|
|
123
|
+
for et in discontinuity_times:
|
|
124
|
+
idx = int(np.argmin(np.abs(t_vec - et)))
|
|
125
|
+
if 0 < idx < num_t - 1 and is_close(float(t_vec[idx]), float(et)):
|
|
126
|
+
for k in range(int(params.event_rannacher_steps)):
|
|
127
|
+
sj = idx - 1 - k
|
|
128
|
+
if sj >= 0:
|
|
129
|
+
smooth_js.add(sj)
|
|
130
|
+
|
|
131
|
+
for j in range(n_steps):
|
|
132
|
+
# steps_from_end is 1 for the first backward step off the terminal
|
|
133
|
+
# payoff, so `<=` yields exactly `rannacher_steps` implicit-Euler
|
|
134
|
+
# steps at the terminal discontinuity.
|
|
135
|
+
steps_from_end = num_t - 1 - j
|
|
136
|
+
if steps_from_end <= params.rannacher_steps:
|
|
137
|
+
theta[j] = 1.0
|
|
138
|
+
elif j in smooth_js:
|
|
139
|
+
theta[j] = float(params.event_theta)
|
|
140
|
+
return theta
|
|
@@ -5,18 +5,15 @@ Implements the finite difference method for knock-in and knock-out
|
|
|
5
5
|
barrier options with continuous or discrete monitoring.
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
-
from typing import Dict, List
|
|
8
|
+
from typing import Dict, List
|
|
9
9
|
|
|
10
10
|
import numpy as np
|
|
11
11
|
|
|
12
12
|
from quantark.asset.equity.product.base_equity_product import BaseEquityProduct
|
|
13
13
|
from quantark.asset.equity.product.option.barrier_option import BarrierOption
|
|
14
|
-
from quantark.asset.equity.product.option.observation_schedule import ResolvedObservationRecord
|
|
15
|
-
from quantark.asset.equity.param import PDEParams
|
|
16
14
|
from quantark.priceenv import PricingEnvironment
|
|
17
15
|
from quantark.util.enum import ObservationType, ObservationAggregation
|
|
18
16
|
from quantark.util.exceptions import PricingError
|
|
19
|
-
from quantark.util.numerical import is_close, safe_divide
|
|
20
17
|
|
|
21
18
|
from .base_pde_solver import BasePDESolver
|
|
22
19
|
|
|
@@ -41,48 +38,12 @@ class BarrierPDESolver(BasePDESolver):
|
|
|
41
38
|
the barrier at specified observation times.
|
|
42
39
|
"""
|
|
43
40
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
Args:
|
|
49
|
-
params: PDE engine configuration parameters
|
|
50
|
-
"""
|
|
51
|
-
super().__init__(params)
|
|
52
|
-
self._observation_indices: Set[int] = set()
|
|
53
|
-
self._schedule_records: Dict[int, List[ResolvedObservationRecord]] = {}
|
|
54
|
-
self._schedule_aggregation: ObservationAggregation = (
|
|
55
|
-
ObservationAggregation.STOP_FIRST_HIT
|
|
56
|
-
)
|
|
57
|
-
self._total_tau: float = 0.0
|
|
58
|
-
self._terminal_schedule_records: List[ResolvedObservationRecord] = []
|
|
59
|
-
self._has_terminal_observation: bool = False
|
|
41
|
+
# Discrete-monitoring state (_observation_indices, _schedule_records,
|
|
42
|
+
# _terminal_schedule_records, ...) is initialized by BasePDESolver and
|
|
43
|
+
# populated by the shared _setup_observation_indices.
|
|
60
44
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
return max(total_tau - tau_remaining, 0.0)
|
|
64
|
-
|
|
65
|
-
@staticmethod
|
|
66
|
-
def _df_between_times(
|
|
67
|
-
pricing_env: PricingEnvironment, start_time: float, end_time: float
|
|
68
|
-
) -> float:
|
|
69
|
-
if end_time <= start_time:
|
|
70
|
-
return 1.0
|
|
71
|
-
df_end = pricing_env.get_discount_factor(end_time)
|
|
72
|
-
df_start = pricing_env.get_discount_factor(start_time)
|
|
73
|
-
return float(safe_divide(df_end, df_start, fallback=0.0))
|
|
74
|
-
|
|
75
|
-
def _cashflow_value_at_time(
|
|
76
|
-
self,
|
|
77
|
-
pricing_env: PricingEnvironment,
|
|
78
|
-
cashflow: float,
|
|
79
|
-
current_time: float,
|
|
80
|
-
settlement_time: Optional[float],
|
|
81
|
-
) -> float:
|
|
82
|
-
if settlement_time is None or settlement_time <= current_time:
|
|
83
|
-
return float(cashflow)
|
|
84
|
-
df = self._df_between_times(pricing_env, current_time, settlement_time)
|
|
85
|
-
return float(cashflow) * df
|
|
45
|
+
# _current_time / _df_between_times / _cashflow_value_at_time are
|
|
46
|
+
# inherited from BasePDESolver.
|
|
86
47
|
|
|
87
48
|
def price(
|
|
88
49
|
self, product: BaseEquityProduct, pricing_env: PricingEnvironment
|
|
@@ -610,56 +571,17 @@ class BarrierPDESolver(BasePDESolver):
|
|
|
610
571
|
result = super()._build_grids(product, pricing_env, spot, sigma, tau, r, q)
|
|
611
572
|
x_vec, s_vec, dx_vec, t_vec, dt_vec = result
|
|
612
573
|
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
pricing_env=pricing_env,
|
|
625
|
-
default_barrier=product.barrier,
|
|
626
|
-
default_payoff=product.rebate,
|
|
627
|
-
require_single=True,
|
|
628
|
-
)
|
|
629
|
-
self._schedule_aggregation = schedule.aggregation_mode
|
|
630
|
-
if self._schedule_aggregation in (
|
|
631
|
-
ObservationAggregation.BEST,
|
|
632
|
-
ObservationAggregation.WORST,
|
|
633
|
-
):
|
|
634
|
-
raise PricingError(
|
|
635
|
-
f"PDE solver does not support aggregation mode {self._schedule_aggregation.value}"
|
|
636
|
-
)
|
|
637
|
-
for rec in resolved_records:
|
|
638
|
-
if is_close(rec.observation_time, 0.0):
|
|
639
|
-
idx = 0
|
|
640
|
-
self._observation_indices.add(idx)
|
|
641
|
-
self._schedule_records.setdefault(idx, []).append(rec)
|
|
642
|
-
elif is_close(rec.observation_time, tau):
|
|
643
|
-
self._terminal_schedule_records.append(rec)
|
|
644
|
-
self._has_terminal_observation = True
|
|
645
|
-
elif 0.0 < rec.observation_time < tau:
|
|
646
|
-
idx = int(np.argmin(np.abs(t_vec - rec.observation_time)))
|
|
647
|
-
self._observation_indices.add(idx)
|
|
648
|
-
self._schedule_records.setdefault(idx, []).append(rec)
|
|
649
|
-
elif (
|
|
650
|
-
hasattr(product, "observation_type")
|
|
651
|
-
and product.observation_type == ObservationType.DISCRETE
|
|
652
|
-
and hasattr(product, "observation_dates")
|
|
653
|
-
and product.observation_dates is not None
|
|
654
|
-
):
|
|
655
|
-
for obs_time in product.observation_dates:
|
|
656
|
-
if is_close(obs_time, 0.0):
|
|
657
|
-
self._observation_indices.add(0)
|
|
658
|
-
elif is_close(obs_time, tau):
|
|
659
|
-
self._has_terminal_observation = True
|
|
660
|
-
elif 0.0 < obs_time < tau:
|
|
661
|
-
idx = int(np.argmin(np.abs(t_vec - obs_time)))
|
|
662
|
-
self._observation_indices.add(idx)
|
|
574
|
+
self._setup_observation_indices(
|
|
575
|
+
product,
|
|
576
|
+
pricing_env,
|
|
577
|
+
tau,
|
|
578
|
+
t_vec,
|
|
579
|
+
resolve_kwargs={
|
|
580
|
+
"default_barrier": product.barrier,
|
|
581
|
+
"default_payoff": product.rebate,
|
|
582
|
+
"require_single": True,
|
|
583
|
+
},
|
|
584
|
+
)
|
|
663
585
|
|
|
664
586
|
return result
|
|
665
587
|
|