investing-algorithm-framework 9.0.0a20__tar.gz → 9.1.1__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 (418) hide show
  1. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/PKG-INFO +215 -79
  2. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/README.md +213 -77
  3. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/__init__.py +169 -42
  4. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/analysis/markdown.py +149 -63
  5. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/__init__.py +2 -0
  6. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/app.py +142 -122
  7. investing_algorithm_framework-9.1.1/investing_algorithm_framework/app/confluence_scoring_strategy.py +312 -0
  8. investing_algorithm_framework-9.1.1/investing_algorithm_framework/app/confluence_signal_support.py +195 -0
  9. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/context.py +80 -29
  10. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/eventloop.py +137 -16
  11. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/backtest_report.py +24 -5
  12. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/tables/trades_table.py +5 -1
  13. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/templates/dashboard.js +50 -56
  14. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/strategy.py +62 -124
  15. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/schemas/run_report.py +7 -3
  16. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/__init__.py +36 -8
  17. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/backtest_run_configuration.py +28 -0
  18. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/backtest_summary_metrics.py +83 -9
  19. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/backtest_utils.py +161 -4
  20. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/bundle.py +73 -23
  21. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/combine_backtests.py +187 -57
  22. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/history.py +25 -5
  23. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/records.py +119 -5
  24. investing_algorithm_framework-9.1.1/investing_algorithm_framework/domain/backtesting/run_report_storage.py +104 -0
  25. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/config.py +21 -2
  26. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/data_provider.py +19 -0
  27. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/exceptions.py +24 -0
  28. investing_algorithm_framework-9.1.1/investing_algorithm_framework/domain/indicators.py +520 -0
  29. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/__init__.py +7 -0
  30. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/confluence.py +69 -30
  31. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/confluence_frame.py +95 -3
  32. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/confluence_native.py +4 -0
  33. investing_algorithm_framework-9.1.1/investing_algorithm_framework/domain/models/confluence_score.py +926 -0
  34. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/position/position_size.py +11 -1
  35. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/risk_rules/cooldown_rule.py +25 -16
  36. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/risk_rules/scaling_rule.py +27 -2
  37. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/risk_rules/stop_loss_rule.py +19 -5
  38. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/risk_rules/take_profit_rule.py +18 -1
  39. investing_algorithm_framework-9.1.1/investing_algorithm_framework/domain/models/run_report.py +307 -0
  40. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/signal_series.py +17 -3
  41. investing_algorithm_framework-9.1.1/investing_algorithm_framework/domain/models/time_frame.py +139 -0
  42. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/trade/trade.py +17 -9
  43. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/trade/trade_stop_loss.py +1 -1
  44. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/native_event.py +1 -1
  45. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/optimization.py +150 -1
  46. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/services/rounding_service.py +4 -5
  47. investing_algorithm_framework-9.1.1/investing_algorithm_framework/domain/utils/amounts.py +16 -0
  48. investing_algorithm_framework-9.1.1/investing_algorithm_framework/domain/utils/cash.py +12 -0
  49. investing_algorithm_framework-9.1.1/investing_algorithm_framework/domain/utils/custom_tqdm.py +52 -0
  50. investing_algorithm_framework-9.1.1/investing_algorithm_framework/domain/utils/immutable.py +26 -0
  51. investing_algorithm_framework-9.1.1/investing_algorithm_framework/domain/utils/rule_symbols.py +19 -0
  52. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/data_providers/ccxt.py +26 -1
  53. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/database/sql_alchemy.py +11 -1
  54. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/run_report/run_report.py +40 -5
  55. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/trades/trade.py +1 -1
  56. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/repositories/event_memory.py +26 -5
  57. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/repositories/event_snapshot_archive.py +70 -18
  58. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/repositories/trade_repository.py +4 -0
  59. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/services/backtesting/backtest_service.py +261 -86
  60. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/services/backtesting/event_backtest_service.py +26 -0
  61. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/services/backtesting/optimization.py +232 -3
  62. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/services/backtesting/vector_backtest_service.py +332 -86
  63. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/services/backtesting/vector_native.py +13 -2
  64. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/services/backtesting/vector_session_index.py +4 -1
  65. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/backtest_index/sqlite_index.py +3 -1
  66. investing_algorithm_framework-9.1.1/investing_algorithm_framework/services/confluence_indicator_engine.py +247 -0
  67. investing_algorithm_framework-9.1.1/investing_algorithm_framework/services/confluence_reporting.py +98 -0
  68. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/data_providers/data_provider_service.py +75 -26
  69. investing_algorithm_framework-9.1.1/investing_algorithm_framework/services/data_providers/prepared_market_data.py +195 -0
  70. investing_algorithm_framework-9.1.1/investing_algorithm_framework/services/indicator_engine.py +1304 -0
  71. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/drawdown.py +24 -24
  72. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/generate.py +13 -0
  73. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/returns.py +11 -1
  74. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/sharpe_ratio.py +8 -6
  75. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/value_at_risk.py +5 -16
  76. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/order_service/order_service.py +140 -19
  77. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/portfolios/portfolio_configuration_service.py +9 -1
  78. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/run_reports/run_report_service.py +1 -1
  79. investing_algorithm_framework-9.1.1/investing_algorithm_framework/services/run_reports/snapshot.py +409 -0
  80. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/strategy_phases/__init__.py +2 -0
  81. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/strategy_phases/default.py +5 -1
  82. investing_algorithm_framework-9.1.1/investing_algorithm_framework/services/strategy_phases/evaluate_indicators.py +37 -0
  83. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/strategy_phases/record_cooldown.py +56 -40
  84. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/strategy_phases/resolve_conflicts.py +43 -7
  85. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/strategy_phases/size_positions.py +27 -7
  86. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/trade_order_evaluator/trade_order_evaluator.py +36 -0
  87. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/trade_service/trade_service.py +50 -9
  88. investing_algorithm_framework-9.1.1/investing_algorithm_framework/testing/__init__.py +12 -0
  89. investing_algorithm_framework-9.1.1/investing_algorithm_framework/testing/scenario.py +1799 -0
  90. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/pyproject.toml +3 -2
  91. investing_algorithm_framework-9.0.0a20/investing_algorithm_framework/domain/models/run_report.py +0 -199
  92. investing_algorithm_framework-9.0.0a20/investing_algorithm_framework/domain/models/time_frame.py +0 -178
  93. investing_algorithm_framework-9.0.0a20/investing_algorithm_framework/domain/utils/custom_tqdm.py +0 -33
  94. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/LICENSE +0 -0
  95. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/analysis/__init__.py +0 -0
  96. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/analysis/backtest_data_ranges.py +0 -0
  97. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/analysis/backtest_window_analysis.py +0 -0
  98. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/analysis/bundle_inspection.py +0 -0
  99. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/analysis/ranking.py +0 -0
  100. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/analysis/robustness.py +0 -0
  101. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/analysis/top_selection.py +0 -0
  102. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/algorithm/__init__.py +0 -0
  103. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/algorithm/algorithm.py +0 -0
  104. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/algorithm/algorithm_factory.py +0 -0
  105. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/algorithm_runner.py +0 -0
  106. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/app_hook.py +0 -0
  107. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/native_schedule.py +0 -0
  108. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/__init__.py +0 -0
  109. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/ascii.py +0 -0
  110. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/charts/__init__.py +0 -0
  111. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/charts/_finterion_render.py +0 -0
  112. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/charts/entry_exist_signals.py +0 -0
  113. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/charts/equity_curve.py +0 -0
  114. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/charts/equity_curve_drawdown.py +0 -0
  115. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/charts/monthly_returns_heatmap.py +0 -0
  116. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/charts/ohlcv_data_completeness.py +0 -0
  117. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/charts/rolling_sharp_ratio.py +0 -0
  118. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/charts/yearly_returns_barchart.py +0 -0
  119. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/generate.py +0 -0
  120. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/tables/__init__.py +0 -0
  121. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/tables/key_metrics_table.py +0 -0
  122. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/tables/stop_loss_table.py +0 -0
  123. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/tables/time_metrics_table.py +0 -0
  124. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/tables/trade_metrics_table.py +0 -0
  125. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/tables/utils.py +0 -0
  126. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/templates/dashboard.css +0 -0
  127. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/templates/dashboard_template.html.j2 +0 -0
  128. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/reporting/templates/report_template.html.j2 +0 -0
  129. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/stateless/__init__.py +0 -0
  130. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/stateless/action_handlers/__init__.py +0 -0
  131. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/stateless/action_handlers/action_handler_strategy.py +0 -0
  132. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/stateless/action_handlers/check_online_handler.py +0 -0
  133. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/stateless/action_handlers/run_strategy_handler.py +0 -0
  134. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/stateless/exception_handler.py +0 -0
  135. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/task.py +0 -0
  136. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/__init__.py +0 -0
  137. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/controllers/__init__.py +0 -0
  138. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/controllers/algorithm.py +0 -0
  139. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/controllers/orders.py +0 -0
  140. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/controllers/portfolio.py +0 -0
  141. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/controllers/positions.py +0 -0
  142. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/controllers/run_reports.py +0 -0
  143. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/controllers/trades.py +0 -0
  144. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/create_app.py +0 -0
  145. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/error_handler.py +0 -0
  146. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/responses.py +0 -0
  147. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/run_strategies.py +0 -0
  148. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/schemas/__init__.py +0 -0
  149. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/schemas/order.py +0 -0
  150. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/schemas/portfolio.py +0 -0
  151. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/schemas/portfolio_order_cost.py +0 -0
  152. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/schemas/portfolio_order_cost_specification.py +0 -0
  153. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/schemas/position.py +0 -0
  154. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/schemas/trade.py +0 -0
  155. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/app/web/setup_cors.py +0 -0
  156. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/__init__.py +0 -0
  157. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/cli.py +0 -0
  158. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/deploy_to_aws_lambda.py +0 -0
  159. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/deploy_to_azure_function.py +0 -0
  160. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/index_command.py +0 -0
  161. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/initialize_app.py +0 -0
  162. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/mcp_server.py +0 -0
  163. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/migrate_store_command.py +0 -0
  164. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/.gitignore.template +0 -0
  165. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/app.py.template +0 -0
  166. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/app_aws_lambda_function.py.template +0 -0
  167. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/app_azure_function.py.template +0 -0
  168. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/app_web.py.template +0 -0
  169. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/aws_lambda_dockerfile.template +0 -0
  170. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/aws_lambda_dockerignore.template +0 -0
  171. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/aws_lambda_readme.md.template +0 -0
  172. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/aws_lambda_requirements.txt.template +0 -0
  173. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/azure_function_function_app.py.template +0 -0
  174. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/azure_function_host.json.template +0 -0
  175. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/azure_function_local.settings.json.template +0 -0
  176. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/azure_function_requirements.txt.template +0 -0
  177. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/data_providers.py.template +0 -0
  178. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/env.example.template +0 -0
  179. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/env_azure_function.example.template +0 -0
  180. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/market_data_providers.py.template +0 -0
  181. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/readme.md.template +0 -0
  182. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/requirements.txt.template +0 -0
  183. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/run_backtest.py.template +0 -0
  184. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/templates/strategy.py.template +0 -0
  185. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/cli/validate_backtest_checkpoints.py +0 -0
  186. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/create_app.py +0 -0
  187. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/dependency_container.py +0 -0
  188. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/algorithm_id.py +0 -0
  189. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/__init__.py +0 -0
  190. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/backtest.py +0 -0
  191. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/backtest_date_range.py +0 -0
  192. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/backtest_engine.py +0 -0
  193. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/backtest_evaluation_focuss.py +0 -0
  194. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/backtest_index_row.py +0 -0
  195. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/backtest_metrics.py +0 -0
  196. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/backtest_monte_carlo_test.py +0 -0
  197. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/backtest_run.py +0 -0
  198. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/backtest_window.py +0 -0
  199. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/consistency.py +0 -0
  200. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/execution_config.py +0 -0
  201. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/record_schemas.py +0 -0
  202. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/study.py +0 -0
  203. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/templates/backtest.html +0 -0
  204. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/templates/finterion-dark.png +0 -0
  205. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/templates/finterion-light.png +0 -0
  206. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/backtesting/universe.py +0 -0
  207. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/blotter.py +0 -0
  208. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/constants.py +0 -0
  209. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/data_structures.py +0 -0
  210. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/datetime_parsing.py +0 -0
  211. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/decimal_parsing.py +0 -0
  212. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/fx.py +0 -0
  213. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/app_mode.py +0 -0
  214. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/base_model.py +0 -0
  215. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/conflict_policy.py +0 -0
  216. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/data/__init__.py +0 -0
  217. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/data/data_source.py +0 -0
  218. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/data/data_type.py +0 -0
  219. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/decision_trace.py +0 -0
  220. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/event.py +0 -0
  221. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/market/__init__.py +0 -0
  222. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/market/market_credential.py +0 -0
  223. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/order/__init__.py +0 -0
  224. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/order/order.py +0 -0
  225. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/order/order_side.py +0 -0
  226. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/order/order_status.py +0 -0
  227. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/order/order_type.py +0 -0
  228. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/portfolio/__init__.py +0 -0
  229. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/portfolio/paper_trading_mode.py +0 -0
  230. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/portfolio/portfolio.py +0 -0
  231. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/portfolio/portfolio_configuration.py +0 -0
  232. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/portfolio/portfolio_snapshot.py +0 -0
  233. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/portfolio/position_mode.py +0 -0
  234. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/portfolio/sync.py +0 -0
  235. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/position/__init__.py +0 -0
  236. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/position/position.py +0 -0
  237. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/position/position_snapshot.py +0 -0
  238. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/risk_rules/__init__.py +0 -0
  239. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/risk_rules/exposure_rule.py +0 -0
  240. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/risk_rules/trading_cost.py +0 -0
  241. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/scheduling/__init__.py +0 -0
  242. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/scheduling/date_rule.py +0 -0
  243. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/scheduling/schedule.py +0 -0
  244. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/scheduling/scheduled_function.py +0 -0
  245. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/scheduling/time_rule.py +0 -0
  246. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/score_card.py +0 -0
  247. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/signal.py +0 -0
  248. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/signal_helpers.py +0 -0
  249. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/snapshot_interval.py +0 -0
  250. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/strategy_profile.py +0 -0
  251. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/time_interval.py +0 -0
  252. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/time_unit.py +0 -0
  253. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/tracing/__init__.py +0 -0
  254. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/tracing/trace.py +0 -0
  255. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/trade/__init__.py +0 -0
  256. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/trade/trade_status.py +0 -0
  257. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/models/trade/trade_take_profit.py +0 -0
  258. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/order_executor.py +0 -0
  259. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/pipeline/__init__.py +0 -0
  260. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/pipeline/custom_factor.py +0 -0
  261. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/pipeline/factor.py +0 -0
  262. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/pipeline/factors/__init__.py +0 -0
  263. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/pipeline/factors/builtin.py +0 -0
  264. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/pipeline/filter.py +0 -0
  265. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/pipeline/pipeline.py +0 -0
  266. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/portfolio_provider.py +0 -0
  267. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/services/__init__.py +0 -0
  268. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/services/market_credential_service.py +0 -0
  269. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/services/portfolios/__init__.py +0 -0
  270. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/services/portfolios/portfolio_sync_service.py +0 -0
  271. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/services/state_handler.py +0 -0
  272. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/stateless_actions.py +0 -0
  273. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/strategy.py +0 -0
  274. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/utils/__init__.py +0 -0
  275. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/utils/csv.py +0 -0
  276. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/utils/dates.py +0 -0
  277. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/utils/jupyter_notebook_detection.py +0 -0
  278. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/utils/polars.py +0 -0
  279. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/utils/random.py +0 -0
  280. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/utils/signatures.py +0 -0
  281. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/utils/stoppable_thread.py +0 -0
  282. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/domain/utils/synchronized.py +0 -0
  283. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/download_data.py +0 -0
  284. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/__init__.py +0 -0
  285. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/data_providers/__init__.py +0 -0
  286. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/data_providers/alpha_vantage.py +0 -0
  287. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/data_providers/base_url.py +0 -0
  288. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/data_providers/csv.py +0 -0
  289. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/data_providers/csv_url.py +0 -0
  290. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/data_providers/json_url.py +0 -0
  291. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/data_providers/ohlcv_base.py +0 -0
  292. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/data_providers/pandas.py +0 -0
  293. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/data_providers/parquet_url.py +0 -0
  294. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/data_providers/polygon.py +0 -0
  295. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/data_providers/yahoo.py +0 -0
  296. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/database/__init__.py +0 -0
  297. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/__init__.py +0 -0
  298. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/decimal_parser.py +0 -0
  299. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/model_extension.py +0 -0
  300. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/order/__init__.py +0 -0
  301. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/order/order.py +0 -0
  302. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/order/trade_allocation.py +0 -0
  303. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/order_trade_association.py +0 -0
  304. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/portfolio/__init__.py +0 -0
  305. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/portfolio/portfolio_snapshot.py +0 -0
  306. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/portfolio/sql_portfolio.py +0 -0
  307. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/position/__init__.py +0 -0
  308. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/position/position.py +0 -0
  309. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/position/position_snapshot.py +0 -0
  310. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/run_report/__init__.py +0 -0
  311. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/trades/__init__.py +0 -0
  312. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/trades/trade_stop_loss.py +0 -0
  313. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/models/trades/trade_take_profit.py +0 -0
  314. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/order_executors/__init__.py +0 -0
  315. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/order_executors/ccxt_order_executor.py +0 -0
  316. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/order_executors/paper_trading_order_executor.py +0 -0
  317. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/portfolio_providers/__init__.py +0 -0
  318. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/portfolio_providers/ccxt_portfolio_provider.py +0 -0
  319. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/portfolio_providers/paper_trading_portfolio_provider.py +0 -0
  320. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/repositories/__init__.py +0 -0
  321. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/repositories/order_repository.py +0 -0
  322. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/repositories/portfolio_repository.py +0 -0
  323. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/repositories/portfolio_snapshot_repository.py +0 -0
  324. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/repositories/position_repository.py +0 -0
  325. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/repositories/position_snapshot_repository.py +0 -0
  326. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/repositories/repository.py +0 -0
  327. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/repositories/run_report_repository.py +0 -0
  328. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/repositories/trade_allocation_repository.py +0 -0
  329. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/repositories/trade_stop_loss_repository.py +0 -0
  330. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/repositories/trade_take_profit_repository.py +0 -0
  331. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/services/__init__.py +0 -0
  332. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/services/aws/__init__.py +0 -0
  333. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/services/aws/state_handler.py +0 -0
  334. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/services/azure/__init__.py +0 -0
  335. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/services/azure/state_handler.py +0 -0
  336. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/services/backtesting/__init__.py +0 -0
  337. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/services/backtesting/event_workers.py +0 -0
  338. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/services/backtesting/schedule_generation.py +0 -0
  339. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/infrastructure/services/backtesting/vector_resources.py +0 -0
  340. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/notebook/__init__.py +0 -0
  341. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/notebook/magic.py +0 -0
  342. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/__init__.py +0 -0
  343. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/backtest_index/__init__.py +0 -0
  344. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/backtest_store/__init__.py +0 -0
  345. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/backtest_store/base.py +0 -0
  346. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/backtest_store/decompose.py +0 -0
  347. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/backtest_store/local_dir_store.py +0 -0
  348. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/backtest_store/local_tiered_store.py +0 -0
  349. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/backtest_store/recording.py +0 -0
  350. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/backtest_store/streaming.py +0 -0
  351. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/configuration_service.py +0 -0
  352. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/data_providers/__init__.py +0 -0
  353. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/data_providers/data.py +0 -0
  354. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/executors/__init__.py +0 -0
  355. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/executors/base.py +0 -0
  356. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/executors/limit.py +0 -0
  357. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/executors/market.py +0 -0
  358. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/market_credential_service.py +0 -0
  359. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/__init__.py +0 -0
  360. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/_returns_helper.py +0 -0
  361. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/alpha.py +0 -0
  362. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/beta.py +0 -0
  363. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/cagr.py +0 -0
  364. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/calmar_ratio.py +0 -0
  365. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/consistency.py +0 -0
  366. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/equity_curve.py +0 -0
  367. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/exposure.py +0 -0
  368. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/inputs.py +0 -0
  369. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/mae_mfe.py +0 -0
  370. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/mean_daily_return.py +0 -0
  371. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/native.py +0 -0
  372. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/omega_ratio.py +0 -0
  373. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/price_efficiency.py +0 -0
  374. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/profit_factor.py +0 -0
  375. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/recovery.py +0 -0
  376. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/risk_free_rate.py +0 -0
  377. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/sortino_ratio.py +0 -0
  378. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/standard_deviation.py +0 -0
  379. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/trades.py +0 -0
  380. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/treynor_ratio.py +0 -0
  381. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/ulcer.py +0 -0
  382. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/volatility.py +0 -0
  383. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/metrics/win_rate.py +0 -0
  384. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/native_accounting.py +0 -0
  385. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/order_service/__init__.py +0 -0
  386. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/order_service/order_backtest_service.py +0 -0
  387. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/order_service/order_executor_lookup.py +0 -0
  388. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/pipeline/__init__.py +0 -0
  389. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/pipeline/pipeline_engine.py +0 -0
  390. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/pipeline/vector_pipeline_engine.py +0 -0
  391. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/portfolios/__init__.py +0 -0
  392. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/portfolios/backtest_portfolio_service.py +0 -0
  393. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/portfolios/broker_balance_tracker.py +0 -0
  394. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/portfolios/portfolio_provider_lookup.py +0 -0
  395. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/portfolios/portfolio_service.py +0 -0
  396. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/portfolios/portfolio_snapshot_service.py +0 -0
  397. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/portfolios/portfolio_sync_service.py +0 -0
  398. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/positions/__init__.py +0 -0
  399. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/positions/position_service.py +0 -0
  400. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/positions/position_snapshot_service.py +0 -0
  401. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/repository_service.py +0 -0
  402. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/run_reports/__init__.py +0 -0
  403. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/strategy_phases/apply_risk_budget.py +0 -0
  404. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/strategy_phases/attach_risk_rules.py +0 -0
  405. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/strategy_phases/base.py +0 -0
  406. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/strategy_phases/collect_signals.py +0 -0
  407. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/strategy_phases/emit_orders.py +0 -0
  408. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/strategy_phases/evaluate_pipelines.py +0 -0
  409. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/strategy_phases/phase_state.py +0 -0
  410. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/trade_hooks/__init__.py +0 -0
  411. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/trade_hooks/trade_hook_dispatcher.py +0 -0
  412. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/trade_order_evaluator/__init__.py +0 -0
  413. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/trade_order_evaluator/backtest_trade_oder_evaluator.py +0 -0
  414. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/trade_order_evaluator/default_trade_order_evaluator.py +0 -0
  415. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/trade_order_evaluator/native.py +0 -0
  416. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/trade_service/__init__.py +0 -0
  417. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/trade_service/trade_stop_loss_service.py +0 -0
  418. {investing_algorithm_framework-9.0.0a20 → investing_algorithm_framework-9.1.1}/investing_algorithm_framework/services/trade_service/trade_take_profit_service.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: investing-algorithm-framework
3
- Version: 9.0.0a20
3
+ Version: 9.1.1
4
4
  Summary: A framework for creating trading bots
5
5
  Author: MDUYN
6
6
  Requires-Python: >=3.10,<4.0
@@ -26,7 +26,7 @@ Requires-Dist: boto3 (>=1.38.41,<2.0.0) ; extra == "aws" or extra == "all"
26
26
  Requires-Dist: ccxt (>=4.2.48)
27
27
  Requires-Dist: dependency-injector (>=4.40.0)
28
28
  Requires-Dist: fastapi (>=0.110.0)
29
- Requires-Dist: finterion-charts (==1.4.0)
29
+ Requires-Dist: finterion-charts (==1.5.0)
30
30
  Requires-Dist: ipython (>=8.0.0) ; extra == "notebook" or extra == "all"
31
31
  Requires-Dist: jinja2 (>=3.1.6)
32
32
  Requires-Dist: marshmallow (>=3.5.0)
@@ -90,20 +90,24 @@ trading workflow. Define a strategy once, explore it with vector backtests,
90
90
  validate it in an event-driven simulation, inspect the results in an interactive
91
91
  dashboard, and run the same strategy in paper or live trading.
92
92
 
93
- > **v9.0.0 alpha is available.** Install the prerelease explicitly:
93
+ > **v9.1 is now available.**
94
94
  >
95
95
  > ```bash
96
- > pip install investing-algorithm-framework==9.0.0a20
96
+ > pip install investing-algorithm-framework==9.1.1
97
97
  > ```
98
98
  >
99
- > See the [v9.0 release notes](docusaurus/blog/2026-08-02-v9.0-release.md)
100
- > and [changelog](CHANGELOG.md). The APIs below describe current v9 development.
99
+ > See the [v9.1 changelog](CHANGELOG.md#910---2026-11-28)
100
+ > and [v9.0 migration notes](docusaurus/blog/2026-08-02-v9.0-release.md).
101
+ > This README targets **v9 and later**;
102
+ > its APIs and examples may not work with earlier versions.
101
103
 
102
104
  ### Feature Highlights
103
105
 
106
+ - 🧠 **[Advanced strategy definitions](#3-confluence-scoring-declare-indicators-and-decisions):** Combine declarative indicators and data streams, confluence-scored entry and exit decisions, and position sizing and risk rules.
104
107
  - 🔁 **[Long and short trading](https://coding-kitties.github.io/investing-algorithm-framework/Getting%20Started/orders):** Define entry and exit signals once and run the same strategy in vector backtests, event-driven backtests, paper trading, and live trading.
105
108
  - ⚡ **[Vector backtesting](https://coding-kitties.github.io/investing-algorithm-framework/Getting%20Started/vector-backtesting):** Evaluate signals and sweep thousands of strategy variants quickly with Polars-powered execution.
106
109
  - 🏃 **[Event-driven backtesting](https://coding-kitties.github.io/investing-algorithm-framework/Getting%20Started/event-backtesting):** Validate candidates bar by bar with realistic orders, fills, costs, and portfolio management.
110
+ - 🧪 **[A first-class, scenario-based strategy testing framework](docusaurus/docs/Getting%20Started/testing-framework.md):** Seed portfolio and market conditions, advance scheduled bars, and assert signals, orders, fills, sizing, risk rules, and cooldowns with Python testing frameworks. See the [runnable reference](examples/testing_framework/example.py).
107
111
  - 🪟 **[Studies, universes, and backtest windows](https://coding-kitties.github.io/investing-algorithm-framework/Getting%20Started/studies):** Define the assets, assumptions, and rolling, anchored, holdout, walk-forward, time-OOS, or universe-OOS periods for each experiment.
108
112
  - 🗂️ **[Open Backtest Format](https://coding-kitties.github.io/investing-algorithm-framework/Getting%20Started/open-backtest-format):** Keep complete vector and event results in portable, versioned `.obtf` bundles.
109
113
  - 🗄️ **[Tiered storage and indexing](https://coding-kitties.github.io/investing-algorithm-framework/Getting%20Started/backtest-storage):** Rank and filter 10,000+ backtests through SQLite without decoding full result bundles.
@@ -125,91 +129,223 @@ dashboard, and run the same strategy in paper or live trading.
125
129
  <summary><strong>Strategy Definition</strong></summary>
126
130
  <br>
127
131
 
128
- Strategies are `TradingStrategy` subclasses that declare their data, schedule,
129
- signal logic, and risk rules. The framework handles data loading, order execution,
130
- position management, persistence, and reporting around them.
132
+ There are three ways to define a strategy: use `TradingStrategy` for direct
133
+ orders or custom signals, or its `ConfluenceScoringStrategy` subclass for
134
+ declarative indicator-driven decisions. All declare their data and schedule;
135
+ choose how much of the trading logic you want to manage yourself:
136
+
137
+ > **Recommended: start with `ConfluenceScoringStrategy`.** We recommend it over
138
+ > the other two approaches because it:
139
+ > - Provides both event and vector signal hooks, avoiding duplicated signal logic.
140
+ > - Keeps indicator calculations, scoring rules, and thresholds declarative.
141
+ > - Records explainable decision traces in event mode.
142
+ > - Uses the shared sizing, risk, execution, and cooldown pipeline.
143
+ >
144
+ > Use custom signals or direct orders as escape hatches when your strategy needs
145
+ > behavior that the declarative API cannot express.
146
+
147
+ | Style | Define | Execution modes |
148
+ | --- | --- | --- |
149
+ | **Direct orders** | Override `run_strategy` and place orders through `Context`. | Event backtests, paper, and live trading |
150
+ | **Custom signals** | Implement `generate_signals` and `generate_signal_series`; let the framework size and execute orders. | Both backtest engines, paper, and live trading |
151
+ | **Confluence scoring (recommended)** | Subclass `ConfluenceScoringStrategy` and declare indicators and scored entry/exit cards. | Both backtest engines, paper, and live trading |
152
+
153
+ ### 1. Direct orders: control the event loop
154
+
155
+ > **No vector backtesting:** this approach supports event-driven backtests,
156
+ > paper trading, and live trading only. Use custom signals or confluence cards
157
+ > below if you need vector backtesting.
158
+
159
+ Use `run_strategy` when you need direct control over order conditions, sizing,
160
+ and routing. This replaces the default signal-processing pipeline: declaring
161
+ strategy risk rules alone does not apply that pipeline to your custom orders.
131
162
 
132
163
  ```python
133
- from pyindicators import crossover, crossunder, ema, rsi
134
-
135
- from investing_algorithm_framework import ConfluenceCard, CooldownRule, \
136
- DataSource, DataType, EvidenceGroup, ExposureRule, Operator, \
137
- PrimaryGroup, ScalingRule, Schedule, ScoreRule, SignalSide, \
138
- StopLossRule, TakeProfitRule, TimeUnit, TradingStrategy, \
139
- condition, PositionSize
140
-
141
-
142
- def create_confluence_card(name, rsi_operator, rsi_value, cross_column):
143
- return ConfluenceCard(
144
- name=name,
145
- primary=PrimaryGroup(name="RSI reversal", rules=(ScoreRule(
146
- name=f"RSI {rsi_operator.value} {rsi_value}",
147
- expression=condition("rsi", rsi_operator, value=rsi_value), points=3,
148
- ),), minimum_matches=1),
149
- secondary=(EvidenceGroup(name="EMA confirmation", rules=(ScoreRule(
150
- name="Recent EMA cross",
151
- expression=condition(cross_column, Operator.GT, value=0), points=2,
152
- ),), minimum_score=2),),
153
- minimum_score=5,
154
- )
155
-
156
-
157
- class RSIEMACrossoverStrategy(TradingStrategy):
164
+ from investing_algorithm_framework import (
165
+ DataSource, OrderSide, Schedule, TimeUnit, TradingStrategy,
166
+ )
167
+
168
+
169
+ class DirectOrderStrategy(TradingStrategy):
158
170
  schedule = Schedule.every(2, TimeUnit.HOUR)
159
171
  symbols = ["BTC"]
160
172
  data_sources = [DataSource(
161
- identifier="BTC_ohlcv", symbol="BTC/EUR", data_type=DataType.OHLCV,
162
- time_frame="2h", market="BITVAVO", pandas=True, warmup_window=100,
173
+ identifier="BTC_ohlcv", symbol="BTC/EUR", data_type="OHLCV", time_frame="2h",
174
+ market="BITVAVO", pandas=True, warmup_window=30,
163
175
  )]
164
176
 
165
- # Portfolio and position risk controls.
166
- exposure_rule = ExposureRule(max_portfolio_percentage=80)
167
- position_sizes = [PositionSize(symbol="BTC", percentage_of_portfolio=20)]
168
- scaling_rules = [ScalingRule(
169
- symbol="BTC", max_entries=3, scale_in_percentage=[50, 25],
170
- cooldown_in_bars=5,
171
- )]
172
- stop_losses = [StopLossRule(
173
- symbol="BTC", percentage_threshold=5, sell_percentage=100, trailing=True,
174
- )]
175
- take_profits = [TakeProfitRule(
176
- symbol="BTC", percentage_threshold=10, sell_percentage=50,
177
+ def run_strategy(self, context, data):
178
+ frame = data["BTC_ohlcv"]
179
+ price = float(frame["Close"].iloc[-1])
180
+ average = float(frame["Close"].rolling(20).mean().iloc[-1])
181
+
182
+ if price > average and not context.has_position("BTC"):
183
+ context.create_limit_order(
184
+ target_symbol="BTC", price=price, order_side=OrderSide.BUY,
185
+ percentage_of_portfolio=20,
186
+ )
187
+ elif price < average and context.has_position("BTC"):
188
+ context.create_limit_order(
189
+ target_symbol="BTC", price=price, order_side=OrderSide.SELL,
190
+ percentage_of_position=100,
191
+ )
192
+ ```
193
+
194
+ The vector engine does not call `run_strategy`. For vector backtesting, express
195
+ the strategy as signal series instead.
196
+
197
+ ### 2. Custom signals: share logic across both engines
198
+
199
+ Emit trading intent rather than orders. The framework applies its normal
200
+ conflict resolution, sizing, risk, execution, and cooldown phases.
201
+
202
+ ```python
203
+ from investing_algorithm_framework import (
204
+ DataSource, PositionSize, Schedule, SignalSide, TimeUnit, TradingStrategy,
205
+ signal_series_from_column, signals_from_column,
206
+ )
207
+
208
+
209
+ class MovingAverageSignalStrategy(TradingStrategy):
210
+ schedule = Schedule.every(2, TimeUnit.HOUR)
211
+ symbols = ["BTC"]
212
+ data_sources = [DataSource(
213
+ identifier="BTC_ohlcv", symbol="BTC/EUR", data_type="OHLCV", time_frame="2h",
214
+ market="BITVAVO", pandas=True, warmup_window=30,
177
215
  )]
178
- cooldowns = [
179
- CooldownRule(symbol="BTC", trigger="sell", blocks="buy", bars=12),
180
- CooldownRule(trigger="any", blocks="any", bars=2),
181
- ]
216
+ position_sizes = [PositionSize(symbol="BTC", percentage_of_portfolio=20)]
182
217
 
183
- # Weighted, explainable entry and exit decisions.
184
- signal_cards = {
185
- SignalSide.OPEN_LONG: create_confluence_card(
186
- "Open long", Operator.LT, 30, "recent_crossover"),
187
- SignalSide.CLOSE_LONG: create_confluence_card(
188
- "Close long", Operator.GTE, 70, "recent_crossunder"),
189
- SignalSide.OPEN_SHORT: create_confluence_card(
190
- "Open short", Operator.GTE, 70, "recent_crossunder"),
191
- SignalSide.CLOSE_SHORT: create_confluence_card(
192
- "Close short", Operator.LT, 30, "recent_crossover"),
193
- }
194
-
195
- def prepare_signal_data(self, data):
196
- """Prepare the same card inputs for every execution mode."""
218
+ def _with_signals(self, data):
197
219
  frame = data["BTC_ohlcv"].copy()
198
- frame = ema(frame, "Close", 12, "ema_short")
199
- frame = ema(frame, "Close", 26, "ema_long")
200
- frame = crossover(frame, "ema_short", "ema_long", "ema_crossover")
201
- frame = crossunder(frame, "ema_short", "ema_long", "ema_crossunder")
202
- frame = rsi(frame, "Close", 14, "rsi")
203
- frame["recent_crossover"] = frame["ema_crossover"].rolling(10).max()
204
- frame["recent_crossunder"] = frame["ema_crossunder"].rolling(10).max()
205
- return {"BTC": frame}
220
+ average = frame["Close"].rolling(20).mean()
221
+ frame["open_long"] = frame["Close"] > average
222
+ frame["close_long"] = frame["Close"] < average
223
+ return frame
224
+
225
+ def generate_signals(self, context, data):
226
+ frame = self._with_signals(data)
227
+ yield from signals_from_column(
228
+ frame, "open_long", side=SignalSide.OPEN_LONG, symbol="BTC",
229
+ )
230
+ yield from signals_from_column(
231
+ frame, "close_long", side=SignalSide.CLOSE_LONG, symbol="BTC",
232
+ )
233
+
234
+ def generate_signal_series(self, data):
235
+ frame = self._with_signals(data)
236
+ yield signal_series_from_column(
237
+ frame, "open_long", side=SignalSide.OPEN_LONG, symbol="BTC",
238
+ )
239
+ yield signal_series_from_column(
240
+ frame, "close_long", side=SignalSide.CLOSE_LONG, symbol="BTC",
241
+ )
206
242
  ```
207
243
 
208
- The framework evaluates `signal_cards` against the prepared columns and creates
209
- signals and decision traces automatically. `prepare_signal_data` is shared by
210
- vector backtests, event-driven backtests, paper trading, and live trading, while
211
- the declarative rules govern sizing, exposure, scaling, exits, and cooldowns in
212
- each mode. The four cards cover long entry and exit plus short entry and cover.
244
+ `generate_signals` evaluates the latest bar for event backtests, paper trading,
245
+ and live trading. `generate_signal_series` evaluates the full window for vector
246
+ backtests. Implement both to support both engines, sharing indicator logic to
247
+ keep their decisions consistent.
248
+
249
+ ### 3. Confluence scoring: declare indicators and decisions
250
+
251
+ Inherit from `ConfluenceScoringStrategy` and declare `indicator_configs` plus
252
+ `confluence_cards`. The base class calculates the indicators and supplies both
253
+ signal hooks: no custom `prepare_signal_data`, `generate_signals`, or
254
+ `generate_signal_series` is needed.
255
+
256
+ This example uses `pyindicators` (`pip install pyindicators`). Pass its indicator
257
+ function as `calculate`, and declare the parameters and output columns explicitly.
258
+ Precomputation is appropriate here because RSI uses only present and past data.
259
+
260
+ ```python
261
+ from pyindicators import rsi
262
+
263
+ from investing_algorithm_framework import (
264
+ ConfluenceScoringStrategy, ConfluenceScoreConfig, CooldownRule,
265
+ DataSource, IndicatorConfig, IndicatorRule, PositionSize, Schedule,
266
+ SignalSide, StopLossRule, TakeProfitRule, TimeUnit,
267
+ )
268
+
269
+
270
+ class RSIConfluenceStrategy(ConfluenceScoringStrategy):
271
+ schedule = Schedule.every(2, TimeUnit.HOUR)
272
+ symbols = ["BTC"]
273
+ data_sources = [
274
+ DataSource(
275
+ identifier="BTC_ohlcv",
276
+ symbol="BTC/EUR",
277
+ data_type="OHLCV",
278
+ time_frame="2h",
279
+ market="BITVAVO",
280
+ pandas=True,
281
+ warmup_window=100,
282
+ )
283
+ ]
284
+
285
+ indicator_configs = [
286
+ IndicatorConfig(
287
+ id="rsi",
288
+ calculate=rsi,
289
+ timeframe="2h",
290
+ data_source="BTC_ohlcv",
291
+ parameters={
292
+ "source_column": "Close", "period": 14, "result_column": "rsi",
293
+ },
294
+ output_columns=["rsi"],
295
+ minimum_history=15,
296
+ history="continuous",
297
+ execution="precompute",
298
+ ),
299
+ ]
300
+ confluence_cards = [
301
+ ConfluenceScoreConfig(
302
+ id=name,
303
+ side=side,
304
+ symbols=["BTC"],
305
+ rules={"rsi_threshold": IndicatorRule(
306
+ indicator_id="rsi",
307
+ output_column="rsi",
308
+ threshold=threshold,
309
+ comparison=comparison,
310
+ group_weights={"primary": 1},
311
+ lookback_period=1,
312
+ )},
313
+ group_aggregation={"primary": "sum"},
314
+ group_thresholds={"primary": 1},
315
+ )
316
+ for name, side, threshold, comparison in (
317
+ ("long_entry", SignalSide.OPEN_LONG, 30, "le"),
318
+ ("long_exit", SignalSide.CLOSE_LONG, 70, "ge"),
319
+ ("short_entry", SignalSide.OPEN_SHORT, 70, "ge"),
320
+ ("short_exit", SignalSide.CLOSE_SHORT, 30, "le"),
321
+ )
322
+ ]
323
+
324
+ position_sizes = [PositionSize(symbol="BTC", percentage_of_portfolio=20)]
325
+ stop_losses = [
326
+ StopLossRule(
327
+ symbol="BTC",
328
+ percentage_threshold=5,
329
+ sell_percentage=100,
330
+ )
331
+ ]
332
+ take_profits = [
333
+ TakeProfitRule(
334
+ symbol="BTC",
335
+ percentage_threshold=10,
336
+ sell_percentage=100,
337
+ )
338
+ ]
339
+ cooldowns = [CooldownRule(trigger="any", blocks="any", bars=2)]
340
+ ```
341
+
342
+ The framework evaluates each card's explicit `side` and score threshold, then
343
+ routes qualifying signals through the same sizing, risk, execution, and cooldown
344
+ pipeline as custom signals. Event mode also records decision traces. The four
345
+ cards above cover long entry and exit plus short entry and cover.
346
+
347
+ See the [declarative confluence strategy example](examples/framework_features/two_hour_confluence_strategy.py)
348
+ for callable indicators, staged scale-ins, and execution-engine limitations.
213
349
 
214
350
  Fees and slippage belong to the portfolio or backtest study because they describe
215
351
  a venue or scenario rather than signal logic.