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
+98 -2
View File
@@ -1,6 +1,6 @@
{
"last_updated": "2026-07-07 14:07",
"total_candidates": 31,
"last_updated": "2026-07-08 15:41",
"total_candidates": 34,
"sectors_analyzed_today": [
"半导体",
"金属新材料",
@@ -1483,6 +1483,102 @@
"drop_reason": null,
"trend_warning": false,
"trend_note": ""
},
{
"code": "000977",
"name": "浪潮信息",
"sector": "计算机设备",
"xiaoguo_score": 7,
"xiaoguo_reason": "AI服务器核心标的,订单与产能优势明显,但受供应链与毛利率压制;板块资金流出中仍显相对韧性,适合逢低布局算力基建主线。",
"xiaoguo_strategy": {
"entry_range": "38.5-40.2",
"stop_loss": "36.8",
"target": "45.0"
},
"verified_price": 78.17,
"verified_change": 10.01,
"added_at": "2026-07-08 15:09",
"last_updated": "2026-07-08 15:09",
"num_observations": 1,
"score_history": [
{
"date": "2026-07-08 15:09",
"score": 7
}
],
"zhiwei_star": null,
"zhiwei_reviewed": false,
"zhiwei_reviewed_at": null,
"promoted": false,
"promoted_at": null,
"dropped": false,
"drop_reason": null,
"trend_warning": false,
"trend_note": ""
},
{
"code": "603019",
"name": "中科曙光",
"sector": "计算机设备",
"xiaoguo_score": 7.5,
"xiaoguo_reason": "国产高性能计算与液冷技术龙头,政策与信创双重驱动,基本面稳健;波动率低于纯AI概念股,防御与进攻属性均衡。",
"xiaoguo_strategy": {
"entry_range": "42.0-43.5",
"stop_loss": "39.5",
"target": "48.0"
},
"verified_price": 98.15,
"verified_change": 4.97,
"added_at": "2026-07-08 15:09",
"last_updated": "2026-07-08 15:09",
"num_observations": 1,
"score_history": [
{
"date": "2026-07-08 15:09",
"score": 7.5
}
],
"zhiwei_star": null,
"zhiwei_reviewed": false,
"zhiwei_reviewed_at": null,
"promoted": false,
"promoted_at": null,
"dropped": false,
"drop_reason": null,
"trend_warning": false,
"trend_note": ""
},
{
"code": "000938",
"name": "紫光股份",
"sector": "计算机设备",
"xiaoguo_score": 6.5,
"xiaoguo_reason": "ICT基础设施全栈布局(服务器/交换机/存储),H3C整合推进中;估值处于历史中低位,但短期受板块情绪拖累,需等待资金回流确认。",
"xiaoguo_strategy": {
"entry_range": "28.0-29.5",
"stop_loss": "26.2",
"target": "33.0"
},
"verified_price": 33.62,
"verified_change": 6.8,
"added_at": "2026-07-08 15:09",
"last_updated": "2026-07-08 15:09",
"num_observations": 1,
"score_history": [
{
"date": "2026-07-08 15:09",
"score": 6.5
}
],
"zhiwei_star": null,
"zhiwei_reviewed": false,
"zhiwei_reviewed_at": null,
"promoted": false,
"promoted_at": null,
"dropped": false,
"drop_reason": null,
"trend_warning": false,
"trend_note": ""
}
]
}