From 0c7f9b101587f82018de27cc195dbc7da23eaa13 Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Wed, 3 Jun 2026 17:41:16 +0800 Subject: [PATCH] fix: keep tech communication profile research-only --- docs/market-regime-control-plan.md | 2 +- docs/market-regime-control-plan.zh-CN.md | 2 +- src/quant_strategy_plugins/strategy_plugin_runner.py | 9 --------- tests/test_strategy_plugin_runner.py | 1 - 4 files changed, 2 insertions(+), 12 deletions(-) diff --git a/docs/market-regime-control-plan.md b/docs/market-regime-control-plan.md index 658091e..26fc625 100644 --- a/docs/market-regime-control-plan.md +++ b/docs/market-regime-control-plan.md @@ -115,7 +115,7 @@ Recommended policy: `position_control`. SOXL keeps its own reviewed SOXX trend and volatility de-leveraging gates. Macro, crisis, and OSINT signals are delivered as general notifications for manual review. -- Global ETF, Russell 1000, Tech/Communication, and Mega Cap rotation +- Global ETF, Russell 1000, and Mega Cap rotation strategies Support the unified plugin by default. `risk_reduced` should apply a 50% risk budget scale; `risk_off` should zero the risk-asset budget. diff --git a/docs/market-regime-control-plan.zh-CN.md b/docs/market-regime-control-plan.zh-CN.md index 103429d..aee3200 100644 --- a/docs/market-regime-control-plan.zh-CN.md +++ b/docs/market-regime-control-plan.zh-CN.md @@ -78,7 +78,7 @@ 默认消费 `position_control`。`risk_off` 降到现金类或非风险资产;`risk_reduced` 按策略配置降低杠杆或风险预算;TACO 只触发人工复核和本地 veto。 - SOXL/SOXX 趋势收益策略 不默认挂载统一插件,也不消费 `position_control`。SOXL 继续只使用已经通过复核的 SOXX 自身趋势和波动率降杠杆门;宏观、危机和 OSINT 信号只进入通用通知,由人工决定是否干预。 -- Global ETF、Russell 1000、Tech/Communication、Mega Cap 类轮动策略 +- Global ETF、Russell 1000、Mega Cap 类轮动策略 默认支持统一插件。`risk_reduced` 建议做 50% 风险预算缩放,`risk_off` 建议归零风险资产预算。 - DCA 或收入型低频策略 默认 notification-only,允许用户显式开启仓位影响。 diff --git a/src/quant_strategy_plugins/strategy_plugin_runner.py b/src/quant_strategy_plugins/strategy_plugin_runner.py index 52796f4..0ec9fce 100644 --- a/src/quant_strategy_plugins/strategy_plugin_runner.py +++ b/src/quant_strategy_plugins/strategy_plugin_runner.py @@ -127,15 +127,6 @@ class PluginNotificationTargetPolicy: since_version="strategy_plugins.v1", description="Local risk-scaling consumer for the Russell 1000 defensive sleeve.", ), - PluginConsumptionPolicy( - plugin=PLUGIN_MARKET_REGIME_CONTROL, - strategy="tech_communication_pullback_enhancement", - notification_allowed=True, - position_control_allowed=True, - evidence_status=EVIDENCE_AUTOMATION_APPROVED, - since_version="strategy_plugins.v1", - description="Local risk-scaling consumer for the tech/communication pullback profile.", - ), PluginConsumptionPolicy( plugin=PLUGIN_MARKET_REGIME_CONTROL, strategy="mega_cap_leader_rotation_top50_balanced", diff --git a/tests/test_strategy_plugin_runner.py b/tests/test_strategy_plugin_runner.py index 20ac01c..c37a0f7 100644 --- a/tests/test_strategy_plugin_runner.py +++ b/tests/test_strategy_plugin_runner.py @@ -425,7 +425,6 @@ def test_strategy_plugin_runner_contract_registry_prefers_unified_plugin() -> No STRATEGY_NAME, "global_etf_rotation", "russell_1000_multi_factor_defensive", - "tech_communication_pullback_enhancement", "mega_cap_leader_rotation_top50_balanced", } assert set(PLUGIN_COMPATIBLE_NOTIFICATION_TARGETS[PLUGIN_MARKET_REGIME_CONTROL]) == {