知微
|
9fef32413b
|
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
|
2026-07-08 23:54:01 +08:00 |
|
知微
|
b3bedc8024
|
migrate: remove JSON, DB-only — mo_data, server, scripts, prompts (27 files)
|
2026-07-03 12:12:05 +08:00 |
|
知微
|
69c6c5633a
|
feat: 筹码S/R集成到reassess_strategy
- calc_chip_sr(): 从筹码分布计算支撑/阻力
- reassess_strategy新增筹码S/R输出+共振检测
- 止损用枢轴(短期),目标参考筹码(中线)
- 两者差距<3%时标记共振⚡
|
2026-07-02 00:57:54 +08:00 |
|
知微
|
7f8b27df3b
|
feat: 筹码因子模块 + 分钟K线 + 历史数据回填
scripts/chip_factors.py:
- _build_chip_distribution(): 从60日日线OHLCV估算筹码分布
- calc_all(): 计算三大筹码因子(穿透率/当日穿透率/乖离率)
- batch_calc(): 批量计算全部持仓+自选
- chip_cache/: 缓存每日筹码状态(支持因子滚动计算)
mo_provider.py:
- get_minute_kline(): 1分钟K线获取(1s限流, 单次最多240条)
首次运行结果: 33只股票完成筹码分布计算
最高亏损筹码占比: 万科99.5% 神华98.6% 比亚迪股份98.7%
最低亏损筹码占比: 建滔4.0% 药明康德2.1%
|
2026-07-02 00:36:35 +08:00 |
|