1616from hk_equity_strategies .runtime_adapters import (
1717 describe_platform_runtime_requirements as describe_hk_platform_runtime_requirements ,
1818)
19- from quant_us_combo_strategies import (
20- get_platform_runtime_adapter as get_combo_runtime_adapter ,
21- get_runtime_enabled_profiles as get_combo_runtime_enabled_profiles ,
22- get_strategy_catalog as get_combo_strategy_catalog ,
23- )
24- from quant_us_combo_strategies .runtime_adapters import (
25- describe_platform_runtime_requirements as describe_combo_platform_runtime_requirements ,
26- )
2719
2820from quant_platform_kit .common .strategies import (
2921 PlatformCapabilityMatrix ,
4335
4436LONGBRIDGE_PLATFORM = "longbridge"
4537HK_EQUITY_DOMAIN = "hk_equity"
46- COMBOS_DOMAIN = "quant_combo"
4738TECH_COMMUNICATION_PULLBACK_PROFILE = "tech_communication_pullback_enhancement"
4839HK_DIVIDEND_GOLD_DEFENSIVE_ROTATION_PROFILE = "hk_dividend_gold_defensive_rotation"
4940
5041PLATFORM_SUPPORTED_DOMAINS : dict [str , frozenset [str ]] = {
51- LONGBRIDGE_PLATFORM : frozenset ({US_EQUITY_DOMAIN , HK_EQUITY_DOMAIN , COMBOS_DOMAIN }),
42+ LONGBRIDGE_PLATFORM : frozenset ({US_EQUITY_DOMAIN , HK_EQUITY_DOMAIN }),
5243}
5344
5445
@@ -87,31 +78,23 @@ def _canonical_profile(profile: str | None) -> str:
8778 return STRATEGY_CATALOG .profile_aliases .get (normalized , normalized )
8879
8980
90- COMBO_STRATEGY_PROFILES = frozenset (get_combo_strategy_catalog ().definitions )
91-
92-
9381def get_platform_runtime_adapter (profile : str | None , * , platform_id : str ):
9482 canonical_profile = _canonical_profile (profile )
9583 if canonical_profile in HK_STRATEGY_PROFILES :
9684 return get_hk_platform_runtime_adapter (canonical_profile , platform_id = platform_id )
97- if canonical_profile in COMBO_STRATEGY_PROFILES :
98- return get_combo_runtime_adapter (canonical_profile , platform_id = platform_id )
9985 return get_us_platform_runtime_adapter (canonical_profile , platform_id = platform_id )
10086
10187
10288def describe_platform_runtime_requirements (profile : str | None , * , platform_id : str ) -> dict [str , object ]:
10389 canonical_profile = _canonical_profile (profile )
10490 if canonical_profile in HK_STRATEGY_PROFILES :
10591 return describe_hk_platform_runtime_requirements (canonical_profile , platform_id = platform_id )
106- if canonical_profile in COMBO_STRATEGY_PROFILES :
107- return describe_combo_platform_runtime_requirements (canonical_profile , platform_id = platform_id )
10892 return describe_us_platform_runtime_requirements (canonical_profile , platform_id = platform_id )
10993
11094
11195US_STRATEGY_CATALOG = get_us_strategy_catalog ()
11296HK_STRATEGY_CATALOG = get_hk_strategy_catalog ()
113- COMBO_STRATEGY_CATALOG = get_combo_strategy_catalog ()
114- STRATEGY_CATALOG = _merge_strategy_catalogs (US_STRATEGY_CATALOG , HK_STRATEGY_CATALOG , COMBO_STRATEGY_CATALOG )
97+ STRATEGY_CATALOG = _merge_strategy_catalogs (US_STRATEGY_CATALOG , HK_STRATEGY_CATALOG )
11598US_STRATEGY_PROFILES = frozenset (US_STRATEGY_CATALOG .definitions )
11699HK_STRATEGY_PROFILES = frozenset (HK_STRATEGY_CATALOG .definitions )
117100LONGBRIDGE_EXCLUDED_LIVE_PROFILES = frozenset (
@@ -121,7 +104,7 @@ def describe_platform_runtime_requirements(profile: str | None, *, platform_id:
121104 }
122105)
123106LONGBRIDGE_ROLLOUT_ALLOWLIST = (
124- get_us_runtime_enabled_profiles () | get_hk_runtime_enabled_profiles () | get_combo_runtime_enabled_profiles ()
107+ get_us_runtime_enabled_profiles () | get_hk_runtime_enabled_profiles ()
125108) - LONGBRIDGE_EXCLUDED_LIVE_PROFILES
126109PLATFORM_CAPABILITY_MATRIX = PlatformCapabilityMatrix (
127110 platform_id = LONGBRIDGE_PLATFORM ,
0 commit comments