py-beacon-kit 0.9.2__tar.gz → 0.9.3__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.
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/CHANGELOG.md +22 -1
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/PKG-INFO +1 -1
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/__init__.py +1 -1
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/flows.py +7 -1
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/implementation.py +7 -1
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/screens.py +10 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/vehicle.py +8 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/expressions/catalogue.py +19 -2
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/calculation/__init__.py +2 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/calculation/calculator.py +12 -3
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/calculation/selection.py +25 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/methodology.py +6 -2
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/result.py +6 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/optimise/constraints.py +13 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/app.py +7 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/backtest_options.py +13 -2
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/backtests.py +7 -1
- py_beacon_kit-0.9.3/src/beacon/server/holdings.py +370 -0
- py_beacon_kit-0.9.3/src/beacon/server/holdings_schemas.py +95 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/market_caps.py +25 -0
- py_beacon_kit-0.9.3/src/beacon/server/parameter_schemas.py +100 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/preview.py +57 -16
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/routers/__init__.py +2 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/routers/indices.py +13 -2
- py_beacon_kit-0.9.3/src/beacon/server/routers/reference_values.py +51 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/routers/strategy_runs.py +86 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/schemas.py +39 -0
- py_beacon_kit-0.9.3/src/beacon/server/stage_descriptions.py +374 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/types.py +31 -6
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/strategy/allocations.py +3 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/strategy/constructions.py +6 -1
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/strategy/signals.py +4 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/strategy/synthetic.py +4 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/strategy/tracking.py +6 -1
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_holding_reference.py +15 -0
- py_beacon_kit-0.9.3/tests/test_server_holdings.py +367 -0
- py_beacon_kit-0.9.3/tests/test_server_parameter_schemas.py +246 -0
- py_beacon_kit-0.9.3/tests/test_stage_descriptions.py +63 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/.gitignore +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/LICENSE.txt +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/README.md +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/examples/01_index_and_backtest.ipynb +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/examples/02_backtest_analysis.ipynb +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/examples/03_index_futures.ipynb +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/examples/04_optimised_index.ipynb +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/examples/05_optimised_backtest.ipynb +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/examples/README.md +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/examples/data/templates/equities_corp_actions_data.xlsx +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/examples/data/templates/equities_fundamental_data.xlsx +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/examples/data/templates/equities_market_data.xlsx +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/examples/data/templates/equities_reference_data.xlsx +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/examples/data/templates/fx_rates_data.xlsx +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/pyproject.toml +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/_optional.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/analysis/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/analysis/attribution.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/analysis/comparison.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/analysis/concentration.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/analysis/etf/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/analysis/etf/analytics.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/analysis/liquidity.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/analysis/relative.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/analysis/risk.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/asset/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/asset/base.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/asset/bond.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/asset/commodity.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/asset/equity.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/asset/view.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/assumptions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/accounting.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/asset_view.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/books.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/capacity.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/class_benchmark.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/costs.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/dealing.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/dividends.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/engine.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/etf.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/execution.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/futures.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/hedging.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/limits.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/listings.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/main.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/metrics.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/presets.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/pricing.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/redistribution.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/result.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/rules.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/settings.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/share_classes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/swap.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/backtest/withholding.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/catalogue.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/changelog.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/adjustment.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/base.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/corporate_actions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/features.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/fetcher.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/free_float.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/fx.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/identifiers.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/importing.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/ingest.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/kinds.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/layout.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/loader.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/postgres.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/prices.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/reference_as_of.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/session.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/data/store.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/derivatives/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/derivatives/base.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/derivatives/curves.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/derivatives/forwards.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/derivatives/futures.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/derivatives/pricing.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/derivatives/swaps.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/derivatives/term_structure.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/environment/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/environment/config.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/exceptions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/expressions/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/expressions/core.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/expressions/namespaces.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/expressions/resolve.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/expressions/stubs.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/expressions/validation.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/fund/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/fund/fund.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/asset_view.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/cache.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/calculation/corporate_actions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/calculation/deletions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/calculation/market_values.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/calculation/price_gaps.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/calculation/total_return.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/capping.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/chaining.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/constructor.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/context.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/derived.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/expression_rules.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/feature_rules.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/requirements.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/index/schedule.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/optimise/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/optimise/config.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/optimise/frontier.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/optimise/result.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/optimise/solver.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/accessors.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/analysis_charts.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/arrange.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/base.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/charts/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/charts/bars.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/charts/base.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/charts/data.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/charts/grid.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/charts/heatmap.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/charts/lines.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/charts/points.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/charts/table.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/colormaps.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/colours.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/comparison.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/dateticks.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/design.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/fitting.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/fonts/InterTight-Light.ttf +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/fonts/InterTight-LightItalic.ttf +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/fonts/InterTight-Regular.ttf +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/fonts/OFL-InterTight.txt +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/fonts/OFL-SourceSerif4.txt +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/fonts/SourceSerif4-Italic350.ttf +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/frame.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/gridding.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/groups.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/interactive/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/interactive/axes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/interactive/baseline.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/interactive/figure.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/interactive/frame.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/interactive/html.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/interactive/popup.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/interactive/readout.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/interactive/spines.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/interactive/traces.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/interactive/units.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/layout.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/legend.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/mark.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/marks.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/metrics.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/notes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/paint.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/panels.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/style.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/tables/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/tables/css.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/tables/draw.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/tables/fonts.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/tables/geometry.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/tables/html.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/tables/model.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/tables/paint.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/tables/script.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/tables/sizes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/themes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/ticks.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/plot/webfonts.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/portfolio/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/portfolio/asset_view.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/portfolio/base.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/portfolio/cash_flows.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/portfolio/history.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/portfolio/reporting.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/py.typed +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/report/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/report/blocks.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/report/pdf.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/risk/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/risk/contribution.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/risk/covariance.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/risk/factors.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/risk/model.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/__main__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/active_data.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/backtest_settings.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/benchmarks.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/comparisons.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/config.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/constraints.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/data_stores.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/definitions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/derivative_records.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/derivatives.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/documents.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/errors.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/holding_reference.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/index_level.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/jobs.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/methods.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/optimisation.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/periods.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/reference.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/reports.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/risk.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/routers/backtest.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/routers/coverage.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/routers/data.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/routers/derivatives.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/routers/importing.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/routers/jobs.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/routers/optimise.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/routers/refresh.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/routers/reports.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/routers/risk.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/routers/stores.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/routers/strategies.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/routers/synthetic.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/routers/universes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/routers/watchlists.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/runs.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/security.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/serialisation.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/share_class_results.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/share_class_settings.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/store.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/store_schemas.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/strategies.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/strategy_runs.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/strategy_schemas.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/views.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/server/weights.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/sources.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/strategy/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/strategy/active.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/strategy/base.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/strategy/constraints.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/strategy/futures.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/synthetic/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/synthetic/__main__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/synthetic/dataset.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/synthetic/extend.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/synthetic/features.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/synthetic/fx.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/synthetic/listings.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/synthetic/prices.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/synthetic/profiles.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/synthetic/regimes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/synthetic/regions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/synthetic/returns.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/synthetic/state.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/synthetic/universe.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/testing/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/testing/dataset.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/testing/weights.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/tokens/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/tokens/colors.json +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/src/beacon/universe.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_annual_returns_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_annual_returns_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_area_filled_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_area_filled_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_area_stacked_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_area_stacked_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_bar_capped_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_bar_capped_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_blended_both_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_blended_both_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_boxed_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_boxed_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_column_grouped_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_column_grouped_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_column_signed_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_column_signed_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_combo_daily_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_combo_daily_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_compare_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_compare_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_constituents_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_constituents_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_contributions_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_contributions_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_correlation_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_correlation_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_exposures_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_exposures_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_frontier_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_frontier_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_grid_one_by_three_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_grid_one_by_three_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_grid_spanning_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_grid_spanning_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_grid_two_by_two_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_grid_two_by_two_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_group_and_row_boxes_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_group_and_row_boxes_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_heatmap_blended_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_heatmap_blended_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_heatmap_correlation_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_heatmap_correlation_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_heatmap_monthly_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_heatmap_monthly_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_histogram_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_histogram_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_level_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_level_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_line_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_line_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_line_periods_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_line_periods_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_line_secondary_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_line_secondary_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_lines_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_lines_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_one_column_without_values_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_one_column_without_values_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_performance_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_performance_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_plain_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_plain_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_row_group_headings_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_row_group_headings_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_scatter_fitted_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_scatter_fitted_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_scatter_origin_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_scatter_origin_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_squares_faded_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_squares_faded_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_stripes_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_stripes_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_weights_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/baseline/test_weights_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/conftest.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/docstyle.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_adjustment.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_api_contract.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_asset.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_asset_view.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_attribution.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_backtest_capacity.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_backtest_dealing.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_backtest_dividends.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_backtest_engine.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_backtest_engine_integration.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_backtest_etf.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_backtest_execution.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_backtest_fills.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_backtest_flows.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_backtest_hedged_classes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_backtest_main.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_backtest_modifier.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_backtest_pricing.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_backtest_result.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_backtest_share_classes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_backtest_stages.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_backtest_withholding.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_benchmark.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_book_currency.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_canonical_dataset_integration.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_capping.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_catalogue.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_chaining.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_changelog.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_chart_images.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_class_benchmark.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_comparison.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_concentration.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_constraint_catalogue.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_corporate_action_kind.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_corporate_actions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_coverage_fields.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_currency_conversion.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_daily_weights.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_data_fetcher.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_data_import.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_data_kinds.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_data_store.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_data_tables.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_derivatives_base.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_derivatives_curves.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_derivatives_etf_future.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_derivatives_futures.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_derivatives_pricing.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_derivatives_swaps.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_derived_index.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_docs_examples.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_docs_style.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_effective_lag.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_examples.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_expression_namespaces.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_expression_rules.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_expression_schema.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_expression_validation.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_expressions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_factors.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_feature_rules.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_features.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_free_float_backfill.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_frontier.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_fund_record.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_fx_data.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_fx_pairs.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_fx_routes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_identifier_search.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_index_asset_view.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_index_batch_reads.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_index_cache.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_index_calculator.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_index_calculator_integration.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_index_currency.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_index_definition.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_index_eligibility.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_index_result.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_index_schedule.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_index_selection.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_index_weighting.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_ingest.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_integration.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_job_persistence.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_look_ahead.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_modelling_assumptions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_optimise.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_optional_dependencies.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_plot.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_plot_charts.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_plot_design.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_plot_frame.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_plot_grid.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_plot_heatmap.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_plot_images.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_plot_interactive.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_plot_layout.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_plot_table.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_portfolio.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_portfolio_asset_view.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_postgres_store.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_properties.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_read_volume.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_readme.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_reference_as_of.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_reference_currency.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_reference_dimensions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_reference_profile.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_report.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_reporting.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_requirements.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_risk_contribution.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_risk_model.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_backtest.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_backtest_settings.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_comparisons.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_cors.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_data_router.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_data_stores.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_derivative_records.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_derivatives.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_document_faults.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_features.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_import.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_index_level.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_indices.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_jobs.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_listing_discovery.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_optimise.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_optimised_indices.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_preview.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_preview_caps.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_preview_document.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_preview_optimised.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_reference_batch.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_refresh.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_reports.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_risk.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_share_classes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_store.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_strategies.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_strategy_runs.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_synthetic.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_universes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_views.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_server_weights_rows.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_session_agreement.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_spec_conformance.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_splits.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_stale_prices.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_strategy_active.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_strategy_constructions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_strategy_futures.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_strategy_synthetic.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_strategy_tracking.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_survivorship.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_synthetic.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_synthetic_extend.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_synthetic_features.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_table_images.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_testing_dataset.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_tokens.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_total_return.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_universe_batch_reads.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.3}/tests/test_universe_filters.py +0 -0
|
@@ -8,6 +8,26 @@ Before 1.0, a breaking change raises the middle number, as in 0.1 to 0.2.
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [0.9.3] - 2026-10-20
|
|
12
|
+
|
|
13
|
+
A strategy's holdings at any date, from the universe to the book, with each step explained, and a backtest editor that can offer pickers and rows for every structured setting.
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- `GET /strategies/{id}/holdings?date=` shows a strategy's whole holdings workflow at a date, one row per name: the universe narrowed by the index's rules, the index's cap, the benchmark's weight, the strategy's choice, the weight after each implementation screen, the cash buffer and the caps, the weight traded to, and as of the date the held weight, its drift and the units held, with every rebalance date of the run and each stage's label and count. A backtest now keeps how each rebalance's universe narrowed (`IndexResult.selections`) and each name's weight after the screens (`RebalanceStep.screened`).
|
|
18
|
+
- `universe_weight` on holdings rows and constituent preview assets: each universe name's share of the universe's total market cap, free-float where the index weights by free-float market cap, full otherwise.
|
|
19
|
+
- Each holdings stage and constituent preview step says what it is and does: its `type`, a plain-sentence `description` of what it does with its settings, and its settings as labelled `params` formatted with their units. The market cap and liquidity rules' thresholds now carry their units (money, shares) in `/indices/rule-types`.
|
|
20
|
+
|
|
21
|
+
- Every structured setting in `GET /backtest/options` names the shape it takes in `ref`, a schema published under `components.schemas`: names, a number per name, amounts by date, a field, an expression, optimiser constraint rows, signals by factor and targets by factor, and a vehicle's pricing, limits and withholding rates. A list of reference values names its `column`, and a setting whose entries are configurable types names the family they come from in `options`. `replication_constraints` lists the constraints an optimised replication takes, and `GET /data/reference-values?column=` lists the values a reference column holds. The optimiser's constraints in `/optimise/constraint-types` name their shapes too.
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- A constituent preview's stale-price step no longer takes another rule's id.
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- `/data/fields` labels keep acronyms in capitals: "GICS industry", "ISIN", "IPO date", rather than "Gics industry".
|
|
30
|
+
|
|
11
31
|
## [0.9.2] - 2026-10-19
|
|
12
32
|
|
|
13
33
|
Every figure a run shows comes from the engine: a run compared with its index and its benchmark, its figures by year, quarter and month, and each holding's reference columns as they stood on the row's date.
|
|
@@ -351,7 +371,8 @@ The first release.
|
|
|
351
371
|
- An index or backtest never uses a price, rate or free float dated after the day it is working on.
|
|
352
372
|
- Requires Python 3.11 or later.
|
|
353
373
|
|
|
354
|
-
[Unreleased]: https://github.com/karanbh01/py-beacon/compare/v0.9.
|
|
374
|
+
[Unreleased]: https://github.com/karanbh01/py-beacon/compare/v0.9.3...HEAD
|
|
375
|
+
[0.9.3]: https://github.com/karanbh01/py-beacon/compare/v0.9.2...v0.9.3
|
|
355
376
|
[0.9.2]: https://github.com/karanbh01/py-beacon/compare/v0.9.1...v0.9.2
|
|
356
377
|
[0.9.1]: https://github.com/karanbh01/py-beacon/compare/v0.9.0...v0.9.1
|
|
357
378
|
[0.9.0]: https://github.com/karanbh01/py-beacon/compare/v0.8.1...v0.9.0
|
|
@@ -32,6 +32,7 @@ import math
|
|
|
32
32
|
from abc import ABC, abstractmethod
|
|
33
33
|
from collections.abc import Mapping
|
|
34
34
|
from dataclasses import dataclass
|
|
35
|
+
from typing import ClassVar
|
|
35
36
|
|
|
36
37
|
import numpy as np
|
|
37
38
|
import pandas as pd
|
|
@@ -110,7 +111,9 @@ class Flows(ABC):
|
|
|
110
111
|
"""Today's flow in the book's currency: positive in, negative out."""
|
|
111
112
|
|
|
112
113
|
|
|
113
|
-
@register(FLOW, "Dated amounts"
|
|
114
|
+
@register(FLOW, "Dated amounts", fields={
|
|
115
|
+
"amounts": Display("Amounts by date", unit=MONEY),
|
|
116
|
+
})
|
|
114
117
|
class DatedFlows(Flows):
|
|
115
118
|
"""Amounts on given dates. One dated on a day the run does not simulate
|
|
116
119
|
arrives on the next simulated day.
|
|
@@ -120,6 +123,9 @@ class DatedFlows(Flows):
|
|
|
120
123
|
negative out.
|
|
121
124
|
"""
|
|
122
125
|
|
|
126
|
+
# The shapes the editor renders these in (BN-330).
|
|
127
|
+
PARAM_SCHEMAS: ClassVar[dict[str, str]] = {"amounts": "DatedAmounts"}
|
|
128
|
+
|
|
123
129
|
def __init__(self,
|
|
124
130
|
amounts: Mapping[str | pd.Timestamp, float]):
|
|
125
131
|
self.amounts: dict[pd.Timestamp, float] = {
|
|
@@ -149,6 +149,8 @@ class RebalanceStep:
|
|
|
149
149
|
(``"stale price"`` for one the data says has gone stale,
|
|
150
150
|
``"MinimumPosition"`` for one too small to keep).
|
|
151
151
|
capped: Each name cut to its capacity, and the weight it was cut to.
|
|
152
|
+
screened: The weights after the screens and redistribution, before
|
|
153
|
+
the cash buffer and the caps.
|
|
152
154
|
weights: What the trades aimed at, after redistribution.
|
|
153
155
|
cash_weight: The share of the book the weights leave in cash.
|
|
154
156
|
"""
|
|
@@ -158,6 +160,8 @@ class RebalanceStep:
|
|
|
158
160
|
capped: dict[str, float] = field(default_factory=dict)
|
|
159
161
|
weights: dict[str, float] = field(default_factory=dict)
|
|
160
162
|
cash_weight: float = 0.0
|
|
163
|
+
# BN-326: each name's weight between the screens and the caps.
|
|
164
|
+
screened: dict[str, float] = field(default_factory=dict)
|
|
161
165
|
|
|
162
166
|
|
|
163
167
|
def plan(implementation: Implementation,
|
|
@@ -200,6 +204,7 @@ def plan(implementation: Implementation,
|
|
|
200
204
|
kept = {name: weight for name, weight in target.items()
|
|
201
205
|
if name not in removed}
|
|
202
206
|
weights = redistributed(kept, total, implementation.redistribution)
|
|
207
|
+
screened = dict(weights)
|
|
203
208
|
|
|
204
209
|
# BN-267: the buffer is set aside before the caps, so a name dropped as
|
|
205
210
|
# too small is redistributed within what is invested.
|
|
@@ -214,7 +219,8 @@ def plan(implementation: Implementation,
|
|
|
214
219
|
|
|
215
220
|
return RebalanceStep(date=date, target=dict(target), removed=removed,
|
|
216
221
|
capped=capped, weights=weights,
|
|
217
|
-
cash_weight=max(1.0 - sum(weights.values()), 0.0)
|
|
222
|
+
cash_weight=max(1.0 - sum(weights.values()), 0.0),
|
|
223
|
+
screened=screened)
|
|
218
224
|
|
|
219
225
|
|
|
220
226
|
def _within_capacity(implementation: Implementation,
|
|
@@ -36,6 +36,7 @@ import logging
|
|
|
36
36
|
from abc import ABC, abstractmethod
|
|
37
37
|
from collections.abc import Iterable
|
|
38
38
|
from dataclasses import dataclass
|
|
39
|
+
from typing import ClassVar
|
|
39
40
|
|
|
40
41
|
import pandas as pd
|
|
41
42
|
|
|
@@ -298,6 +299,12 @@ class ExclusionScreen(Screen):
|
|
|
298
299
|
regions: `REGION` values excluded.
|
|
299
300
|
"""
|
|
300
301
|
|
|
302
|
+
# The shapes the editor renders these in (BN-330).
|
|
303
|
+
PARAM_SCHEMAS: ClassVar[dict[str, str]] = {"identifiers": "IdentifierList",
|
|
304
|
+
"sectors": "ReferenceValueList",
|
|
305
|
+
"regions": "ReferenceValueList"}
|
|
306
|
+
PARAM_COLUMNS: ClassVar[dict[str, str]] = {"sectors": "SECTOR", "regions": "REGION"}
|
|
307
|
+
|
|
301
308
|
def __init__(self,
|
|
302
309
|
identifiers: Iterable[str] = (),
|
|
303
310
|
sectors: Iterable[str] = (),
|
|
@@ -339,6 +346,9 @@ class ExpressionScreen(Screen):
|
|
|
339
346
|
on_missing: Whether a name with no value for a field passes.
|
|
340
347
|
"""
|
|
341
348
|
|
|
349
|
+
# The shapes the editor renders these in (BN-330).
|
|
350
|
+
PARAM_SCHEMAS: ClassVar[dict[str, str]] = {"expression": "ExpressionNode"}
|
|
351
|
+
|
|
342
352
|
def __init__(self,
|
|
343
353
|
expression: Expression,
|
|
344
354
|
on_missing: bool = False):
|
|
@@ -17,7 +17,9 @@ that the NAV is net of and paid from cash as soon as there is cash to pay it.
|
|
|
17
17
|
# BN-267: the minimal vehicle phase 5 needs for the fee. Pricing and
|
|
18
18
|
# diversification limits are BN-268, with the presets.
|
|
19
19
|
from collections.abc import Iterable, Mapping
|
|
20
|
+
from typing import ClassVar
|
|
20
21
|
|
|
22
|
+
from ..catalogue import LIMIT, PRICING
|
|
21
23
|
from .dealing import Pricing, SinglePricing
|
|
22
24
|
from .limits import DiversificationLimit
|
|
23
25
|
from .withholding import checked_rates
|
|
@@ -54,6 +56,12 @@ class Vehicle:
|
|
|
54
56
|
share from 0 up to 1.
|
|
55
57
|
"""
|
|
56
58
|
|
|
59
|
+
# The shapes the editor renders these in (BN-330).
|
|
60
|
+
PARAM_SCHEMAS: ClassVar[dict[str, str]] = {"pricing": "TypedSpec",
|
|
61
|
+
"limits": "TypedSpecs",
|
|
62
|
+
"withholding_rates": "CountryRates"}
|
|
63
|
+
PARAM_KINDS: ClassVar[dict[str, str]] = {"pricing": PRICING, "limits": LIMIT}
|
|
64
|
+
|
|
57
65
|
def __init__(self,
|
|
58
66
|
management_fee_bps: float = 0.0,
|
|
59
67
|
launch_price: float = DEFAULT_LAUNCH_PRICE,
|
|
@@ -69,9 +69,26 @@ LABELS = {
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
|
|
72
|
+
# BN-327: words a label keeps in capitals wherever they fall in a name, so
|
|
73
|
+
# "gics_industry" reads "GICS industry" and "ipo_date" "IPO date".
|
|
74
|
+
ACRONYMS = frozenset({"adr", "adv", "cusip", "etf", "figi", "gics", "icb", "id", "ipo",
|
|
75
|
+
"isin", "lei", "mic", "nav", "ric", "sedol", "trbc",
|
|
76
|
+
"usd", "eur", "gbp", "jpy"})
|
|
77
|
+
|
|
78
|
+
|
|
72
79
|
def label_of(name: str) -> str:
|
|
73
|
-
"""A field's label: its own where it has one, else its name in words
|
|
74
|
-
|
|
80
|
+
"""A field's label: its own where it has one, else its name in words,
|
|
81
|
+
acronyms in capitals."""
|
|
82
|
+
if name in LABELS:
|
|
83
|
+
return LABELS[name]
|
|
84
|
+
|
|
85
|
+
words = name.split("_")
|
|
86
|
+
labelled = [word.upper() if word in ACRONYMS else word for word in words]
|
|
87
|
+
|
|
88
|
+
if labelled and labelled[0] == words[0]:
|
|
89
|
+
labelled[0] = labelled[0].capitalize()
|
|
90
|
+
|
|
91
|
+
return " ".join(labelled)
|
|
75
92
|
|
|
76
93
|
|
|
77
94
|
def _entry(namespace: str,
|
|
@@ -11,6 +11,7 @@ from .selection import (
|
|
|
11
11
|
UNIVERSE_POSITION,
|
|
12
12
|
SelectionResult,
|
|
13
13
|
SelectionStep,
|
|
14
|
+
SelectionSummary,
|
|
14
15
|
select_with_provenance,
|
|
15
16
|
)
|
|
16
17
|
|
|
@@ -19,5 +20,6 @@ __all__ = [
|
|
|
19
20
|
"IndexCalculator",
|
|
20
21
|
"SelectionResult",
|
|
21
22
|
"SelectionStep",
|
|
23
|
+
"SelectionSummary",
|
|
22
24
|
"select_with_provenance",
|
|
23
25
|
]
|
|
@@ -26,6 +26,7 @@ from .selection import (
|
|
|
26
26
|
UNIVERSE_POSITION,
|
|
27
27
|
SelectionResult,
|
|
28
28
|
SelectionStep,
|
|
29
|
+
SelectionSummary,
|
|
29
30
|
select_with_provenance,
|
|
30
31
|
)
|
|
31
32
|
from .total_return import REINVESTING, TotalReturnMixin, withholding_for
|
|
@@ -723,6 +724,8 @@ class IndexCalculator(MarketValuesMixin, DeletionMixin,
|
|
|
723
724
|
# Only rebalances where the cap actually bound get an entry, so an
|
|
724
725
|
# uncapped index carries an empty mapping rather than noise.
|
|
725
726
|
cap_reports: dict[pd.Timestamp, CapReport] = {}
|
|
727
|
+
# BN-326: how each rebalance's universe narrowed, by effective date.
|
|
728
|
+
selections: dict[pd.Timestamp, SelectionSummary] = {}
|
|
726
729
|
# Effective date -> announcement date, populated only where the two
|
|
727
730
|
# differ. An index with no lag carries an empty mapping, so its
|
|
728
731
|
# presence is itself the signal that a lag applies.
|
|
@@ -780,7 +783,10 @@ class IndexCalculator(MarketValuesMixin, DeletionMixin,
|
|
|
780
783
|
if date == base_date:
|
|
781
784
|
# --- Base date initialisation ---
|
|
782
785
|
constituents_raw = self._get_universe(date)
|
|
783
|
-
|
|
786
|
+
selection = self.select_with_provenance(constituents_raw, date)
|
|
787
|
+
constituents = selection.survivors
|
|
788
|
+
selections[date] = selection.summary(
|
|
789
|
+
[asset.asset_id for asset in constituents_raw])
|
|
784
790
|
|
|
785
791
|
self._require_a_base_composition(constituents_raw,
|
|
786
792
|
constituents, date)
|
|
@@ -855,8 +861,10 @@ class IndexCalculator(MarketValuesMixin, DeletionMixin,
|
|
|
855
861
|
announced_on = announced_for.get(date, date)
|
|
856
862
|
|
|
857
863
|
constituents_raw = self._get_universe(announced_on)
|
|
858
|
-
|
|
859
|
-
|
|
864
|
+
selection = self.select_with_provenance(constituents_raw, announced_on)
|
|
865
|
+
constituents = selection.survivors
|
|
866
|
+
selections[date] = selection.summary(
|
|
867
|
+
[asset.asset_id for asset in constituents_raw])
|
|
860
868
|
weights = self.calculate_constituent_weights(constituents,
|
|
861
869
|
announced_on)
|
|
862
870
|
weights, cap_report = self.cap_weights(weights)
|
|
@@ -967,6 +975,7 @@ class IndexCalculator(MarketValuesMixin, DeletionMixin,
|
|
|
967
975
|
price_gaps=self.recorded_gaps(),
|
|
968
976
|
currency=self.definition.currency,
|
|
969
977
|
modelling_assumptions=data_treatment_of(self.data),
|
|
978
|
+
selections=selections,
|
|
970
979
|
).with_data(self.data)
|
|
971
980
|
|
|
972
981
|
def require_columns(self) -> None:
|
|
@@ -91,6 +91,25 @@ class SelectionStep:
|
|
|
91
91
|
return self.position == UNIVERSE_POSITION
|
|
92
92
|
|
|
93
93
|
|
|
94
|
+
@dataclass(frozen=True)
|
|
95
|
+
class SelectionSummary:
|
|
96
|
+
"""How one rebalance's universe narrowed, kept on the index's result.
|
|
97
|
+
|
|
98
|
+
The provenance of a `SelectionResult` without its asset objects: the
|
|
99
|
+
universe's names, each rung of the funnel, and the position of the rung
|
|
100
|
+
that removed each excluded name.
|
|
101
|
+
|
|
102
|
+
Attributes:
|
|
103
|
+
universe: The universe's identifiers, in order.
|
|
104
|
+
steps: One entry per rung, the universe first.
|
|
105
|
+
exclusions: Identifier to the position of the rung that removed it.
|
|
106
|
+
"""
|
|
107
|
+
# BN-326: what a strategy's holdings workflow shows at a past rebalance.
|
|
108
|
+
universe: list[str]
|
|
109
|
+
steps: list[SelectionStep]
|
|
110
|
+
exclusions: dict[str, int] = field(default_factory=dict)
|
|
111
|
+
|
|
112
|
+
|
|
94
113
|
@dataclass(frozen=True)
|
|
95
114
|
class SelectionResult:
|
|
96
115
|
"""Which assets survived selection, and how each one fared.
|
|
@@ -111,6 +130,12 @@ class SelectionResult:
|
|
|
111
130
|
steps: list[SelectionStep]
|
|
112
131
|
exclusions: dict[str, int] = field(default_factory=dict)
|
|
113
132
|
|
|
133
|
+
def summary(self,
|
|
134
|
+
universe: list[str]) -> SelectionSummary:
|
|
135
|
+
"""This selection's provenance, over *universe*'s identifiers."""
|
|
136
|
+
return SelectionSummary(universe=list(universe), steps=list(self.steps),
|
|
137
|
+
exclusions=dict(self.exclusions))
|
|
138
|
+
|
|
114
139
|
@property
|
|
115
140
|
def survivor_ids(self) -> list[str]:
|
|
116
141
|
"""Identifiers of the surviving assets."""
|
|
@@ -14,6 +14,8 @@ import pandas as pd
|
|
|
14
14
|
from ..asset.base import Asset
|
|
15
15
|
from ..asset.equity import Equity, require_equity
|
|
16
16
|
from ..catalogue import (
|
|
17
|
+
COUNT,
|
|
18
|
+
MONEY,
|
|
17
19
|
SELECTION,
|
|
18
20
|
WEIGHTING,
|
|
19
21
|
Display,
|
|
@@ -228,11 +230,11 @@ class EligibilityRuleBase(ABC):
|
|
|
228
230
|
# larger one quoted in a strong currency.
|
|
229
231
|
@register(SELECTION, "Market capitalisation",
|
|
230
232
|
fields={
|
|
231
|
-
"min_market_cap": Display("Minimum market cap", order=1,
|
|
233
|
+
"min_market_cap": Display("Minimum market cap", order=1, unit=MONEY,
|
|
232
234
|
help="In the index currency, converted "
|
|
233
235
|
"at the rate on the day. Blank for "
|
|
234
236
|
"no floor."),
|
|
235
|
-
"max_market_cap": Display("Maximum market cap", order=2,
|
|
237
|
+
"max_market_cap": Display("Maximum market cap", order=2, unit=MONEY,
|
|
236
238
|
help="In the index currency, converted "
|
|
237
239
|
"at the rate on the day. Blank for "
|
|
238
240
|
"no ceiling."),
|
|
@@ -382,9 +384,11 @@ class MarketCapRule(EligibilityRuleBase):
|
|
|
382
384
|
@register(SELECTION, "Liquidity",
|
|
383
385
|
fields={
|
|
384
386
|
"min_avg_daily_volume": Display("Minimum average daily volume", order=1,
|
|
387
|
+
unit=COUNT,
|
|
385
388
|
help="Shares traded per day, averaged "
|
|
386
389
|
"over the lookback."),
|
|
387
390
|
"min_avg_daily_value": Display("Minimum average daily value", order=2,
|
|
391
|
+
unit=MONEY,
|
|
388
392
|
help="Traded value per day, in the "
|
|
389
393
|
"index currency."),
|
|
390
394
|
"lookback_days": Display("Lookback", order=3,
|
|
@@ -10,6 +10,7 @@ from ..assumptions import ModellingAssumptions
|
|
|
10
10
|
from ..data.fetcher import DataFetcher
|
|
11
11
|
from ..plot.base import PlotAccessor
|
|
12
12
|
from .asset_view import IndexAssetView
|
|
13
|
+
from .calculation.selection import SelectionSummary
|
|
13
14
|
from .capping import CapReport
|
|
14
15
|
from .schedule import CalendarCoverage
|
|
15
16
|
|
|
@@ -127,6 +128,9 @@ class IndexResult:
|
|
|
127
128
|
modelling_assumptions: The data treatment the calculation read data
|
|
128
129
|
under (FX policy, stale-price threshold, free-float backfill),
|
|
129
130
|
with the other fields unset. None for a result built by hand.
|
|
131
|
+
selections: Mapping of rebalance date -> how its universe narrowed
|
|
132
|
+
to the constituents: the universe, each rule's rung and who each
|
|
133
|
+
removed. Empty for a derived index, which selects nothing.
|
|
130
134
|
|
|
131
135
|
The daily panel is *recorded* rather than re-derived because the index's
|
|
132
136
|
daily state is path-dependent. It is not a forward-fill of the rebalance
|
|
@@ -167,6 +171,8 @@ class IndexResult:
|
|
|
167
171
|
currency: str | None = None
|
|
168
172
|
# BN-276: what the calculation assumed, so a backtest can check it agrees.
|
|
169
173
|
modelling_assumptions: ModellingAssumptions | None = None
|
|
174
|
+
# BN-326.
|
|
175
|
+
selections: dict[pd.Timestamp, SelectionSummary] = field(default_factory=dict)
|
|
170
176
|
_data_fetcher: DataFetcher | None = field(default=None, repr=False, compare=False)
|
|
171
177
|
|
|
172
178
|
def capped_assets_on_date(self,
|
|
@@ -19,6 +19,7 @@ import logging
|
|
|
19
19
|
from abc import ABC, abstractmethod
|
|
20
20
|
from collections.abc import Callable, Iterable, Sequence
|
|
21
21
|
from dataclasses import dataclass
|
|
22
|
+
from typing import ClassVar
|
|
22
23
|
|
|
23
24
|
import numpy as np
|
|
24
25
|
from numpy.typing import NDArray
|
|
@@ -266,6 +267,9 @@ class PositionBounds(Constraint):
|
|
|
266
267
|
the tightest limit on each name wins.
|
|
267
268
|
"""
|
|
268
269
|
|
|
270
|
+
# The shapes the editor renders these in (BN-330).
|
|
271
|
+
PARAM_SCHEMAS: ClassVar[dict[str, str]] = {"assets": "IdentifierList"}
|
|
272
|
+
|
|
269
273
|
def __init__(self,
|
|
270
274
|
minimum: float = 0.0,
|
|
271
275
|
maximum: float = 1.0,
|
|
@@ -379,6 +383,9 @@ class GroupBounds(Constraint):
|
|
|
379
383
|
maximum: Largest combined weight the group may take.
|
|
380
384
|
"""
|
|
381
385
|
|
|
386
|
+
# The shapes the editor renders these in (BN-330).
|
|
387
|
+
PARAM_SCHEMAS: ClassVar[dict[str, str]] = {"members": "IdentifierList"}
|
|
388
|
+
|
|
382
389
|
def __init__(self,
|
|
383
390
|
name: str,
|
|
384
391
|
members: Sequence[str],
|
|
@@ -453,6 +460,9 @@ class TurnoverBudget(Constraint):
|
|
|
453
460
|
treated as currently unheld.
|
|
454
461
|
"""
|
|
455
462
|
|
|
463
|
+
# The shapes the editor renders these in (BN-330).
|
|
464
|
+
PARAM_SCHEMAS: ClassVar[dict[str, str]] = {"current_weights": "IdentifierValues"}
|
|
465
|
+
|
|
456
466
|
def __init__(self,
|
|
457
467
|
maximum: float,
|
|
458
468
|
current_weights: dict[str, float]):
|
|
@@ -519,6 +529,9 @@ class ExpectedReturnTarget(Constraint):
|
|
|
519
529
|
target: The portfolio return being asked for.
|
|
520
530
|
"""
|
|
521
531
|
|
|
532
|
+
# The shapes the editor renders these in (BN-330).
|
|
533
|
+
PARAM_SCHEMAS: ClassVar[dict[str, str]] = {"expected_returns": "IdentifierValues"}
|
|
534
|
+
|
|
522
535
|
def __init__(self,
|
|
523
536
|
expected_returns: dict[str, float],
|
|
524
537
|
target: float):
|
|
@@ -22,6 +22,7 @@ require("fastapi", "The Beacon API server")
|
|
|
22
22
|
from fastapi import APIRouter, Depends, FastAPI, Query, Request # noqa: E402
|
|
23
23
|
from fastapi.middleware.cors import CORSMiddleware # noqa: E402
|
|
24
24
|
|
|
25
|
+
from . import parameter_schemas # noqa: E402
|
|
25
26
|
from .active_data import ActiveData, active_data # noqa: E402
|
|
26
27
|
from .data_stores import StoreRegistry # noqa: E402
|
|
27
28
|
from .errors import register_exception_handlers # noqa: E402
|
|
@@ -37,6 +38,7 @@ from .routers import ( # noqa: E402
|
|
|
37
38
|
build_indices_router,
|
|
38
39
|
build_jobs_router,
|
|
39
40
|
build_optimise_router,
|
|
41
|
+
build_reference_values_router,
|
|
40
42
|
build_refresh_router,
|
|
41
43
|
build_reports_router,
|
|
42
44
|
build_risk_router,
|
|
@@ -281,6 +283,7 @@ def create_app(config: ServerConfig) -> FastAPI:
|
|
|
281
283
|
# router cannot end up unauthenticated by forgetting to declare them.
|
|
282
284
|
guard = [Depends(verify_bearer_token)]
|
|
283
285
|
for router in (build_data_router(),
|
|
286
|
+
build_reference_values_router(),
|
|
284
287
|
build_watchlists_router(),
|
|
285
288
|
build_coverage_router(),
|
|
286
289
|
build_universes_router(),
|
|
@@ -306,4 +309,8 @@ def create_app(config: ServerConfig) -> FastAPI:
|
|
|
306
309
|
# an Authorization header on one either.
|
|
307
310
|
app.include_router(build_events_router())
|
|
308
311
|
|
|
312
|
+
# The shapes the backtest options' structured parameters name, which no
|
|
313
|
+
# route returns (BN-330).
|
|
314
|
+
parameter_schemas.publish(app)
|
|
315
|
+
|
|
309
316
|
return app
|
|
@@ -122,12 +122,19 @@ FAMILIES = {
|
|
|
122
122
|
"replications": catalogue.REPLICATION, "signals": catalogue.SIGNAL,
|
|
123
123
|
"constructions": catalogue.CONSTRUCTION,
|
|
124
124
|
"active_constraints": catalogue.ACTIVE_CONSTRAINT,
|
|
125
|
+
# BN-330: what `OptimisedReplication.constraints` takes, the optimiser's own.
|
|
126
|
+
"replication_constraints": catalogue.CONSTRAINT,
|
|
125
127
|
}
|
|
126
128
|
|
|
129
|
+
# Each kind by the family that lists it, for a parameter whose entries are
|
|
130
|
+
# themselves configurable types.
|
|
131
|
+
SERVED_AS = {kind: name for name, kind in FAMILIES.items()}
|
|
132
|
+
|
|
127
133
|
|
|
128
134
|
def backtest_options() -> BacktestOptions:
|
|
129
135
|
"""The response of `GET /backtest/options`."""
|
|
130
|
-
families: dict[str, Any] = {name: specs_for(kind
|
|
136
|
+
families: dict[str, Any] = {name: specs_for(kind, SERVED_AS)
|
|
137
|
+
for name, kind in FAMILIES.items()}
|
|
131
138
|
|
|
132
139
|
return BacktestOptions(
|
|
133
140
|
**families,
|
|
@@ -155,7 +162,11 @@ def _described(cls: type,
|
|
|
155
162
|
named = {name.removeprefix(prefix): display for name, display in displays.items()
|
|
156
163
|
if name.startswith(prefix)}
|
|
157
164
|
|
|
158
|
-
|
|
165
|
+
# Read off the class as `specs_for` reads it (BN-330).
|
|
166
|
+
schemas = getattr(cls, "PARAM_SCHEMAS", {})
|
|
167
|
+
options = {name: SERVED_AS[kind] for name, kind in getattr(cls, "PARAM_KINDS", {}).items()}
|
|
168
|
+
|
|
169
|
+
return [parameter_spec(parameter, schemas, options=options).model_copy(
|
|
159
170
|
update={"name": prefix + parameter.name, "applies_to": applies_to})
|
|
160
171
|
for parameter in catalogue.parameters_of(cls, named)]
|
|
161
172
|
|
|
@@ -32,6 +32,7 @@ from .comparisons import Comparators, comparison_payloads
|
|
|
32
32
|
from .definitions import build_definition
|
|
33
33
|
from .derivative_records import derivative_payloads
|
|
34
34
|
from .errors import FindingsError
|
|
35
|
+
from .holdings import HOLDINGS_KEY, holdings_document
|
|
35
36
|
from .jobs import JobBody, ProgressReporter
|
|
36
37
|
from .schemas import (
|
|
37
38
|
ActiveStepPayload,
|
|
@@ -388,7 +389,12 @@ def build_backtest_job(strategy: StrategyDocument,
|
|
|
388
389
|
record = BacktestResultSummary.from_result(backtest,
|
|
389
390
|
cap=target_cap(definition),
|
|
390
391
|
settings=resolved)
|
|
391
|
-
|
|
392
|
+
# BN-326: what each rebalance decided, for the holdings workflow,
|
|
393
|
+
# kept in the record under a key its model does not read, so the
|
|
394
|
+
# record is served as before and goes when it goes.
|
|
395
|
+
record_store.write(strategy.id, {**record.model_dump(mode="json"),
|
|
396
|
+
HOLDINGS_KEY: holdings_document(backtest,
|
|
397
|
+
index_result)})
|
|
392
398
|
|
|
393
399
|
await report(1.0, "Complete.")
|
|
394
400
|
|