py-beacon-kit 0.9.3__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.
Files changed (559) hide show
  1. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/CHANGELOG.md +17 -1
  2. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/PKG-INFO +1 -1
  3. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/__init__.py +1 -1
  4. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/store.py +86 -22
  5. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/app.py +3 -1
  6. py_beacon_kit-0.9.4/src/beacon/server/query_guard.py +54 -0
  7. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/data.py +10 -1
  8. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/derivatives.py +32 -5
  9. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/schemas.py +35 -30
  10. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/store_schemas.py +3 -3
  11. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/synthetic/dataset.py +19 -10
  12. py_beacon_kit-0.9.4/tests/test_data_store_save.py +110 -0
  13. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_data_router.py +16 -0
  14. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_derivatives.py +11 -0
  15. py_beacon_kit-0.9.4/tests/test_server_query_guard.py +82 -0
  16. py_beacon_kit-0.9.4/tests/test_server_request_numbers.py +115 -0
  17. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/.gitignore +0 -0
  18. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/LICENSE.txt +0 -0
  19. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/README.md +0 -0
  20. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/examples/01_index_and_backtest.ipynb +0 -0
  21. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/examples/02_backtest_analysis.ipynb +0 -0
  22. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/examples/03_index_futures.ipynb +0 -0
  23. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/examples/04_optimised_index.ipynb +0 -0
  24. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/examples/05_optimised_backtest.ipynb +0 -0
  25. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/examples/README.md +0 -0
  26. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/examples/data/templates/equities_corp_actions_data.xlsx +0 -0
  27. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/examples/data/templates/equities_fundamental_data.xlsx +0 -0
  28. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/examples/data/templates/equities_market_data.xlsx +0 -0
  29. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/examples/data/templates/equities_reference_data.xlsx +0 -0
  30. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/examples/data/templates/fx_rates_data.xlsx +0 -0
  31. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/pyproject.toml +0 -0
  32. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/_optional.py +0 -0
  33. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/analysis/__init__.py +0 -0
  34. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/analysis/attribution.py +0 -0
  35. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/analysis/comparison.py +0 -0
  36. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/analysis/concentration.py +0 -0
  37. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/analysis/etf/__init__.py +0 -0
  38. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/analysis/etf/analytics.py +0 -0
  39. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/analysis/liquidity.py +0 -0
  40. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/analysis/relative.py +0 -0
  41. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/analysis/risk.py +0 -0
  42. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/asset/__init__.py +0 -0
  43. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/asset/base.py +0 -0
  44. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/asset/bond.py +0 -0
  45. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/asset/commodity.py +0 -0
  46. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/asset/equity.py +0 -0
  47. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/asset/view.py +0 -0
  48. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/assumptions.py +0 -0
  49. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/__init__.py +0 -0
  50. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/accounting.py +0 -0
  51. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/asset_view.py +0 -0
  52. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/books.py +0 -0
  53. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/capacity.py +0 -0
  54. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/class_benchmark.py +0 -0
  55. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/costs.py +0 -0
  56. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/dealing.py +0 -0
  57. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/dividends.py +0 -0
  58. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/engine.py +0 -0
  59. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/etf.py +0 -0
  60. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/execution.py +0 -0
  61. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/flows.py +0 -0
  62. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/futures.py +0 -0
  63. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/hedging.py +0 -0
  64. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/implementation.py +0 -0
  65. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/limits.py +0 -0
  66. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/listings.py +0 -0
  67. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/main.py +0 -0
  68. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/metrics.py +0 -0
  69. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/presets.py +0 -0
  70. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/pricing.py +0 -0
  71. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/redistribution.py +0 -0
  72. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/result.py +0 -0
  73. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/rules.py +0 -0
  74. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/screens.py +0 -0
  75. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/settings.py +0 -0
  76. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/share_classes.py +0 -0
  77. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/swap.py +0 -0
  78. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/vehicle.py +0 -0
  79. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/backtest/withholding.py +0 -0
  80. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/catalogue.py +0 -0
  81. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/changelog.py +0 -0
  82. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/__init__.py +0 -0
  83. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/adjustment.py +0 -0
  84. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/base.py +0 -0
  85. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/corporate_actions.py +0 -0
  86. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/features.py +0 -0
  87. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/fetcher.py +0 -0
  88. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/free_float.py +0 -0
  89. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/fx.py +0 -0
  90. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/identifiers.py +0 -0
  91. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/importing.py +0 -0
  92. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/ingest.py +0 -0
  93. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/kinds.py +0 -0
  94. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/layout.py +0 -0
  95. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/loader.py +0 -0
  96. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/postgres.py +0 -0
  97. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/prices.py +0 -0
  98. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/reference_as_of.py +0 -0
  99. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/data/session.py +0 -0
  100. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/derivatives/__init__.py +0 -0
  101. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/derivatives/base.py +0 -0
  102. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/derivatives/curves.py +0 -0
  103. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/derivatives/forwards.py +0 -0
  104. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/derivatives/futures.py +0 -0
  105. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/derivatives/pricing.py +0 -0
  106. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/derivatives/swaps.py +0 -0
  107. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/derivatives/term_structure.py +0 -0
  108. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/environment/__init__.py +0 -0
  109. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/environment/config.py +0 -0
  110. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/exceptions.py +0 -0
  111. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/expressions/__init__.py +0 -0
  112. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/expressions/catalogue.py +0 -0
  113. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/expressions/core.py +0 -0
  114. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/expressions/namespaces.py +0 -0
  115. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/expressions/resolve.py +0 -0
  116. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/expressions/stubs.py +0 -0
  117. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/expressions/validation.py +0 -0
  118. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/fund/__init__.py +0 -0
  119. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/fund/fund.py +0 -0
  120. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/__init__.py +0 -0
  121. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/asset_view.py +0 -0
  122. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/cache.py +0 -0
  123. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/calculation/__init__.py +0 -0
  124. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/calculation/calculator.py +0 -0
  125. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/calculation/corporate_actions.py +0 -0
  126. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/calculation/deletions.py +0 -0
  127. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/calculation/market_values.py +0 -0
  128. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/calculation/price_gaps.py +0 -0
  129. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/calculation/selection.py +0 -0
  130. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/calculation/total_return.py +0 -0
  131. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/capping.py +0 -0
  132. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/chaining.py +0 -0
  133. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/constructor.py +0 -0
  134. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/context.py +0 -0
  135. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/derived.py +0 -0
  136. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/expression_rules.py +0 -0
  137. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/feature_rules.py +0 -0
  138. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/methodology.py +0 -0
  139. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/requirements.py +0 -0
  140. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/result.py +0 -0
  141. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/index/schedule.py +0 -0
  142. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/optimise/__init__.py +0 -0
  143. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/optimise/config.py +0 -0
  144. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/optimise/constraints.py +0 -0
  145. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/optimise/frontier.py +0 -0
  146. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/optimise/result.py +0 -0
  147. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/optimise/solver.py +0 -0
  148. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/__init__.py +0 -0
  149. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/accessors.py +0 -0
  150. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/analysis_charts.py +0 -0
  151. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/arrange.py +0 -0
  152. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/base.py +0 -0
  153. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/charts/__init__.py +0 -0
  154. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/charts/bars.py +0 -0
  155. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/charts/base.py +0 -0
  156. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/charts/data.py +0 -0
  157. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/charts/grid.py +0 -0
  158. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/charts/heatmap.py +0 -0
  159. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/charts/lines.py +0 -0
  160. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/charts/points.py +0 -0
  161. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/charts/table.py +0 -0
  162. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/colormaps.py +0 -0
  163. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/colours.py +0 -0
  164. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/comparison.py +0 -0
  165. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/dateticks.py +0 -0
  166. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/design.py +0 -0
  167. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/fitting.py +0 -0
  168. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/fonts/InterTight-Light.ttf +0 -0
  169. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/fonts/InterTight-LightItalic.ttf +0 -0
  170. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/fonts/InterTight-Regular.ttf +0 -0
  171. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/fonts/OFL-InterTight.txt +0 -0
  172. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/fonts/OFL-SourceSerif4.txt +0 -0
  173. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/fonts/SourceSerif4-Italic350.ttf +0 -0
  174. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/frame.py +0 -0
  175. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/gridding.py +0 -0
  176. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/groups.py +0 -0
  177. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/__init__.py +0 -0
  178. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/axes.py +0 -0
  179. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/baseline.py +0 -0
  180. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/figure.py +0 -0
  181. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/frame.py +0 -0
  182. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/html.py +0 -0
  183. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/popup.py +0 -0
  184. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/readout.py +0 -0
  185. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/spines.py +0 -0
  186. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/traces.py +0 -0
  187. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/interactive/units.py +0 -0
  188. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/layout.py +0 -0
  189. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/legend.py +0 -0
  190. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/mark.py +0 -0
  191. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/marks.py +0 -0
  192. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/metrics.py +0 -0
  193. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/notes.py +0 -0
  194. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/paint.py +0 -0
  195. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/panels.py +0 -0
  196. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/style.py +0 -0
  197. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/__init__.py +0 -0
  198. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/css.py +0 -0
  199. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/draw.py +0 -0
  200. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/fonts.py +0 -0
  201. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/geometry.py +0 -0
  202. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/html.py +0 -0
  203. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/model.py +0 -0
  204. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/paint.py +0 -0
  205. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/script.py +0 -0
  206. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/tables/sizes.py +0 -0
  207. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/themes.py +0 -0
  208. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/ticks.py +0 -0
  209. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/plot/webfonts.py +0 -0
  210. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/portfolio/__init__.py +0 -0
  211. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/portfolio/asset_view.py +0 -0
  212. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/portfolio/base.py +0 -0
  213. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/portfolio/cash_flows.py +0 -0
  214. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/portfolio/history.py +0 -0
  215. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/portfolio/reporting.py +0 -0
  216. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/py.typed +0 -0
  217. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/report/__init__.py +0 -0
  218. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/report/blocks.py +0 -0
  219. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/report/pdf.py +0 -0
  220. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/risk/__init__.py +0 -0
  221. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/risk/contribution.py +0 -0
  222. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/risk/covariance.py +0 -0
  223. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/risk/factors.py +0 -0
  224. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/risk/model.py +0 -0
  225. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/__init__.py +0 -0
  226. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/__main__.py +0 -0
  227. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/active_data.py +0 -0
  228. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/backtest_options.py +0 -0
  229. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/backtest_settings.py +0 -0
  230. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/backtests.py +0 -0
  231. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/benchmarks.py +0 -0
  232. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/comparisons.py +0 -0
  233. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/config.py +0 -0
  234. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/constraints.py +0 -0
  235. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/data_stores.py +0 -0
  236. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/definitions.py +0 -0
  237. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/derivative_records.py +0 -0
  238. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/derivatives.py +0 -0
  239. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/documents.py +0 -0
  240. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/errors.py +0 -0
  241. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/holding_reference.py +0 -0
  242. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/holdings.py +0 -0
  243. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/holdings_schemas.py +0 -0
  244. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/index_level.py +0 -0
  245. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/jobs.py +0 -0
  246. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/market_caps.py +0 -0
  247. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/methods.py +0 -0
  248. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/optimisation.py +0 -0
  249. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/parameter_schemas.py +0 -0
  250. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/periods.py +0 -0
  251. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/preview.py +0 -0
  252. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/reference.py +0 -0
  253. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/reports.py +0 -0
  254. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/risk.py +0 -0
  255. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/__init__.py +0 -0
  256. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/backtest.py +0 -0
  257. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/coverage.py +0 -0
  258. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/importing.py +0 -0
  259. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/indices.py +0 -0
  260. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/jobs.py +0 -0
  261. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/optimise.py +0 -0
  262. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/reference_values.py +0 -0
  263. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/refresh.py +0 -0
  264. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/reports.py +0 -0
  265. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/risk.py +0 -0
  266. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/stores.py +0 -0
  267. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/strategies.py +0 -0
  268. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/strategy_runs.py +0 -0
  269. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/synthetic.py +0 -0
  270. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/universes.py +0 -0
  271. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/routers/watchlists.py +0 -0
  272. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/runs.py +0 -0
  273. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/security.py +0 -0
  274. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/serialisation.py +0 -0
  275. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/share_class_results.py +0 -0
  276. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/share_class_settings.py +0 -0
  277. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/stage_descriptions.py +0 -0
  278. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/store.py +0 -0
  279. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/strategies.py +0 -0
  280. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/strategy_runs.py +0 -0
  281. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/strategy_schemas.py +0 -0
  282. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/types.py +0 -0
  283. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/views.py +0 -0
  284. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/server/weights.py +0 -0
  285. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/sources.py +0 -0
  286. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/strategy/__init__.py +0 -0
  287. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/strategy/active.py +0 -0
  288. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/strategy/allocations.py +0 -0
  289. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/strategy/base.py +0 -0
  290. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/strategy/constraints.py +0 -0
  291. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/strategy/constructions.py +0 -0
  292. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/strategy/futures.py +0 -0
  293. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/strategy/signals.py +0 -0
  294. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/strategy/synthetic.py +0 -0
  295. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/strategy/tracking.py +0 -0
  296. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/synthetic/__init__.py +0 -0
  297. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/synthetic/__main__.py +0 -0
  298. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/synthetic/extend.py +0 -0
  299. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/synthetic/features.py +0 -0
  300. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/synthetic/fx.py +0 -0
  301. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/synthetic/listings.py +0 -0
  302. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/synthetic/prices.py +0 -0
  303. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/synthetic/profiles.py +0 -0
  304. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/synthetic/regimes.py +0 -0
  305. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/synthetic/regions.py +0 -0
  306. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/synthetic/returns.py +0 -0
  307. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/synthetic/state.py +0 -0
  308. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/synthetic/universe.py +0 -0
  309. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/testing/__init__.py +0 -0
  310. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/testing/dataset.py +0 -0
  311. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/testing/weights.py +0 -0
  312. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/tokens/__init__.py +0 -0
  313. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/tokens/colors.json +0 -0
  314. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/src/beacon/universe.py +0 -0
  315. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_annual_returns_dark.png +0 -0
  316. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_annual_returns_light.png +0 -0
  317. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_area_filled_dark.png +0 -0
  318. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_area_filled_light.png +0 -0
  319. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_area_stacked_dark.png +0 -0
  320. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_area_stacked_light.png +0 -0
  321. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_bar_capped_dark.png +0 -0
  322. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_bar_capped_light.png +0 -0
  323. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_blended_both_dark.png +0 -0
  324. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_blended_both_light.png +0 -0
  325. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_boxed_dark.png +0 -0
  326. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_boxed_light.png +0 -0
  327. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_column_grouped_dark.png +0 -0
  328. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_column_grouped_light.png +0 -0
  329. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_column_signed_dark.png +0 -0
  330. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_column_signed_light.png +0 -0
  331. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_combo_daily_dark.png +0 -0
  332. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_combo_daily_light.png +0 -0
  333. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_compare_dark.png +0 -0
  334. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_compare_light.png +0 -0
  335. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_constituents_dark.png +0 -0
  336. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_constituents_light.png +0 -0
  337. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_contributions_dark.png +0 -0
  338. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_contributions_light.png +0 -0
  339. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_correlation_dark.png +0 -0
  340. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_correlation_light.png +0 -0
  341. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_exposures_dark.png +0 -0
  342. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_exposures_light.png +0 -0
  343. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_frontier_dark.png +0 -0
  344. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_frontier_light.png +0 -0
  345. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_grid_one_by_three_dark.png +0 -0
  346. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_grid_one_by_three_light.png +0 -0
  347. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_grid_spanning_dark.png +0 -0
  348. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_grid_spanning_light.png +0 -0
  349. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_grid_two_by_two_dark.png +0 -0
  350. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_grid_two_by_two_light.png +0 -0
  351. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_group_and_row_boxes_dark.png +0 -0
  352. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_group_and_row_boxes_light.png +0 -0
  353. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_heatmap_blended_dark.png +0 -0
  354. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_heatmap_blended_light.png +0 -0
  355. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_heatmap_correlation_dark.png +0 -0
  356. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_heatmap_correlation_light.png +0 -0
  357. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_heatmap_monthly_dark.png +0 -0
  358. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_heatmap_monthly_light.png +0 -0
  359. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_histogram_dark.png +0 -0
  360. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_histogram_light.png +0 -0
  361. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_level_dark.png +0 -0
  362. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_level_light.png +0 -0
  363. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_line_dark.png +0 -0
  364. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_line_light.png +0 -0
  365. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_line_periods_dark.png +0 -0
  366. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_line_periods_light.png +0 -0
  367. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_line_secondary_dark.png +0 -0
  368. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_line_secondary_light.png +0 -0
  369. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_lines_dark.png +0 -0
  370. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_lines_light.png +0 -0
  371. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_one_column_without_values_dark.png +0 -0
  372. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_one_column_without_values_light.png +0 -0
  373. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_performance_dark.png +0 -0
  374. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_performance_light.png +0 -0
  375. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_plain_dark.png +0 -0
  376. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_plain_light.png +0 -0
  377. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_row_group_headings_dark.png +0 -0
  378. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_row_group_headings_light.png +0 -0
  379. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_scatter_fitted_dark.png +0 -0
  380. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_scatter_fitted_light.png +0 -0
  381. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_scatter_origin_dark.png +0 -0
  382. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_scatter_origin_light.png +0 -0
  383. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_squares_faded_dark.png +0 -0
  384. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_squares_faded_light.png +0 -0
  385. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_stripes_dark.png +0 -0
  386. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_stripes_light.png +0 -0
  387. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_weights_dark.png +0 -0
  388. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/baseline/test_weights_light.png +0 -0
  389. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/conftest.py +0 -0
  390. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/docstyle.py +0 -0
  391. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_adjustment.py +0 -0
  392. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_api_contract.py +0 -0
  393. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_asset.py +0 -0
  394. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_asset_view.py +0 -0
  395. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_attribution.py +0 -0
  396. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_backtest_capacity.py +0 -0
  397. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_backtest_dealing.py +0 -0
  398. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_backtest_dividends.py +0 -0
  399. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_backtest_engine.py +0 -0
  400. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_backtest_engine_integration.py +0 -0
  401. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_backtest_etf.py +0 -0
  402. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_backtest_execution.py +0 -0
  403. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_backtest_fills.py +0 -0
  404. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_backtest_flows.py +0 -0
  405. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_backtest_hedged_classes.py +0 -0
  406. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_backtest_main.py +0 -0
  407. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_backtest_modifier.py +0 -0
  408. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_backtest_pricing.py +0 -0
  409. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_backtest_result.py +0 -0
  410. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_backtest_share_classes.py +0 -0
  411. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_backtest_stages.py +0 -0
  412. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_backtest_withholding.py +0 -0
  413. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_benchmark.py +0 -0
  414. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_book_currency.py +0 -0
  415. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_canonical_dataset_integration.py +0 -0
  416. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_capping.py +0 -0
  417. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_catalogue.py +0 -0
  418. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_chaining.py +0 -0
  419. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_changelog.py +0 -0
  420. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_chart_images.py +0 -0
  421. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_class_benchmark.py +0 -0
  422. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_comparison.py +0 -0
  423. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_concentration.py +0 -0
  424. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_constraint_catalogue.py +0 -0
  425. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_corporate_action_kind.py +0 -0
  426. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_corporate_actions.py +0 -0
  427. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_coverage_fields.py +0 -0
  428. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_currency_conversion.py +0 -0
  429. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_daily_weights.py +0 -0
  430. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_data_fetcher.py +0 -0
  431. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_data_import.py +0 -0
  432. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_data_kinds.py +0 -0
  433. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_data_store.py +0 -0
  434. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_data_tables.py +0 -0
  435. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_derivatives_base.py +0 -0
  436. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_derivatives_curves.py +0 -0
  437. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_derivatives_etf_future.py +0 -0
  438. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_derivatives_futures.py +0 -0
  439. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_derivatives_pricing.py +0 -0
  440. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_derivatives_swaps.py +0 -0
  441. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_derived_index.py +0 -0
  442. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_docs_examples.py +0 -0
  443. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_docs_style.py +0 -0
  444. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_effective_lag.py +0 -0
  445. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_examples.py +0 -0
  446. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_expression_namespaces.py +0 -0
  447. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_expression_rules.py +0 -0
  448. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_expression_schema.py +0 -0
  449. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_expression_validation.py +0 -0
  450. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_expressions.py +0 -0
  451. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_factors.py +0 -0
  452. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_feature_rules.py +0 -0
  453. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_features.py +0 -0
  454. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_free_float_backfill.py +0 -0
  455. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_frontier.py +0 -0
  456. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_fund_record.py +0 -0
  457. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_fx_data.py +0 -0
  458. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_fx_pairs.py +0 -0
  459. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_fx_routes.py +0 -0
  460. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_identifier_search.py +0 -0
  461. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_index_asset_view.py +0 -0
  462. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_index_batch_reads.py +0 -0
  463. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_index_cache.py +0 -0
  464. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_index_calculator.py +0 -0
  465. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_index_calculator_integration.py +0 -0
  466. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_index_currency.py +0 -0
  467. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_index_definition.py +0 -0
  468. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_index_eligibility.py +0 -0
  469. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_index_result.py +0 -0
  470. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_index_schedule.py +0 -0
  471. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_index_selection.py +0 -0
  472. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_index_weighting.py +0 -0
  473. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_ingest.py +0 -0
  474. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_integration.py +0 -0
  475. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_job_persistence.py +0 -0
  476. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_look_ahead.py +0 -0
  477. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_modelling_assumptions.py +0 -0
  478. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_optimise.py +0 -0
  479. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_optional_dependencies.py +0 -0
  480. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_plot.py +0 -0
  481. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_plot_charts.py +0 -0
  482. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_plot_design.py +0 -0
  483. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_plot_frame.py +0 -0
  484. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_plot_grid.py +0 -0
  485. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_plot_heatmap.py +0 -0
  486. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_plot_images.py +0 -0
  487. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_plot_interactive.py +0 -0
  488. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_plot_layout.py +0 -0
  489. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_plot_table.py +0 -0
  490. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_portfolio.py +0 -0
  491. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_portfolio_asset_view.py +0 -0
  492. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_postgres_store.py +0 -0
  493. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_properties.py +0 -0
  494. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_read_volume.py +0 -0
  495. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_readme.py +0 -0
  496. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_reference_as_of.py +0 -0
  497. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_reference_currency.py +0 -0
  498. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_reference_dimensions.py +0 -0
  499. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_reference_profile.py +0 -0
  500. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_report.py +0 -0
  501. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_reporting.py +0 -0
  502. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_requirements.py +0 -0
  503. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_risk_contribution.py +0 -0
  504. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_risk_model.py +0 -0
  505. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server.py +0 -0
  506. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_backtest.py +0 -0
  507. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_backtest_settings.py +0 -0
  508. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_comparisons.py +0 -0
  509. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_cors.py +0 -0
  510. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_data_stores.py +0 -0
  511. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_derivative_records.py +0 -0
  512. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_document_faults.py +0 -0
  513. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_features.py +0 -0
  514. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_holding_reference.py +0 -0
  515. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_holdings.py +0 -0
  516. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_import.py +0 -0
  517. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_index_level.py +0 -0
  518. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_indices.py +0 -0
  519. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_jobs.py +0 -0
  520. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_listing_discovery.py +0 -0
  521. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_optimise.py +0 -0
  522. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_optimised_indices.py +0 -0
  523. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_parameter_schemas.py +0 -0
  524. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_preview.py +0 -0
  525. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_preview_caps.py +0 -0
  526. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_preview_document.py +0 -0
  527. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_preview_optimised.py +0 -0
  528. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_reference_batch.py +0 -0
  529. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_refresh.py +0 -0
  530. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_reports.py +0 -0
  531. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_risk.py +0 -0
  532. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_share_classes.py +0 -0
  533. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_store.py +0 -0
  534. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_strategies.py +0 -0
  535. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_strategy_runs.py +0 -0
  536. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_synthetic.py +0 -0
  537. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_universes.py +0 -0
  538. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_views.py +0 -0
  539. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_server_weights_rows.py +0 -0
  540. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_session_agreement.py +0 -0
  541. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_spec_conformance.py +0 -0
  542. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_splits.py +0 -0
  543. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_stage_descriptions.py +0 -0
  544. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_stale_prices.py +0 -0
  545. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_strategy_active.py +0 -0
  546. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_strategy_constructions.py +0 -0
  547. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_strategy_futures.py +0 -0
  548. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_strategy_synthetic.py +0 -0
  549. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_strategy_tracking.py +0 -0
  550. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_survivorship.py +0 -0
  551. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_synthetic.py +0 -0
  552. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_synthetic_extend.py +0 -0
  553. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_synthetic_features.py +0 -0
  554. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_table_images.py +0 -0
  555. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_testing_dataset.py +0 -0
  556. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_tokens.py +0 -0
  557. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_total_return.py +0 -0
  558. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_universe_batch_reads.py +0 -0
  559. {py_beacon_kit-0.9.3 → py_beacon_kit-0.9.4}/tests/test_universe_filters.py +0 -0
@@ -8,6 +8,21 @@ 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
+
11
26
  ## [0.9.3] - 2026-10-20
12
27
 
13
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.
@@ -371,7 +386,8 @@ The first release.
371
386
  - An index or backtest never uses a price, rate or free float dated after the day it is working on.
372
387
  - Requires Python 3.11 or later.
373
388
 
374
- [Unreleased]: https://github.com/karanbh01/py-beacon/compare/v0.9.3...HEAD
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
375
391
  [0.9.3]: https://github.com/karanbh01/py-beacon/compare/v0.9.2...v0.9.3
376
392
  [0.9.2]: https://github.com/karanbh01/py-beacon/compare/v0.9.1...v0.9.2
377
393
  [0.9.1]: https://github.com/karanbh01/py-beacon/compare/v0.9.0...v0.9.1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: py-beacon-kit
3
- Version: 0.9.3
3
+ Version: 0.9.4
4
4
  Summary: End-to-end tool kit for index, ETF & Delta-1 derivatives development
5
5
  Project-URL: Homepage, https://pybeacon.dev
6
6
  Project-URL: Documentation, https://pybeacon.dev/library/
@@ -3,7 +3,7 @@
3
3
  py-beacon, an end-to-end toolkit for index, ETF, and Delta-1 derivatives
4
4
  development.
5
5
  """
6
- __version__ = "0.9.3"
6
+ __version__ = "0.9.4"
7
7
 
8
8
  from . import derivatives
9
9
  from .assumptions import (
@@ -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
- # mtime=0 or the gzip header stamps the write time into the bytes.
113
- _GZIP_OPTIONS = {"method": "gzip", "mtime": 0}
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) -> None:
267
- """Write one gzipped CSV reproducibly."""
268
- frame.to_csv(path, compression=_GZIP_OPTIONS, **_CSV_OPTIONS)
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) -> Path:
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
- if not features.is_empty:
364
- datasets.append("features")
365
- _write_frame(flatten_index(features.data), path / FEATURES_FILE)
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.
@@ -28,6 +28,7 @@ from .data_stores import StoreRegistry # noqa: E402
28
28
  from .errors import register_exception_handlers # noqa: E402
29
29
  from .jobs import JobRegistry # noqa: E402
30
30
  from .methods import LiteralPathMethods # noqa: E402
31
+ from .query_guard import single_valued_query # noqa: E402
31
32
  from .routers import ( # noqa: E402
32
33
  build_backtest_router,
33
34
  build_coverage_router,
@@ -281,7 +282,8 @@ def create_app(config: ServerConfig) -> FastAPI:
281
282
 
282
283
  # Auth and the documented error responses are applied at mount time, so a
283
284
  # router cannot end up unauthenticated by forgetting to declare them.
284
- guard = [Depends(verify_bearer_token)]
285
+ # A repeated single-valued query parameter is refused too (BN-331).
286
+ guard = [Depends(verify_bearer_token), Depends(single_valued_query)]
285
287
  for router in (build_data_router(),
286
288
  build_reference_values_router(),
287
289
  build_watchlists_router(),
@@ -0,0 +1,54 @@
1
+ # src/beacon/server/query_guard.py
2
+ """
3
+ A query parameter that takes one value is refused when it is given twice.
4
+
5
+ Without this, `?limit=10&limit=500` quietly answers with the last value, so a
6
+ client that built a URL wrong gets an answer to a question it did not ask. A
7
+ list parameter, such as `?fields=NAME&fields=SECTOR`, may repeat. Which is
8
+ which is read from the published OpenAPI document, so the rule is the
9
+ contract's rather than a second list kept beside it.
10
+ """
11
+ # BN-331, found by the nightly fuzz run.
12
+ from collections import Counter
13
+ from typing import Any
14
+
15
+ from fastapi import Request
16
+ from fastapi.routing import APIRoute
17
+
18
+ from ..exceptions import InvalidArgumentError
19
+
20
+
21
+ def single_valued_query(request: Request) -> None:
22
+ """Refuse a repeated query parameter that takes a single value.
23
+
24
+ Raises:
25
+ InvalidArgumentError: Naming each parameter given more than once.
26
+ """
27
+ counts = Counter(name for name, _ in request.query_params.multi_items())
28
+ repeated = {name for name, count in counts.items() if count > 1}
29
+ route = request.scope.get("route")
30
+
31
+ if not repeated or not isinstance(route, APIRoute):
32
+ return
33
+
34
+ single = repeated & _single_valued(request, route)
35
+
36
+ if single:
37
+ raise InvalidArgumentError(
38
+ f"Give {', '.join(f'`{name}`' for name in sorted(single))} once: "
39
+ f"{'it takes' if len(single) == 1 else 'each takes'} a single value.")
40
+
41
+
42
+ def _single_valued(request: Request,
43
+ route: APIRoute) -> set[str]:
44
+ """The route's query parameters that take one value, by the spec."""
45
+ operation = (request.app.openapi().get("paths", {}).get(route.path_format, {})
46
+ .get(request.method.lower(), {}))
47
+
48
+ return {parameter["name"] for parameter in operation.get("parameters", [])
49
+ if parameter.get("in") == "query" and not _is_list(parameter.get("schema", {}))}
50
+
51
+
52
+ def _is_list(schema: dict[str, Any]) -> bool:
53
+ """Whether a parameter's schema takes an array, alone or among its arms."""
54
+ return any(arm.get("type") == "array" for arm in [schema, *schema.get("anyOf", [])])
@@ -457,7 +457,16 @@ def build_data_router() -> APIRouter:
457
457
  "An adjusted series needs CLOSE among the columns requested, "
458
458
  "because ADJ_CLOSE is derived from it.")
459
459
 
460
- frame = fetcher.fetch_market_data(identifier, start, end, columns)
460
+ # BN-331: the parsed list, so the comma form names several columns,
461
+ # and an unknown column is refused rather than failing as a fault.
462
+ unknown = [name for name in wanted or [] if name not in fetcher.market_columns]
463
+
464
+ if unknown:
465
+ raise InvalidArgumentError(
466
+ f"No market-data column {', '.join(repr(name) for name in unknown)}. "
467
+ f"The columns are {', '.join(fetcher.market_columns)}.")
468
+
469
+ frame = fetcher.fetch_market_data(identifier, start, end, wanted)
461
470
 
462
471
  if frame.empty:
463
472
  raise DataNotFoundError(f"market data for '{identifier}'",
@@ -11,8 +11,9 @@ the claim.
11
11
  The term-structure and roll reads resolve a spot price from the data source.
12
12
  They still write nothing.
13
13
  """
14
+ import math
14
15
  from collections.abc import Callable
15
- from typing import Annotated, TypeVar
16
+ from typing import Annotated, Any, TypeVar
16
17
 
17
18
  from ..._optional import require
18
19
  from ...data.fetcher import DataFetcher
@@ -58,13 +59,39 @@ def _within_range(price: Callable[[], Priced]) -> Priced:
58
59
  A rate, yield or time to expiry far outside any real value makes
59
60
  ``exp(rate * time)`` overflow. That is a mistake in the request, not a
60
61
  fault in the engine (BN-250, found by the fuzz run, which answered 500).
62
+ Arithmetic that overflows without raising gives an infinity or NaN
63
+ instead, which would reach the client as null where a number is promised,
64
+ so a result holding one is refused the same way (BN-331).
61
65
  """
62
66
  try:
63
- return price()
67
+ priced = price()
64
68
  except OverflowError as error:
65
- raise InvalidArgumentError(
66
- "These inputs give a value too large to represent. Check the "
67
- "rates, the dividend yield and the time to expiry.") from error
69
+ raise _too_large() from error
70
+
71
+ if not _finite(priced.model_dump() if hasattr(priced, "model_dump") else priced):
72
+ raise _too_large()
73
+
74
+ return priced
75
+
76
+
77
+ def _too_large() -> InvalidArgumentError:
78
+ return InvalidArgumentError(
79
+ "These inputs give a value too large to represent. Check the "
80
+ "rates, the dividend yield and the time to expiry.")
81
+
82
+
83
+ def _finite(value: Any) -> bool:
84
+ """Whether every number in a dumped response is finite."""
85
+ if isinstance(value, float):
86
+ return math.isfinite(value)
87
+
88
+ if isinstance(value, dict):
89
+ return all(_finite(item) for item in value.values())
90
+
91
+ if isinstance(value, list | tuple):
92
+ return all(_finite(item) for item in value)
93
+
94
+ return True
68
95
 
69
96
 
70
97
  def _data_fetcher(request: Request) -> DataFetcher:
@@ -183,6 +183,20 @@ IsoDate = Annotated[str, Field(pattern=ISO_DATE_PATTERN,
183
183
  json_schema_extra={"format": "date"},
184
184
  description="Calendar date, YYYY-MM-DD."),
185
185
  AfterValidator(_real_date)]
186
+ # A number that must arrive as a number. Lax mode reads JSON `false` as 0.0,
187
+ # and the fuzz run priced a future with `time_to_expiry: false` -- a 200 for a
188
+ # contract expiring now, from a request the spec says is malformed (BN-131). A
189
+ # pricer is where that matters most: the answer looks like an answer.
190
+ #
191
+ # Per field rather than `strict=True` on the model, because FastAPI validates
192
+ # a body in Python mode, where a strict model also refuses a JSON array for a
193
+ # tuple -- and `dividends` is a list of pairs. An integer is still a number.
194
+ Number = Annotated[float, Field(strict=True)]
195
+ # A whole number stays a lax `int` (BN-331). A validator that refuses `true`
196
+ # hides each field's bounds from the published schema, and strict mode
197
+ # refuses 96.0, which JSON Schema counts as an integer.
198
+
199
+
186
200
  Identifier = Annotated[str, Field(pattern=IDENTIFIER_PATTERN,
187
201
  description="Letters, digits, dash and "
188
202
  "underscore; up to 64.")]
@@ -1184,7 +1198,7 @@ class FeatureRow(BaseModel):
1184
1198
  date: IsoDate
1185
1199
  type: str = Field(min_length=1)
1186
1200
  field: str = Field(min_length=1)
1187
- value: float
1201
+ value: Number
1188
1202
  detail: str | None = None
1189
1203
 
1190
1204
 
@@ -1512,7 +1526,7 @@ class WeightingSpec(BaseModel):
1512
1526
  min_length=1)
1513
1527
  params: dict[str, Any] = Field(default_factory=dict,
1514
1528
  description="Constructor arguments for the scheme.")
1515
- max_weight: float | None = Field(
1529
+ max_weight: Number | None = Field(
1516
1530
  default=None,
1517
1531
  description="Cap on any single constituent's weight, as a fraction "
1518
1532
  "(0.1 is 10%). Applied after the scheme and iterated until "
@@ -1617,7 +1631,7 @@ class IndexDocument(BaseModel):
1617
1631
  min_length=1, max_length=64)
1618
1632
  name: str = Field(description="Display name.", min_length=1)
1619
1633
  base_date: str = Field(description="Base date, YYYY-MM-DD.")
1620
- base_value: float = Field(description="Index level on the base date.")
1634
+ base_value: Number = Field(description="Index level on the base date.")
1621
1635
  currency: str = Field(description="Index currency.", min_length=3, max_length=3)
1622
1636
  # Deliberately `str` rather than a Literal of the four cadences, even
1623
1637
  # though that would put them in the OpenAPI document and stop the fuzz run
@@ -1664,7 +1678,7 @@ class IndexDocument(BaseModel):
1664
1678
  "TOTAL_RETURN reinvests them across the index by shrinking "
1665
1679
  "the divisor; NET_TOTAL_RETURN does the same after "
1666
1680
  "withholding tax. PRICE is the default.")
1667
- withholding_tax_rate: float = Field(
1681
+ withholding_tax_rate: Number = Field(
1668
1682
  default=0.0,
1669
1683
  ge=0.0,
1670
1684
  lt=1.0,
@@ -1915,15 +1929,6 @@ class RenderResult(BaseModel):
1915
1929
  "gives two `rendered_at` values over identical content.")
1916
1930
 
1917
1931
 
1918
- # A number that must arrive as a number. Lax mode reads JSON `false` as 0.0,
1919
- # and the fuzz run priced a future with `time_to_expiry: false` -- a 200 for a
1920
- # contract expiring now, from a request the spec says is malformed (BN-131). A
1921
- # pricer is where that matters most: the answer looks like an answer.
1922
- #
1923
- # Per field rather than `strict=True` on the model, because FastAPI validates
1924
- # a body in Python mode, where a strict model also refuses a JSON array for a
1925
- # tuple -- and `dividends` is a list of pairs. An integer is still a number.
1926
- Number = Annotated[float, Field(strict=True)]
1927
1932
 
1928
1933
 
1929
1934
  class FuturesPriceRequest(BaseModel):
@@ -2177,12 +2182,12 @@ class RiskModelRequest(BaseModel):
2177
2182
  default_factory=list,
2178
2183
  description="Names to estimate over. Empty takes them from `index_id` "
2179
2184
  "or `strategy_id`.")
2180
- index_id: str | None = Field(
2185
+ index_id: Identifier | None = Field(
2181
2186
  default=None,
2182
2187
  description="Take the names from this index's latest rebalance, "
2183
2188
  "calculated, instead of listing them.")
2184
2189
  # BN-313.
2185
- strategy_id: str | None = Field(
2190
+ strategy_id: Identifier | None = Field(
2186
2191
  default=None,
2187
2192
  description="Take the names from what this stored strategy held at "
2188
2193
  "its latest run's last rebalance instead of listing them.")
@@ -2193,7 +2198,7 @@ class RiskModelRequest(BaseModel):
2193
2198
  default="constant_correlation",
2194
2199
  description="Structured target to shrink toward: 'constant_correlation' "
2195
2200
  "or 'scaled_identity'.")
2196
- intensity: float | None = Field(
2201
+ intensity: Number | None = Field(
2197
2202
  default=None,
2198
2203
  description="Weight on the target, in [0, 1]. Null uses the heuristic "
2199
2204
  "from the panel's shape; 0 gives the raw sample covariance, "
@@ -2523,7 +2528,7 @@ class OptimisationRunRequest(BaseModel):
2523
2528
  default=None,
2524
2529
  description="Start of the window the risk model is estimated over.")
2525
2530
  end: str | None = Field(default=None, description="End of that window.")
2526
- risk_free_rate: float = Field(
2531
+ risk_free_rate: Number = Field(
2527
2532
  default=0.0,
2528
2533
  description="Used for the frontier's tangency point.")
2529
2534
 
@@ -3395,15 +3400,15 @@ class ImplementationSpec(BaseModel):
3395
3400
  description="Which names may be held.")
3396
3401
  caps: list[TypedSpec] = Field(default_factory=list,
3397
3402
  description="How much of each may be held.")
3398
- minimum_position: dict[str, float | None] | None = Field(
3403
+ minimum_position: dict[str, Number | None] | None = Field(
3399
3404
  default=None,
3400
3405
  description="Positions too small to keep: `value` (money, in the "
3401
3406
  "book's currency) and `weight` (a fraction).")
3402
- impact: dict[str, float] | None = Field(
3407
+ impact: dict[str, Number] | None = Field(
3403
3408
  default=None,
3404
3409
  description="Market impact: `coefficient` and `lookback_days`. Null "
3405
3410
  "for none.")
3406
- execution: dict[str, float | None] | None = Field(
3411
+ execution: dict[str, Number | None] | None = Field(
3407
3412
  default=None,
3408
3413
  description="Execution limits: `participation` (a fraction of the "
3409
3414
  "day's volume), `days` and `lookback_days`. Null to trade "
@@ -3411,14 +3416,14 @@ class ImplementationSpec(BaseModel):
3411
3416
  redistribution: str = Field(
3412
3417
  default="pro_rata",
3413
3418
  description="Where removed or capped weight goes: 'pro_rata' or 'cash'.")
3414
- cash_buffer: float = Field(
3419
+ cash_buffer: Number = Field(
3415
3420
  default=0.0, ge=0.0, lt=1.0,
3416
3421
  description="The share of the book kept in cash, a fraction.")
3417
3422
  invest_flows: str = Field(
3418
3423
  default="target",
3419
3424
  description="What money arriving between rebalances buys: 'target' "
3420
3425
  "(the last rebalance's weights) or 'holdings'.")
3421
- equitise: dict[str, float | None] | None = Field(
3426
+ equitise: dict[str, Number | None] | None = Field(
3422
3427
  default=None,
3423
3428
  description="Index futures held on the uninvested cash, so the buffer "
3424
3429
  "earns the index's return: `roll_days`, `roll_cost_bps` and "
@@ -3462,15 +3467,15 @@ class ModellingAssumptionsSpec(BaseModel):
3462
3467
  free_float_backfill_days: int | None = Field(
3463
3468
  default=None, ge=0,
3464
3469
  description="Calendar days a reported free float carries over blanks.")
3465
- cash_rate: float | None = Field(
3470
+ cash_rate: Number | None = Field(
3466
3471
  default=None, gt=-1.0, lt=1.0,
3467
3472
  description="The annual rate cash earns, a fraction, ACT/365.")
3468
- risk_free_rate: float | None = Field(
3473
+ risk_free_rate: Number | None = Field(
3469
3474
  default=None, gt=-1.0, lt=1.0,
3470
3475
  description="The annual rate the Sharpe ratio is measured against.")
3471
3476
  periods_per_year: int | None = Field(
3472
3477
  default=None, ge=1, description="How many periods make a year.")
3473
- withholding_tax_rate: float | None = Field(
3478
+ withholding_tax_rate: Number | None = Field(
3474
3479
  default=None, ge=0.0, lt=1.0,
3475
3480
  description="The share of each dividend withheld, a fraction.")
3476
3481
  volume_backfill_days: int | None = Field(
@@ -3492,14 +3497,14 @@ class ShareClassSpec(BaseModel):
3492
3497
  default=False,
3493
3498
  description="Whether it hedges its share of the assets into its currency with "
3494
3499
  "a monthly forward. Needs a currency other than the book's.")
3495
- hedge_ratio: float = Field(
3500
+ hedge_ratio: Number = Field(
3496
3501
  default=1.0, gt=0.0, le=2.0,
3497
3502
  description="The share of its net assets it hedges, as a fraction: 1 for all.")
3498
- hedge_band: float | None = Field(
3503
+ hedge_band: Number | None = Field(
3499
3504
  default=0.03, ge=0.0,
3500
3505
  description="How far the hedge ratio may drift between monthly rolls before "
3501
3506
  "the forward is resized, as a fraction. Null resizes only at rolls.")
3502
- management_fee_bps: float | None = Field(
3507
+ management_fee_bps: Number | None = Field(
3503
3508
  default=None, ge=0.0,
3504
3509
  description="The class's annual management fee in basis points. Null is the "
3505
3510
  "vehicle's.")
@@ -3524,11 +3529,11 @@ class StrategyBacktestRequest(BaseModel):
3524
3529
  default=None,
3525
3530
  description="Start date, YYYY-MM-DD. Defaults to the index base date.")
3526
3531
  end: str | None = Field(default=None, description="End date, YYYY-MM-DD.")
3527
- initial_capital: float | dict[str, float] = Field(
3532
+ initial_capital: Number | dict[str, Number] = Field(
3528
3533
  default=1_000_000.0,
3529
3534
  description="The capital the fund starts with, in the book's currency. With "
3530
3535
  "share classes, by class name, each in its class's currency.")
3531
- transaction_cost_bps: float = Field(
3536
+ transaction_cost_bps: Number = Field(
3532
3537
  default=0.0, ge=0,
3533
3538
  description="Cost per trade in basis points of notional.")
3534
3539
  benchmark: BenchmarkRef | None = Field(
@@ -7,7 +7,7 @@ from typing import Literal
7
7
 
8
8
  from pydantic import BaseModel, ConfigDict, Field, model_validator
9
9
 
10
- from .schemas import Identifier, IsoDate, LoadJobStatus, TolerantCollection
10
+ from .schemas import Identifier, IsoDate, LoadJobStatus, Number, TolerantCollection
11
11
 
12
12
  # What a store is, physically: a py-beacon data folder, or a Postgres
13
13
  # database read through tables or views in the import layout.
@@ -219,9 +219,9 @@ class GenerateSyntheticRequest(BaseModel):
219
219
  default=None, ge=0,
220
220
  description="Everything random is drawn from this, so the same seed "
221
221
  "and settings always give the same data.")
222
- risk_free_rate: float | None = Field(
222
+ risk_free_rate: Number | None = Field(
223
223
  default=None, description="Annualised, as a decimal.")
224
- equity_premium: float | None = Field(
224
+ equity_premium: Number | None = Field(
225
225
  default=None,
226
226
  description="Annualised excess return on a beta-one name, as a "
227
227
  "decimal.")
@@ -45,6 +45,12 @@ logger = logging.getLogger(__name__)
45
45
  # Matches the universe pane in the client, so the default generation fills it.
46
46
  DEFAULT_ASSETS = 512
47
47
 
48
+ # Where the save sits in a write's progress (BN-332). The stages' fractions are
49
+ # shares of the time a write takes at the API's default size (6,000 names over
50
+ # ten years), measured on a desktop: about 66 s to generate and 100 s to save.
51
+ SAVE_START = 0.40
52
+ SAVE_END = 0.99
53
+
48
54
  # A fixed window, so `generate(SyntheticConfig())` is reproducible on any day.
49
55
  # The CLI defaults differently — it ends today, because demo data that stopped
50
56
  # eighteen months ago reads as stale in every freshness indicator.
@@ -179,8 +185,9 @@ def generate(config: SyntheticConfig | None = None,
179
185
  config: What to generate; defaults to 512 names over a fixed five-year
180
186
  window.
181
187
  progress: Called at each stage with the fraction done and what is
182
- happening. The fractions are rough shares of the time each stage
183
- takes at the default size, not exact.
188
+ happening. The fractions are rough shares of the time a whole
189
+ :func:`write` takes at the API's default size, not exact, so
190
+ generating alone ends near 0.40, where the save begins.
184
191
 
185
192
  Returns:
186
193
  SyntheticDataset: The panels and the parameters behind them.
@@ -202,18 +209,18 @@ def generate(config: SyntheticConfig | None = None,
202
209
  f"{settings.calendar} has no sessions between {settings.start} "
203
210
  f"and {settings.end}.")
204
211
 
205
- progress(0.02, "Building the universe")
212
+ progress(0.01, "Building the universe")
206
213
  names = universe.build(settings.assets, rng, dates=dates,
207
214
  currency=settings.currency,
208
215
  delisting_rate=settings.delisting_rate,
209
216
  listing_rate=settings.listing_rate)
210
217
 
211
- progress(0.08, "Simulating returns")
218
+ progress(0.02, "Simulating returns")
212
219
  panel = returns.simulate(names, dates, rng,
213
220
  risk_free_rate=settings.risk_free_rate,
214
221
  equity_premium=settings.equity_premium)
215
222
 
216
- progress(0.40, "Building prices and corporate actions")
223
+ progress(0.05, "Building prices and corporate actions")
217
224
  market_frame, action_frame = prices.build(names, panel, rng)
218
225
 
219
226
  # FX pairs live in the market data as identifiers of their own, and a
@@ -221,13 +228,13 @@ def generate(config: SyntheticConfig | None = None,
221
228
  # exchange rate has no volume, no shares outstanding and no free float,
222
229
  # and inventing zeros for those would make an FX row answer questions it
223
230
  # has no answer to.
224
- progress(0.62, "Generating exchange rates")
231
+ progress(0.16, "Generating exchange rates")
225
232
  rates = fx.build(dates, rng)
226
233
 
227
234
  # Derived from the prices above rather than drawn beside them: a P/E that
228
235
  # contradicts the price series in the same dataset would make a valuation
229
236
  # screen and a price screen disagree about the same company.
230
- progress(0.64, "Generating features")
237
+ progress(0.17, "Generating features")
231
238
  close = market_frame.pivot(index="DATE", columns="IDENTIFIER",
232
239
  values="CLOSE") if settings.features else None
233
240
  feature_rows = (features_module.build(names, close, panel, rng)
@@ -236,7 +243,7 @@ def generate(config: SyntheticConfig | None = None,
236
243
  # The profile fields a client's instrument view needs. Generated from the
237
244
  # universe rather than beside it, so status agrees with the listing dates
238
245
  # and dividend frequency agrees with the dividends (BN-148).
239
- progress(0.74, "Writing profiles")
246
+ progress(0.36, "Writing profiles")
240
247
  profile = profiles.build(names, rng, dates[-1])
241
248
 
242
249
  logger.info("Generated %d identifier(s) over %d %s session(s) (seed %d).",
@@ -273,8 +280,10 @@ def write(config: SyntheticConfig,
273
280
  """
274
281
  dataset = generate(config, progress)
275
282
 
276
- progress(0.80, "Saving the store")
277
- written = store.save(dataset.fetcher(), path, source=store.SOURCE_SYNTHETIC)
283
+ progress(SAVE_START, "Saving the store")
284
+ written = store.save(dataset.fetcher(), path, source=store.SOURCE_SYNTHETIC,
285
+ progress=lambda fraction, message: progress(
286
+ SAVE_START + (SAVE_END - SAVE_START) * fraction, message))
278
287
  state.save(written, settings_of(config), dataset.universe)
279
288
  progress(1.0, "Done")
280
289