Skip to content

Commit eab6b6e

Browse files
authored
Bump us equity strategies to 0.7.52
1 parent 014356b commit eab6b6e

2 files changed

Lines changed: 5 additions & 5 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@v0.7.37
4-
us-equity-strategies @ git+https://github.com/QuantStrategyLab/UsEquityStrategies.git@v0.7.51
4+
us-equity-strategies @ git+https://github.com/QuantStrategyLab/UsEquityStrategies.git@v0.7.52
55
pandas
66
requests
77
pandas_market_calendars

‎tests/test_decision_mapper.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def test_applies_platform_reserved_cash_floor_for_weight_targets(self):
106106
plan = map_strategy_decision_to_plan(
107107
decision,
108108
snapshot=snapshot,
109-
strategy_profile="tech_communication_pullback_enhancement",
109+
strategy_profile="mega_cap_leader_rotation_top50_balanced",
110110
runtime_metadata={
111111
"schwab_execution_policy": {
112112
"reserved_cash_floor_usd": 150.0,
@@ -132,7 +132,7 @@ def test_zero_equity_weight_targets_no_execute_instead_of_translation_error(self
132132
plan = map_strategy_decision_to_plan(
133133
decision,
134134
snapshot=snapshot,
135-
strategy_profile="tech_communication_pullback_enhancement",
135+
strategy_profile="mega_cap_leader_rotation_top50_balanced",
136136
)
137137

138138
self.assertEqual(plan["allocation"]["target_mode"], "value")
@@ -201,7 +201,7 @@ def test_soxl_profile_keeps_strategy_reserve_without_platform_floor(self):
201201

202202
self.assertEqual(plan["execution"]["reserved_cash"], 35.27)
203203

204-
def test_translates_weight_targets_for_tech_communication_pullback_enhancement(self):
204+
def test_translates_weight_targets_for_mega_cap_leader_rotation(self):
205205
snapshot = SimpleNamespace(
206206
total_equity=100000.0,
207207
buying_power=20000.0,
@@ -226,7 +226,7 @@ def test_translates_weight_targets_for_tech_communication_pullback_enhancement(s
226226
plan = map_strategy_decision_to_plan(
227227
decision,
228228
snapshot=snapshot,
229-
strategy_profile="tech_communication_pullback_enhancement",
229+
strategy_profile="mega_cap_leader_rotation_top50_balanced",
230230
)
231231

232232
self.assertEqual(plan["allocation"]["target_mode"], "value")

0 commit comments

Comments
 (0)