py-beacon-kit 0.9.2__tar.gz → 0.9.4__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.4}/CHANGELOG.md +38 -1
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/PKG-INFO +1 -1
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/__init__.py +1 -1
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/flows.py +7 -1
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/implementation.py +7 -1
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/screens.py +10 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/vehicle.py +8 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/store.py +86 -22
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/expressions/catalogue.py +19 -2
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/calculation/__init__.py +2 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/calculation/calculator.py +12 -3
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/calculation/selection.py +25 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/methodology.py +6 -2
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/result.py +6 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/optimise/constraints.py +13 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/app.py +10 -1
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/backtest_options.py +13 -2
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/backtests.py +7 -1
- py_beacon_kit-0.9.4/src/beacon/server/holdings.py +370 -0
- py_beacon_kit-0.9.4/src/beacon/server/holdings_schemas.py +95 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/market_caps.py +25 -0
- py_beacon_kit-0.9.4/src/beacon/server/parameter_schemas.py +100 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/preview.py +57 -16
- py_beacon_kit-0.9.4/src/beacon/server/query_guard.py +54 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/routers/__init__.py +2 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/routers/data.py +10 -1
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/routers/derivatives.py +32 -5
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/routers/indices.py +13 -2
- py_beacon_kit-0.9.4/src/beacon/server/routers/reference_values.py +51 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/routers/strategy_runs.py +86 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/schemas.py +74 -30
- py_beacon_kit-0.9.4/src/beacon/server/stage_descriptions.py +374 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/store_schemas.py +3 -3
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/types.py +31 -6
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/strategy/allocations.py +3 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/strategy/constructions.py +6 -1
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/strategy/signals.py +4 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/strategy/synthetic.py +4 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/strategy/tracking.py +6 -1
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/synthetic/dataset.py +19 -10
- py_beacon_kit-0.9.4/tests/test_data_store_save.py +110 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_data_router.py +16 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_derivatives.py +11 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_holding_reference.py +15 -0
- py_beacon_kit-0.9.4/tests/test_server_holdings.py +367 -0
- py_beacon_kit-0.9.4/tests/test_server_parameter_schemas.py +246 -0
- py_beacon_kit-0.9.4/tests/test_server_query_guard.py +82 -0
- py_beacon_kit-0.9.4/tests/test_server_request_numbers.py +115 -0
- py_beacon_kit-0.9.4/tests/test_stage_descriptions.py +63 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/.gitignore +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/LICENSE.txt +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/README.md +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/examples/01_index_and_backtest.ipynb +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/examples/02_backtest_analysis.ipynb +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/examples/03_index_futures.ipynb +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/examples/04_optimised_index.ipynb +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/examples/05_optimised_backtest.ipynb +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/examples/README.md +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/examples/data/templates/equities_corp_actions_data.xlsx +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/examples/data/templates/equities_fundamental_data.xlsx +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/examples/data/templates/equities_market_data.xlsx +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/examples/data/templates/equities_reference_data.xlsx +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/examples/data/templates/fx_rates_data.xlsx +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/pyproject.toml +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/_optional.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/analysis/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/analysis/attribution.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/analysis/comparison.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/analysis/concentration.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/analysis/etf/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/analysis/etf/analytics.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/analysis/liquidity.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/analysis/relative.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/analysis/risk.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/asset/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/asset/base.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/asset/bond.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/asset/commodity.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/asset/equity.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/asset/view.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/assumptions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/accounting.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/asset_view.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/books.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/capacity.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/class_benchmark.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/costs.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/dealing.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/dividends.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/engine.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/etf.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/execution.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/futures.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/hedging.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/limits.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/listings.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/main.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/metrics.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/presets.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/pricing.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/redistribution.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/result.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/rules.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/settings.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/share_classes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/swap.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/backtest/withholding.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/catalogue.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/changelog.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/adjustment.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/base.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/corporate_actions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/features.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/fetcher.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/free_float.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/fx.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/identifiers.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/importing.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/ingest.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/kinds.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/layout.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/loader.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/postgres.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/prices.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/reference_as_of.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/data/session.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/derivatives/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/derivatives/base.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/derivatives/curves.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/derivatives/forwards.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/derivatives/futures.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/derivatives/pricing.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/derivatives/swaps.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/derivatives/term_structure.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/environment/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/environment/config.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/exceptions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/expressions/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/expressions/core.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/expressions/namespaces.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/expressions/resolve.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/expressions/stubs.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/expressions/validation.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/fund/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/fund/fund.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/asset_view.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/cache.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/calculation/corporate_actions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/calculation/deletions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/calculation/market_values.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/calculation/price_gaps.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/calculation/total_return.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/capping.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/chaining.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/constructor.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/context.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/derived.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/expression_rules.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/feature_rules.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/requirements.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/index/schedule.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/optimise/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/optimise/config.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/optimise/frontier.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/optimise/result.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/optimise/solver.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/accessors.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/analysis_charts.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/arrange.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/base.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/charts/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/charts/bars.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/charts/base.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/charts/data.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/charts/grid.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/charts/heatmap.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/charts/lines.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/charts/points.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/charts/table.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/colormaps.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/colours.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/comparison.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/dateticks.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/design.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/fitting.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/fonts/InterTight-Light.ttf +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/fonts/InterTight-LightItalic.ttf +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/fonts/InterTight-Regular.ttf +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/fonts/OFL-InterTight.txt +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/fonts/OFL-SourceSerif4.txt +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/fonts/SourceSerif4-Italic350.ttf +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/frame.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/gridding.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/groups.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/axes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/baseline.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/figure.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/frame.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/html.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/popup.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/readout.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/spines.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/traces.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/units.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/layout.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/legend.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/mark.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/marks.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/metrics.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/notes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/paint.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/panels.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/style.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/css.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/draw.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/fonts.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/geometry.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/html.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/model.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/paint.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/script.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/sizes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/themes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/ticks.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/plot/webfonts.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/portfolio/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/portfolio/asset_view.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/portfolio/base.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/portfolio/cash_flows.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/portfolio/history.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/portfolio/reporting.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/py.typed +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/report/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/report/blocks.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/report/pdf.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/risk/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/risk/contribution.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/risk/covariance.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/risk/factors.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/risk/model.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/__main__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/active_data.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/backtest_settings.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/benchmarks.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/comparisons.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/config.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/constraints.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/data_stores.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/definitions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/derivative_records.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/derivatives.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/documents.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/errors.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/holding_reference.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/index_level.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/jobs.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/methods.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/optimisation.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/periods.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/reference.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/reports.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/risk.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/routers/backtest.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/routers/coverage.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/routers/importing.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/routers/jobs.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/routers/optimise.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/routers/refresh.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/routers/reports.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/routers/risk.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/routers/stores.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/routers/strategies.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/routers/synthetic.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/routers/universes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/routers/watchlists.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/runs.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/security.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/serialisation.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/share_class_results.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/share_class_settings.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/store.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/strategies.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/strategy_runs.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/strategy_schemas.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/views.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/server/weights.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/sources.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/strategy/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/strategy/active.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/strategy/base.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/strategy/constraints.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/strategy/futures.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/synthetic/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/synthetic/__main__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/synthetic/extend.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/synthetic/features.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/synthetic/fx.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/synthetic/listings.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/synthetic/prices.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/synthetic/profiles.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/synthetic/regimes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/synthetic/regions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/synthetic/returns.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/synthetic/state.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/synthetic/universe.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/testing/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/testing/dataset.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/testing/weights.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/tokens/__init__.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/tokens/colors.json +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/src/beacon/universe.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_annual_returns_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_annual_returns_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_area_filled_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_area_filled_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_area_stacked_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_area_stacked_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_bar_capped_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_bar_capped_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_blended_both_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_blended_both_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_boxed_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_boxed_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_column_grouped_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_column_grouped_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_column_signed_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_column_signed_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_combo_daily_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_combo_daily_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_compare_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_compare_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_constituents_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_constituents_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_contributions_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_contributions_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_correlation_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_correlation_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_exposures_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_exposures_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_frontier_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_frontier_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_grid_one_by_three_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_grid_one_by_three_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_grid_spanning_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_grid_spanning_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_grid_two_by_two_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_grid_two_by_two_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_group_and_row_boxes_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_group_and_row_boxes_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_heatmap_blended_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_heatmap_blended_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_heatmap_correlation_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_heatmap_correlation_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_heatmap_monthly_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_heatmap_monthly_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_histogram_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_histogram_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_level_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_level_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_line_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_line_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_line_periods_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_line_periods_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_line_secondary_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_line_secondary_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_lines_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_lines_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_one_column_without_values_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_one_column_without_values_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_performance_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_performance_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_plain_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_plain_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_row_group_headings_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_row_group_headings_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_scatter_fitted_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_scatter_fitted_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_scatter_origin_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_scatter_origin_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_squares_faded_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_squares_faded_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_stripes_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_stripes_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_weights_dark.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/baseline/test_weights_light.png +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/conftest.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/docstyle.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_adjustment.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_api_contract.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_asset.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_asset_view.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_attribution.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_backtest_capacity.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_backtest_dealing.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_backtest_dividends.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_backtest_engine.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_backtest_engine_integration.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_backtest_etf.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_backtest_execution.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_backtest_fills.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_backtest_flows.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_backtest_hedged_classes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_backtest_main.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_backtest_modifier.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_backtest_pricing.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_backtest_result.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_backtest_share_classes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_backtest_stages.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_backtest_withholding.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_benchmark.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_book_currency.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_canonical_dataset_integration.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_capping.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_catalogue.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_chaining.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_changelog.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_chart_images.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_class_benchmark.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_comparison.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_concentration.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_constraint_catalogue.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_corporate_action_kind.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_corporate_actions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_coverage_fields.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_currency_conversion.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_daily_weights.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_data_fetcher.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_data_import.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_data_kinds.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_data_store.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_data_tables.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_derivatives_base.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_derivatives_curves.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_derivatives_etf_future.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_derivatives_futures.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_derivatives_pricing.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_derivatives_swaps.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_derived_index.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_docs_examples.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_docs_style.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_effective_lag.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_examples.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_expression_namespaces.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_expression_rules.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_expression_schema.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_expression_validation.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_expressions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_factors.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_feature_rules.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_features.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_free_float_backfill.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_frontier.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_fund_record.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_fx_data.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_fx_pairs.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_fx_routes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_identifier_search.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_index_asset_view.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_index_batch_reads.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_index_cache.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_index_calculator.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_index_calculator_integration.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_index_currency.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_index_definition.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_index_eligibility.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_index_result.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_index_schedule.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_index_selection.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_index_weighting.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_ingest.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_integration.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_job_persistence.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_look_ahead.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_modelling_assumptions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_optimise.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_optional_dependencies.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_plot.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_plot_charts.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_plot_design.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_plot_frame.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_plot_grid.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_plot_heatmap.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_plot_images.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_plot_interactive.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_plot_layout.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_plot_table.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_portfolio.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_portfolio_asset_view.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_postgres_store.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_properties.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_read_volume.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_readme.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_reference_as_of.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_reference_currency.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_reference_dimensions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_reference_profile.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_report.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_reporting.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_requirements.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_risk_contribution.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_risk_model.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_backtest.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_backtest_settings.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_comparisons.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_cors.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_data_stores.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_derivative_records.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_document_faults.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_features.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_import.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_index_level.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_indices.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_jobs.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_listing_discovery.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_optimise.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_optimised_indices.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_preview.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_preview_caps.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_preview_document.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_preview_optimised.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_reference_batch.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_refresh.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_reports.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_risk.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_share_classes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_store.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_strategies.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_strategy_runs.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_synthetic.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_universes.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_views.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_server_weights_rows.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_session_agreement.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_spec_conformance.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_splits.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_stale_prices.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_strategy_active.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_strategy_constructions.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_strategy_futures.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_strategy_synthetic.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_strategy_tracking.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_survivorship.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_synthetic.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_synthetic_extend.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_synthetic_features.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_table_images.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_testing_dataset.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_tokens.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_total_return.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_universe_batch_reads.py +0 -0
- {py_beacon_kit-0.9.2 → py_beacon_kit-0.9.4}/tests/test_universe_filters.py +0 -0
|
@@ -8,6 +8,41 @@ 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.4] - 2026-10-21
|
|
12
|
+
|
|
13
|
+
A store saves in well under half the time with its progress shown, and the API refuses requests it used to misread: a parameter given twice, a boolean for a number, a price column it does not hold.
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- `GET /data/prices/{identifier}` reads `columns` as the other list parameters do, so `?columns=CLOSE,VOLUME` names two columns, and an unknown column is refused with 422 `INVALID_ARGUMENT` rather than failing with a 500.
|
|
18
|
+
- `POST /derivatives/trs/price` and `/derivatives/futures/price` refuse inputs whose result overflows to infinity with 422 `INVALID_ARGUMENT`, where they answered 200 with `null` in place of a number.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- Saving a data store takes well under half as long: on 1.16M market rows, 11 s rather than about 24 s, for a file 2% larger. A synthetic store at the API's default size should save in about 110 s rather than four minutes (estimated from the measured tenth). Each file is written a chunk of rows at a time and compressed as it goes, at gzip level 6 rather than 9. `store.save` takes a `progress` callback, and generating synthetic data reports the save's progress by dataset and chunk ("Saving market data") instead of sitting at one stage, with each stage's share of the progress bar matching the time it takes.
|
|
23
|
+
- A query parameter that takes one value is refused with 422 `INVALID_ARGUMENT` when it is given more than once. The last value used to win, so `?limit=10&limit=500` answered with 500 rows.
|
|
24
|
+
- A decimal number in a request body must be a JSON number: `true`, `false` and numbers sent as strings are refused with 422 where they were read as numbers, in a strategy, a backtest request, an index, a risk model or optimisation request, feature rows and synthetic data. A risk model's `index_id` and `strategy_id` must be ids like any other.
|
|
25
|
+
|
|
26
|
+
## [0.9.3] - 2026-10-20
|
|
27
|
+
|
|
28
|
+
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.
|
|
29
|
+
|
|
30
|
+
### Added
|
|
31
|
+
|
|
32
|
+
- `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`).
|
|
33
|
+
- `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.
|
|
34
|
+
- 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`.
|
|
35
|
+
|
|
36
|
+
- 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.
|
|
37
|
+
|
|
38
|
+
### Fixed
|
|
39
|
+
|
|
40
|
+
- A constituent preview's stale-price step no longer takes another rule's id.
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
|
|
44
|
+
- `/data/fields` labels keep acronyms in capitals: "GICS industry", "ISIN", "IPO date", rather than "Gics industry".
|
|
45
|
+
|
|
11
46
|
## [0.9.2] - 2026-10-19
|
|
12
47
|
|
|
13
48
|
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 +386,9 @@ The first release.
|
|
|
351
386
|
- An index or backtest never uses a price, rate or free float dated after the day it is working on.
|
|
352
387
|
- Requires Python 3.11 or later.
|
|
353
388
|
|
|
354
|
-
[Unreleased]: https://github.com/karanbh01/py-beacon/compare/v0.9.
|
|
389
|
+
[Unreleased]: https://github.com/karanbh01/py-beacon/compare/v0.9.4...HEAD
|
|
390
|
+
[0.9.4]: https://github.com/karanbh01/py-beacon/compare/v0.9.3...v0.9.4
|
|
391
|
+
[0.9.3]: https://github.com/karanbh01/py-beacon/compare/v0.9.2...v0.9.3
|
|
355
392
|
[0.9.2]: https://github.com/karanbh01/py-beacon/compare/v0.9.1...v0.9.2
|
|
356
393
|
[0.9.1]: https://github.com/karanbh01/py-beacon/compare/v0.9.0...v0.9.1
|
|
357
394
|
[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,
|
|
@@ -24,7 +24,8 @@ otherwise break that, and each is pinned:
|
|
|
24
24
|
* **Line endings.** `to_csv` follows the platform by default, so the same
|
|
25
25
|
frame written on Windows and Linux differs in every row. Pinned to ``\\n``.
|
|
26
26
|
* **The gzip header carries an mtime.** Two writes a second apart produce
|
|
27
|
-
different bytes for identical content. Pinned to 0
|
|
27
|
+
different bytes for identical content. Pinned to 0, and the header names no
|
|
28
|
+
file, so a file written under a staging name matches one written in place.
|
|
28
29
|
* **Manifest key order.** Written sorted.
|
|
29
30
|
|
|
30
31
|
Timestamps are deliberately *not* recorded in the manifest. The store's age is
|
|
@@ -51,6 +52,7 @@ import json
|
|
|
51
52
|
import logging
|
|
52
53
|
import zlib
|
|
53
54
|
from collections.abc import Callable
|
|
55
|
+
from concurrent.futures import Future, ThreadPoolExecutor
|
|
54
56
|
from dataclasses import dataclass
|
|
55
57
|
from pathlib import Path
|
|
56
58
|
from typing import TypeVar
|
|
@@ -109,8 +111,20 @@ SOURCE_IMPORTED = "imported"
|
|
|
109
111
|
# written on two platforms differs in every row.
|
|
110
112
|
_CSV_OPTIONS = {"index": False, "lineterminator": "\n"}
|
|
111
113
|
|
|
112
|
-
#
|
|
113
|
-
|
|
114
|
+
# BN-332: level 6 rather than gzip's default of 9. On 1.16M market rows level
|
|
115
|
+
# 9 took 14.1 s for a 29.4 MB file and level 6 8.2 s for 30.0 MB; written as
|
|
116
|
+
# below, level 6 costs no time at all, where level 9 would still cost some.
|
|
117
|
+
GZIP_LEVEL = 6
|
|
118
|
+
|
|
119
|
+
# Rows formatted at a time. Formatting holds the GIL and compression releases
|
|
120
|
+
# it, so each chunk is compressed on a second thread while the next is
|
|
121
|
+
# formatted, and the compression is hidden behind the formatting: 9.8 s for
|
|
122
|
+
# those 1.16M rows, against 24 s for one `to_csv` call at level 9. A chunk is
|
|
123
|
+
# also how far a save's progress moves at a time.
|
|
124
|
+
CHUNK_ROWS = 100_000
|
|
125
|
+
|
|
126
|
+
# Called with the share of a save done, from 0 to 1, and what is being saved.
|
|
127
|
+
SaveProgress = Callable[[float, str], None]
|
|
114
128
|
|
|
115
129
|
|
|
116
130
|
@dataclass(frozen=True)
|
|
@@ -263,9 +277,38 @@ def flatten_index(frame: pd.DataFrame) -> pd.DataFrame:
|
|
|
263
277
|
|
|
264
278
|
|
|
265
279
|
def _write_frame(frame: pd.DataFrame,
|
|
266
|
-
path: Path
|
|
267
|
-
|
|
268
|
-
|
|
280
|
+
path: Path,
|
|
281
|
+
progress: Callable[[float], None] | None = None) -> None:
|
|
282
|
+
"""Write one gzipped CSV reproducibly.
|
|
283
|
+
|
|
284
|
+
Args:
|
|
285
|
+
frame: What to write, its index left out.
|
|
286
|
+
path: The file to write.
|
|
287
|
+
progress: Called after each chunk with the share of the rows written.
|
|
288
|
+
"""
|
|
289
|
+
rows = len(frame)
|
|
290
|
+
|
|
291
|
+
with (path.open("wb") as handle,
|
|
292
|
+
gzip.GzipFile(filename="", mode="wb", fileobj=handle,
|
|
293
|
+
compresslevel=GZIP_LEVEL, mtime=0) as packed,
|
|
294
|
+
ThreadPoolExecutor(max_workers=1) as compressor):
|
|
295
|
+
pending: Future[int] | None = None
|
|
296
|
+
|
|
297
|
+
# One pass even for an empty frame, which still writes its header.
|
|
298
|
+
for start in range(0, max(rows, 1), CHUNK_ROWS):
|
|
299
|
+
text = frame.iloc[start:start + CHUNK_ROWS].to_csv(header=start == 0,
|
|
300
|
+
**_CSV_OPTIONS)
|
|
301
|
+
|
|
302
|
+
if pending is not None:
|
|
303
|
+
pending.result()
|
|
304
|
+
|
|
305
|
+
pending = compressor.submit(packed.write, text.encode("utf-8"))
|
|
306
|
+
|
|
307
|
+
if progress is not None:
|
|
308
|
+
progress(min(start + CHUNK_ROWS, rows) / rows if rows else 1.0)
|
|
309
|
+
|
|
310
|
+
if pending is not None:
|
|
311
|
+
pending.result()
|
|
269
312
|
|
|
270
313
|
|
|
271
314
|
def outdated(path: Path) -> str | None:
|
|
@@ -331,7 +374,8 @@ def _build(path: Path,
|
|
|
331
374
|
|
|
332
375
|
def save(fetcher: DataFetcher,
|
|
333
376
|
path: Path,
|
|
334
|
-
source: str = SOURCE_LOCAL
|
|
377
|
+
source: str = SOURCE_LOCAL,
|
|
378
|
+
progress: SaveProgress | None = None) -> Path:
|
|
335
379
|
"""Write a fetcher's data to a store directory.
|
|
336
380
|
|
|
337
381
|
Args:
|
|
@@ -341,29 +385,35 @@ def save(fetcher: DataFetcher,
|
|
|
341
385
|
than as one carrying empty files.
|
|
342
386
|
path: Directory to write into; created if absent.
|
|
343
387
|
source: Recorded in the manifest and reported by `/data/coverage`.
|
|
388
|
+
progress: Called as the files are written, with the share of the
|
|
389
|
+
save done (by rows) and what is being saved.
|
|
344
390
|
|
|
345
391
|
Returns:
|
|
346
392
|
Path: The directory written.
|
|
347
393
|
"""
|
|
348
394
|
path.mkdir(parents=True, exist_ok=True)
|
|
349
395
|
|
|
350
|
-
datasets = ["market"]
|
|
351
|
-
_write_frame(flatten_index(fetcher.market.data), path / MARKET_FILE)
|
|
352
|
-
|
|
353
|
-
if fetcher.reference is not None:
|
|
354
|
-
datasets.append("reference")
|
|
355
|
-
_write_frame(flatten_index(fetcher.reference.data), path / REFERENCE_FILE)
|
|
356
|
-
|
|
357
396
|
actions = fetcher.corporate_actions
|
|
358
|
-
if not actions.is_empty:
|
|
359
|
-
datasets.append("corporate_actions")
|
|
360
|
-
_write_frame(flatten_index(actions.data), path / ACTIONS_FILE)
|
|
361
|
-
|
|
362
397
|
features = fetcher.features
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
398
|
+
parts = [("market", "market data", fetcher.market.data, MARKET_FILE),
|
|
399
|
+
("reference", "reference data",
|
|
400
|
+
fetcher.reference.data if fetcher.reference is not None else None,
|
|
401
|
+
REFERENCE_FILE),
|
|
402
|
+
("corporate_actions", "corporate actions",
|
|
403
|
+
None if actions.is_empty else actions.data, ACTIONS_FILE),
|
|
404
|
+
("features", "features", None if features.is_empty else features.data,
|
|
405
|
+
FEATURES_FILE)]
|
|
406
|
+
written = [(name, label, frame, file) for name, label, frame, file in parts
|
|
407
|
+
if frame is not None]
|
|
408
|
+
total = sum(len(frame) for _, _, frame, _ in written) or 1
|
|
409
|
+
done = 0
|
|
410
|
+
|
|
411
|
+
for _, label, frame, file in written:
|
|
412
|
+
_write_frame(flatten_index(frame), path / file,
|
|
413
|
+
_share(progress, done, len(frame), total, f"Saving {label}"))
|
|
414
|
+
done += len(frame)
|
|
415
|
+
|
|
416
|
+
datasets = [name for name, _, _, _ in written]
|
|
367
417
|
manifest = {"schema_version": STORE_SCHEMA_VERSION,
|
|
368
418
|
"source": source,
|
|
369
419
|
"datasets": datasets}
|
|
@@ -376,6 +426,20 @@ def save(fetcher: DataFetcher,
|
|
|
376
426
|
return path
|
|
377
427
|
|
|
378
428
|
|
|
429
|
+
def _share(progress: SaveProgress | None,
|
|
430
|
+
done: int,
|
|
431
|
+
rows: int,
|
|
432
|
+
total: int,
|
|
433
|
+
message: str) -> Callable[[float], None] | None:
|
|
434
|
+
"""One file's progress as a share of the whole save, or None."""
|
|
435
|
+
if progress is None:
|
|
436
|
+
return None
|
|
437
|
+
|
|
438
|
+
report = progress
|
|
439
|
+
|
|
440
|
+
return lambda fraction: report((done + fraction * rows) / total, message)
|
|
441
|
+
|
|
442
|
+
|
|
379
443
|
def save_features(features: FeatureData,
|
|
380
444
|
path: Path) -> None:
|
|
381
445
|
"""Write a store's feature table, leaving its other datasets as they are.
|
|
@@ -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,11 +22,13 @@ 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
|
|
28
29
|
from .jobs import JobRegistry # noqa: E402
|
|
29
30
|
from .methods import LiteralPathMethods # noqa: E402
|
|
31
|
+
from .query_guard import single_valued_query # noqa: E402
|
|
30
32
|
from .routers import ( # noqa: E402
|
|
31
33
|
build_backtest_router,
|
|
32
34
|
build_coverage_router,
|
|
@@ -37,6 +39,7 @@ from .routers import ( # noqa: E402
|
|
|
37
39
|
build_indices_router,
|
|
38
40
|
build_jobs_router,
|
|
39
41
|
build_optimise_router,
|
|
42
|
+
build_reference_values_router,
|
|
40
43
|
build_refresh_router,
|
|
41
44
|
build_reports_router,
|
|
42
45
|
build_risk_router,
|
|
@@ -279,8 +282,10 @@ def create_app(config: ServerConfig) -> FastAPI:
|
|
|
279
282
|
|
|
280
283
|
# Auth and the documented error responses are applied at mount time, so a
|
|
281
284
|
# router cannot end up unauthenticated by forgetting to declare them.
|
|
282
|
-
|
|
285
|
+
# A repeated single-valued query parameter is refused too (BN-331).
|
|
286
|
+
guard = [Depends(verify_bearer_token), Depends(single_valued_query)]
|
|
283
287
|
for router in (build_data_router(),
|
|
288
|
+
build_reference_values_router(),
|
|
284
289
|
build_watchlists_router(),
|
|
285
290
|
build_coverage_router(),
|
|
286
291
|
build_universes_router(),
|
|
@@ -306,4 +311,8 @@ def create_app(config: ServerConfig) -> FastAPI:
|
|
|
306
311
|
# an Authorization header on one either.
|
|
307
312
|
app.include_router(build_events_router())
|
|
308
313
|
|
|
314
|
+
# The shapes the backtest options' structured parameters name, which no
|
|
315
|
+
# route returns (BN-330).
|
|
316
|
+
parameter_schemas.publish(app)
|
|
317
|
+
|
|
309
318
|
return app
|