fix: 补上候选池初始化(anchor丢失导致500)——三状态模型完整可用

This commit is contained in:
xxm
2026-08-15 13:12:40 +08:00
parent aba860131d
commit 37364086b7
+6
View File
@@ -628,6 +628,12 @@ def api_research_strategies():
_c2.close()
except Exception:
pass
_candidate_pool = set()
try:
from hk_strategies import HK_STRATEGIES as _HKS
_candidate_pool |= set(_HKS.keys())
except Exception:
pass
_candidate_pool |= set(_regime_winrates.keys())
for s in strats:
# 2026-08-15 温区加权综合/普适:整体行的综合/普适 = 按温区时长占比加权各温区表现