diff --git a/requirements.txt b/requirements.txt index 7d13ea2..81cc5e3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ flask gunicorn quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@46ca4ea3de8f98a58e2dd86158e7f2070d085cd1 -us-equity-strategies @ git+https://github.com/QuantStrategyLab/UsEquityStrategies.git@4e638c5fc880253bf22e2e056630fbce6588256a +us-equity-strategies @ git+https://github.com/QuantStrategyLab/UsEquityStrategies.git@173b8abbabc6a281b4707e100d248eae99e1f9d5 hk-equity-strategies @ git+https://github.com/QuantStrategyLab/HkEquityStrategies.git@ec54c685b7dbea931016854db081b8eeaaaef7d2 pandas numpy diff --git a/tests/test_runtime_config_support.py b/tests/test_runtime_config_support.py index 2099ef9..ceaf283 100644 --- a/tests/test_runtime_config_support.py +++ b/tests/test_runtime_config_support.py @@ -800,9 +800,9 @@ def test_print_strategy_profile_status_json_matches_registry(): for row in rows ] == get_platform_profile_status_matrix() by_profile = {row["canonical_profile"]: row for row in rows} - assert by_profile["global_etf_rotation"]["profile_group"] == "direct_runtime_inputs" - assert by_profile["global_etf_rotation"]["input_mode"] == "market_history" - assert by_profile["global_etf_rotation"]["requires_snapshot_artifacts"] is False + assert by_profile["global_etf_rotation"]["profile_group"] == "snapshot_backed" + assert by_profile["global_etf_rotation"]["input_mode"] == "feature_snapshot" + assert by_profile["global_etf_rotation"]["requires_snapshot_artifacts"] is True assert by_profile["global_etf_rotation"]["requires_strategy_config_path"] is False assert by_profile["nasdaq_sp500_smart_dca"]["profile_group"] == "direct_runtime_inputs" assert by_profile["nasdaq_sp500_smart_dca"]["input_mode"] == "market_history+portfolio_snapshot" diff --git a/tests/test_strategy_loader.py b/tests/test_strategy_loader.py index fc3bf3d..47e198d 100644 --- a/tests/test_strategy_loader.py +++ b/tests/test_strategy_loader.py @@ -17,7 +17,7 @@ def test_load_strategy_entrypoint_for_profile_resolves_global_etf_rotation(monke entrypoint = load_strategy_entrypoint_for_profile("global_etf_rotation") assert entrypoint.manifest.profile == "global_etf_rotation" - assert "market_history" in entrypoint.manifest.required_inputs + assert "feature_snapshot" in entrypoint.manifest.required_inputs def test_load_strategy_entrypoint_for_profile_rejects_research_only_tech_communication_pullback(monkeypatch): @@ -125,7 +125,7 @@ def test_load_strategy_runtime_adapter_for_profile_resolves_global_etf_rotation_ adapter = load_strategy_runtime_adapter_for_profile("global_etf_rotation") - assert adapter.available_inputs == frozenset({"market_history"}) + assert adapter.available_inputs == frozenset({"feature_snapshot"}) assert adapter.available_capabilities == frozenset({"broker_client"})