diff --git a/application/rebalance_service.py b/application/rebalance_service.py index b2eb983..1662a44 100644 --- a/application/rebalance_service.py +++ b/application/rebalance_service.py @@ -47,6 +47,7 @@ required_semiconductor_rotation_history_lookback, ) from quant_platform_kit.common.strategy_plugins import ( + attach_strategy_plugin_metadata, build_strategy_plugin_report_payload, load_configured_strategy_plugin_signals, parse_strategy_plugin_mounts, @@ -327,6 +328,7 @@ def run_strategy_cycle( portfolio_port = broker_adapters.build_portfolio_port() execution_port = broker_adapters.build_execution_port() snapshot = portfolio_port.get_portfolio_snapshot() + snapshot = attach_strategy_plugin_metadata(snapshot, strategy_plugin_signals) available_inputs = set(strategy_runtime.runtime_adapter.available_inputs) benchmark_symbol = str(strategy_runtime.merged_runtime_config.get("benchmark_symbol", "QQQ")) diff --git a/requirements.txt b/requirements.txt index 5feff74..849a30c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ flask gunicorn firstrade==0.0.38 -quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@ceb84a366ed1bf9a53292ff2c73e06b4baac05e2 -us-equity-strategies @ git+https://github.com/QuantStrategyLab/UsEquityStrategies.git@f2ebae8aacd8c70292c5b6115a80c6657e64ad1f +quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@86d72631c76f27c668b234704b91241bec8fa9ee +us-equity-strategies @ git+https://github.com/QuantStrategyLab/UsEquityStrategies.git@5f04e85e89862fdcfa8d90e745340eabdbbe3c86 google-cloud-storage requests pytest