Skip to content

Commit 300d6b9

Browse files
committed
fix: keep tech communication profile research-only
1 parent 77136f3 commit 300d6b9

4 files changed

Lines changed: 17 additions & 4 deletions

File tree

docs/strategy_plugin_runtime_contract.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ The default registry currently defines versioned plugin contracts:
7979

8080
| Plugin | Schema versions | Supported strategies | Status | Supported mode | Escalated alert channel |
8181
| --- | --- | --- | --- | --- | --- |
82-
| `market_regime_control` | `market_regime_control.v1` | `tqqq_growth_income`, `global_etf_rotation`, `russell_1000_multi_factor_defensive`, `tech_communication_pullback_enhancement`, `mega_cap_leader_rotation_top50_balanced` | default | `shadow` | `email`, `sms`, `push`, `telegram` |
82+
| `market_regime_control` | `market_regime_control.v1` | `tqqq_growth_income`, `global_etf_rotation`, `russell_1000_multi_factor_defensive`, `mega_cap_leader_rotation_top50_balanced` | default | `shadow` | `email`, `sms`, `push`, `telegram` |
8383
| `crisis_response_shadow` | `crisis_response_shadow.v1` | `tqqq_growth_income` | deprecated; successor `market_regime_control` | `shadow` | `email`, `sms`, `push`, `telegram` |
8484
| `macro_risk_governor` | `macro_risk_governor.v1` | `tqqq_growth_income` | deprecated; successor `market_regime_control` | `shadow` | `email`, `sms`, `push`, `telegram` |
8585
| `taco_rebound_shadow` | `taco_rebound_shadow.v2` | `tqqq_growth_income` | deprecated; successor `market_regime_control` | `shadow` | `email`, `sms`, `push`, `telegram` |
@@ -95,6 +95,9 @@ To expand a plugin later, update the shared definition or pass an explicit
9595
definition registry into the parser/loader. This keeps future plugin eligibility
9696
changes out of platform runtime code.
9797

98+
Tech/Communication Pullback Enhancement is also not listed because it is a research-only
99+
profile and should not appear in current configurable plugin mounts.
100+
98101
SOXL/SOXX is intentionally not listed as a `market_regime_control` runtime
99102
mount. Broad macro and crisis signals for SOXL should be delivered through a
100103
general `notification_targets.market_regime_notification` artifact and reviewed

docs/strategy_plugin_runtime_contract.zh-CN.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ artifact 内,并固定为通知/观察用途的 `shadow`。
7474

7575
| 插件 | Schema versions | 支持策略 | 状态 | 支持模式 | 升级告警通道 |
7676
| --- | --- | --- | --- | --- | --- |
77-
| `market_regime_control` | `market_regime_control.v1` | `tqqq_growth_income`, `global_etf_rotation`, `russell_1000_multi_factor_defensive`, `tech_communication_pullback_enhancement`, `mega_cap_leader_rotation_top50_balanced` | default | `shadow` | `email`, `sms`, `push`, `telegram` |
77+
| `market_regime_control` | `market_regime_control.v1` | `tqqq_growth_income`, `global_etf_rotation`, `russell_1000_multi_factor_defensive`, `mega_cap_leader_rotation_top50_balanced` | default | `shadow` | `email`, `sms`, `push`, `telegram` |
7878
| `crisis_response_shadow` | `crisis_response_shadow.v1` | `tqqq_growth_income` | deprecated; successor `market_regime_control` | `shadow` | `email`, `sms`, `push`, `telegram` |
7979
| `macro_risk_governor` | `macro_risk_governor.v1` | `tqqq_growth_income` | deprecated; successor `market_regime_control` | `shadow` | `email`, `sms`, `push`, `telegram` |
8080
| `taco_rebound_shadow` | `taco_rebound_shadow.v2` | `tqqq_growth_income` | deprecated; successor `market_regime_control` | `shadow` | `email`, `sms`, `push`, `telegram` |
@@ -88,6 +88,9 @@ artifact 内,并固定为通知/观察用途的 `shadow`。
8888
如果未来扩展插件支持范围,应更新共享 definition,或显式传入 definition
8989
registry 给 parser / loader。这样平台运行时代码不用承载未来插件资格变更。
9090

91+
Tech/Communication Pullback Enhancement 也不列入当前挂载清单,因为它已经降级为研究侧 profile,
92+
不应出现在当前可配置插件 profile 中。
93+
9194
SOXL/SOXX 故意不列入 `market_regime_control` 的运行时挂载清单。SOXL
9295
相关宏观和危机信号应通过通用
9396
`notification_targets.market_regime_notification` artifact 分发,并由人工复核;

src/quant_platform_kit/common/strategy_plugins.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"tqqq_growth_income",
3838
"global_etf_rotation",
3939
"russell_1000_multi_factor_defensive",
40-
"tech_communication_pullback_enhancement",
4140
"mega_cap_leader_rotation_top50_balanced",
4241
}
4342
)

tests/test_strategy_plugins.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,14 +219,22 @@ def test_default_plugin_definition_supports_market_regime_control_for_approved_s
219219
"tqqq_growth_income",
220220
"global_etf_rotation",
221221
"russell_1000_multi_factor_defensive",
222-
"tech_communication_pullback_enhancement",
223222
"mega_cap_leader_rotation_top50_balanced",
224223
):
225224
validate_strategy_plugin_compatibility(
226225
strategy=strategy,
227226
plugin=PLUGIN_MARKET_REGIME_CONTROL,
228227
mode=PLUGIN_MODE_SHADOW,
229228
)
229+
with self.assertRaisesRegex(
230+
ValueError,
231+
"market_regime_control does not support strategy tech_communication_pullback_enhancement",
232+
):
233+
validate_strategy_plugin_compatibility(
234+
strategy="tech_communication_pullback_enhancement",
235+
plugin=PLUGIN_MARKET_REGIME_CONTROL,
236+
mode=PLUGIN_MODE_SHADOW,
237+
)
230238
with self.assertRaisesRegex(
231239
ValueError,
232240
"market_regime_control does not support strategy soxl_soxx_trend_income",

0 commit comments

Comments
 (0)