Skip to content

Commit 8dabb39

Browse files
committed
Update IBKR managed symbol expectations
1 parent caf4ae2 commit 8dabb39

2 files changed

Lines changed: 20 additions & 2 deletions

File tree

tests/test_request_handling.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,16 @@ def test_execution_report_prefers_configured_managed_symbols_without_ranking_poo
322322
module = strategy_module_factory(STRATEGY_PROFILE="soxl_soxx_trend_income")
323323
report = module.build_execution_report(module.RUNTIME_LOG_CONTEXT.with_run("run-001"))
324324

325-
assert report["summary"]["managed_symbols"] == ["SOXL", "SOXX", "BOXX", "QQQI", "SPYI"]
325+
assert report["summary"]["managed_symbols"] == [
326+
"SOXL",
327+
"SOXX",
328+
"BOXX",
329+
"SCHD",
330+
"DGRO",
331+
"SGOV",
332+
"SPYI",
333+
"QQQI",
334+
]
326335
assert report["summary"]["safe_haven"] == "BIL"
327336
assert report["summary"]["execution_timing_contract"] == "next_trading_day"
328337

tests/test_strategy_loader.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,16 @@ def test_load_strategy_entrypoint_for_profile_resolves_tqqq_growth_income(monkey
5151
assert entrypoint.manifest.profile == "tqqq_growth_income"
5252
assert entrypoint.manifest.required_inputs == frozenset({"benchmark_history", "portfolio_snapshot"})
5353
assert entrypoint.manifest.default_config["benchmark_symbol"] == "QQQ"
54-
assert entrypoint.manifest.default_config["managed_symbols"] == ("TQQQ", "QQQ", "BOXX", "SPYI", "QQQI")
54+
assert entrypoint.manifest.default_config["managed_symbols"] == (
55+
"TQQQ",
56+
"QQQ",
57+
"BOXX",
58+
"SCHD",
59+
"DGRO",
60+
"SGOV",
61+
"SPYI",
62+
"QQQI",
63+
)
5564
assert entrypoint.manifest.default_config["attack_allocation_mode"] == "fixed_qqq_tqqq_pullback"
5665

5766

0 commit comments

Comments
 (0)