Skip to content

Commit c6eb488

Browse files
authored
Update global ETF snapshot runtime pin (#199)
1 parent 3643541 commit c6eb488

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
flask
22
gunicorn
33
quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@46ca4ea3de8f98a58e2dd86158e7f2070d085cd1
4-
us-equity-strategies @ git+https://github.com/QuantStrategyLab/UsEquityStrategies.git@4e638c5fc880253bf22e2e056630fbce6588256a
4+
us-equity-strategies @ git+https://github.com/QuantStrategyLab/UsEquityStrategies.git@173b8abbabc6a281b4707e100d248eae99e1f9d5
55
hk-equity-strategies @ git+https://github.com/QuantStrategyLab/HkEquityStrategies.git@ec54c685b7dbea931016854db081b8eeaaaef7d2
66
pandas
77
numpy

tests/test_runtime_config_support.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -800,9 +800,9 @@ def test_print_strategy_profile_status_json_matches_registry():
800800
for row in rows
801801
] == get_platform_profile_status_matrix()
802802
by_profile = {row["canonical_profile"]: row for row in rows}
803-
assert by_profile["global_etf_rotation"]["profile_group"] == "direct_runtime_inputs"
804-
assert by_profile["global_etf_rotation"]["input_mode"] == "market_history"
805-
assert by_profile["global_etf_rotation"]["requires_snapshot_artifacts"] is False
803+
assert by_profile["global_etf_rotation"]["profile_group"] == "snapshot_backed"
804+
assert by_profile["global_etf_rotation"]["input_mode"] == "feature_snapshot"
805+
assert by_profile["global_etf_rotation"]["requires_snapshot_artifacts"] is True
806806
assert by_profile["global_etf_rotation"]["requires_strategy_config_path"] is False
807807
assert by_profile["nasdaq_sp500_smart_dca"]["profile_group"] == "direct_runtime_inputs"
808808
assert by_profile["nasdaq_sp500_smart_dca"]["input_mode"] == "market_history+portfolio_snapshot"

tests/test_strategy_loader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def test_load_strategy_entrypoint_for_profile_resolves_global_etf_rotation(monke
1717
entrypoint = load_strategy_entrypoint_for_profile("global_etf_rotation")
1818

1919
assert entrypoint.manifest.profile == "global_etf_rotation"
20-
assert "market_history" in entrypoint.manifest.required_inputs
20+
assert "feature_snapshot" in entrypoint.manifest.required_inputs
2121

2222

2323
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_
125125

126126
adapter = load_strategy_runtime_adapter_for_profile("global_etf_rotation")
127127

128-
assert adapter.available_inputs == frozenset({"market_history"})
128+
assert adapter.available_inputs == frozenset({"feature_snapshot"})
129129
assert adapter.available_capabilities == frozenset({"broker_client"})
130130

131131

0 commit comments

Comments
 (0)