7373 "hk_etf_regime_rotation" ,
7474 }
7575)
76- EXPECTED_IBKR_PROFILES = EXPECTED_IBKR_ENABLED_PROFILES | HK_DISABLED_PROFILES
76+ EXPECTED_IBKR_PROFILES = EXPECTED_IBKR_ENABLED_PROFILES
7777
7878
7979def runtime_target_json (
@@ -701,30 +701,6 @@ def test_platform_profile_status_matrix_matches_current_ibkr_rollout():
701701 assert by_profile ["nasdaq_sp500_smart_dca" ]["display_name" ] == "Nasdaq/S&P 500 Smart DCA"
702702 assert by_profile ["nasdaq_sp500_smart_dca" ]["eligible" ] is True
703703 assert by_profile ["nasdaq_sp500_smart_dca" ]["enabled" ] is True
704- assert by_profile ["hk_blue_chip_leader_rotation" ] == {
705- "canonical_profile" : "hk_blue_chip_leader_rotation" ,
706- "display_name" : "HK Blue Chip Leader Rotation" ,
707- "domain" : "hk_equity" ,
708- "eligible" : True ,
709- "enabled" : False ,
710- "platform" : "ibkr" ,
711- }
712- assert by_profile ["hk_index_mean_reversion" ] == {
713- "canonical_profile" : "hk_index_mean_reversion" ,
714- "display_name" : "HK Index Mean Reversion" ,
715- "domain" : "hk_equity" ,
716- "eligible" : True ,
717- "enabled" : False ,
718- "platform" : "ibkr" ,
719- }
720- assert by_profile ["hk_etf_regime_rotation" ] == {
721- "canonical_profile" : "hk_etf_regime_rotation" ,
722- "display_name" : "HK ETF Regime Rotation" ,
723- "domain" : "hk_equity" ,
724- "eligible" : True ,
725- "enabled" : False ,
726- "platform" : "ibkr" ,
727- }
728704 assert by_profile ["hk_listed_global_etf_rotation" ] == {
729705 "canonical_profile" : "hk_listed_global_etf_rotation" ,
730706 "display_name" : "HK-listed Global ETF Rotation" ,
@@ -733,6 +709,8 @@ def test_platform_profile_status_matrix_matches_current_ibkr_rollout():
733709 "enabled" : True ,
734710 "platform" : "ibkr" ,
735711 }
712+ for profile in HK_DISABLED_PROFILES :
713+ assert profile not in by_profile
736714
737715
738716def test_print_strategy_profile_status_json_matches_registry ():
@@ -774,12 +752,9 @@ def test_print_strategy_profile_status_json_matches_registry():
774752 assert by_profile ["mega_cap_leader_rotation_top50_balanced" ]["input_mode" ] == "feature_snapshot"
775753 assert by_profile ["mega_cap_leader_rotation_top50_balanced" ]["requires_snapshot_artifacts" ] is True
776754 assert by_profile ["mega_cap_leader_rotation_top50_balanced" ]["requires_strategy_config_path" ] is False
777- assert by_profile ["hk_blue_chip_leader_rotation" ]["profile_group" ] == "snapshot_backed"
778- assert by_profile ["hk_blue_chip_leader_rotation" ]["input_mode" ] == "feature_snapshot"
779- assert by_profile ["hk_blue_chip_leader_rotation" ]["requires_snapshot_artifacts" ] is True
780- assert by_profile ["hk_blue_chip_leader_rotation" ]["requires_snapshot_manifest_path" ] is True
781- assert by_profile ["hk_blue_chip_leader_rotation" ]["requires_strategy_config_path" ] is False
782- for profile in ("hk_index_mean_reversion" , "hk_etf_regime_rotation" , "hk_listed_global_etf_rotation" ):
755+ for profile in ("hk_blue_chip_leader_rotation" , "hk_index_mean_reversion" , "hk_etf_regime_rotation" ):
756+ assert profile not in by_profile
757+ for profile in ("hk_listed_global_etf_rotation" ,):
783758 assert by_profile [profile ]["profile_group" ] == "direct_runtime_inputs"
784759 assert by_profile [profile ]["input_mode" ] == "market_history"
785760 assert by_profile [profile ]["requires_snapshot_artifacts" ] is False
@@ -802,16 +777,13 @@ def test_print_strategy_profile_status_table_contains_expected_headers():
802777 assert "input_mode" in result .stdout
803778 assert "requires_snapshot_artifacts" in result .stdout
804779 assert "global_etf_rotation" in result .stdout
805- assert "hk_blue_chip_leader_rotation" in result .stdout
806- assert "hk_index_mean_reversion" in result .stdout
807- assert "hk_etf_regime_rotation" in result .stdout
808780 assert "hk_listed_global_etf_rotation" in result .stdout
809781 assert "Tech/Communication Pullback Enhancement" in result .stdout
810- assert "HK Blue Chip Leader Rotation" in result .stdout
811- assert "HK Index Mean Reversion" in result .stdout
812- assert "HK ETF Regime Rotation" in result .stdout
813782 assert "HK-listed Global ETF Rotation" in result .stdout
814783 assert "TQQQ Growth Income" in result .stdout
784+ assert "hk_blue_chip_leader_rotation" not in result .stdout
785+ assert "hk_index_mean_reversion" not in result .stdout
786+ assert "hk_etf_regime_rotation" not in result .stdout
815787
816788
817789def test_print_strategy_switch_env_plan_for_tqqq_growth_income ():
0 commit comments