refactor: 统一价格入口 mo_data.get_price() - 22个脚本移除自拉腾讯API

所有价格获取统一走 mo_data.get_price() / get_prices_batch():
  - 优先读 live_prices(DB) → 无/过期才调 stock_quote(API) → 自动写回DB
  - 22个脚本全部替换:branch_scanner chip_factors divergence_detector
    market_screener mo_provider mofin_collect monitor_300308 300308_monitor
    multi_timeframe refresh_macro_context stale_detector stale_push_wlin
    stock_profile strategy_evaluator strategy_lifecycle strategy_review
    strategy-staleness-check technical_analysis xiaoguo_signal_consumer
    collect_evaluation_data
This commit is contained in:
知微
2026-07-08 23:54:01 +08:00
parent 0e21a3ae83
commit 9fef32413b
46 changed files with 5530 additions and 21994 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ strategy_tree.py — 情景化多分支策略决策引擎
→ success_rate < 30% 且触发≥5次 → 自动标记 pruning_candidate
→ 每周 pruning 时剪掉低效分支
数据存在 decisions.json 的 strategy_tree 字段。
数据存在 holding_strategies.strategy_tree 字段。
"""
import json, os, sys, re