fix: DB路径大面积修复——mofin_db/server/technical_analysis/strategy_tree等脚本的Path(__file__).parent/data错误指向scripts/data而非data/ 导致读写分离

- 量价分析: full_analysis输出volume_deep+成交量存储在price_history.json
- FK约束移除: holding_strategies外键->holdings阻止自选股写入
- #000850 重评已写入(止损3.74/止盈4.06/RR1.67)含量价信号
This commit is contained in:
知微
2026-07-08 12:34:39 +08:00
parent c11a11849f
commit 2762ddf3ae
58 changed files with 7664 additions and 2280 deletions
+9 -117
View File
@@ -1,122 +1,14 @@
{
"checked_at": "2026-07-07T10:22:06",
"total_active": 19,
"flagged_count": 7,
"flagged": [
{
"code": "000700",
"name": "模塑科技",
"price": 17.22,
"flags": [
"现价17.22在买入区16~18(是否可买需结合timing_signal判断)"
],
"age_days": 3,
"last_update": "2026-07-06 11:07:37",
"entry_zone": "16~18",
"current": "盈利良好 | ⚠️盈亏比极低,关注 | 止损16.7 | 目标0 | 买入区15.5~18.08 | 信号:持有",
"updated_by": "auto",
"updated_reason": "自动生成",
"is_watchlist": true
},
{
"code": "00700",
"name": "腾讯",
"price": 497.35,
"flags": [
"价格距买入区中心32% 需关注"
],
"age_days": 3,
"last_update": "2026-07-03 11:16:48",
"entry_zone": "371~386",
"current": "盈利持有 | ⚠️盈亏比不足1:1.5,不建议买入 | 损363.06 | 盈0 | 买370.63~385.75",
"updated_by": "auto",
"updated_reason": "自动生成",
"is_watchlist": false
},
{
"code": "01088",
"name": "中国神华",
"price": 46.14,
"flags": [
"价格距买入区中心36% 需关注"
],
"age_days": 3,
"last_update": "2026-07-03 11:16:48",
"entry_zone": "31~36",
"current": "持有观察 | ⚠️盈亏比极低,关注 | 止损33.67 | 目标0 | 买入区31.24~36.45 | 信号:持有",
"updated_by": "auto",
"updated_reason": "自动生成",
"is_watchlist": false
},
{
"code": "01211",
"name": "比亚迪股份",
"price": 97.0,
"flags": [
"价格距买入区中心39% 需关注"
],
"age_days": 3,
"last_update": "2026-07-03 11:16:48",
"entry_zone": "64~75",
"current": "深套持有 | 深套持有 | 止损64.29 | 目标0 | 买入区64.22~74.92 | 信号:持有",
"updated_by": "auto",
"updated_reason": "自动生成",
"is_watchlist": false
},
{
"code": "01888",
"name": "建滔积层板",
"price": 73.3,
"flags": [
"现价73.30在买入区67~78(是否可买需结合timing_signal判断)"
],
"age_days": 3,
"last_update": "2026-07-06 11:07:37",
"entry_zone": "67~78",
"current": "持有观察 | ⚠️盈亏比极低,关注 | 止损64.14 | 目标0 | 买入区67.27~78.48 | 信号:持有",
"updated_by": "auto",
"updated_reason": "自动生成",
"is_watchlist": true
},
{
"code": "02202",
"name": "万科企业",
"price": 2.7,
"flags": [
"价格距买入区中心38% 需关注"
],
"age_days": 3,
"last_update": "2026-07-03 11:16:49",
"entry_zone": "2~2",
"current": "深套持有 | 深套持有 | 止损1.9 | 目标0 | 买入区1.81~2.11 | 信号:持有",
"updated_by": "auto",
"updated_reason": "自动生成",
"is_watchlist": false
},
{
"code": "300548",
"name": "长芯博创",
"price": 228.23,
"flags": [
"现价228.23在买入区205~240(是否可买需结合timing_signal判断)"
],
"age_days": 3,
"last_update": "2026-07-06 11:01:50",
"entry_zone": "205~240",
"current": "持有观察 | ⚠️盈亏比极低,关注 | 止损221.38 | 目标0 | 买入区205.41~239.64 | 信号:持有",
"updated_by": "auto",
"updated_reason": "自动生成",
"is_watchlist": true
}
],
"checked_at": "2026-07-08T09:00:59",
"total_active": 0,
"flagged_count": 0,
"flagged": [],
"portfolio": {
"position_pct": 65.89,
"position_pct": 65.65,
"cash": 321271.0,
"weak_position_pct": 71.4,
"all_weak_pct": 63.2,
"signals": [
"[PORTFOLIO_WEAK] 组合中弱势+深套分类持仓占比71.4%>40%,建议系统性减仓"
]
"weak_position_pct": 0,
"all_weak_pct": 0,
"signals": []
},
"summary": "扫描19个策略,7个需关注"
"summary": "扫描0个策略,0个需关注"
}