fix: 全面系统修复 — delivery目标修正 + 脚本同步 + refresh_mtf_cache import修复 + clean_watchlist硬编码修复

修复清单:
- cron delivery修正:10个job从deliver=origin/all改为local,消除推送错误
- refresh_mtf_cache.py:替换strategy_lifecycle.PORTFOLIO_PATH导入为mofin_db直接读DB
- clean_watchlist.py:修复mo_data导入名错误和JSON硬编码路径
- MoFin/scripts/与profile scripts互相补全,双向sync到一致
- price_monitor.py:现金源从portfolio_summary表改为cash_log(Dad确认的现金权威)
- 更新watchlist.json加入000850华茂股份
This commit is contained in:
知微
2026-07-06 14:01:54 +08:00
parent 3e2f0315eb
commit 66962ae190
62 changed files with 23364 additions and 83 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"updated_at": "2026-07-06T13:53:16.310069",
"phase1": {
"correct": 0,
"wrong": 0,
"pending": 0,
"accuracy_pct": 0.0
},
"phase2": {
"correct": 0,
"wrong": 0,
"pending": 0,
"accuracy_pct": 0.0
},
"total_evaluated": 0,
"details": []
}
+3
View File
@@ -0,0 +1,3 @@
{
"decisions": []
}
+55
View File
@@ -0,0 +1,55 @@
{
"collected_at": "2026-07-03T20:30:31.976219",
"total_stocks": 0,
"summary": {
"up_count": 0,
"down_count": 0,
"deep_loss_count": 0,
"holdings_count": 0,
"watchlist_count": 0
},
"index_data": {
"上证指数": {
"price": 4043.64,
"prev_close": 4028.9,
"change_pct": 0.37,
"high": 4073.88,
"low": 4027.26,
"timestamp": "20260703161448"
},
"深证成指": {
"price": 15597.51,
"prev_close": 15498.81,
"change_pct": 0.64,
"high": 15823.05,
"low": 15432.89,
"timestamp": "20260703161436"
},
"创业板指": {
"price": 4019.93,
"prev_close": 4017.27,
"change_pct": 0.07,
"high": 4115.63,
"low": 3985.36,
"timestamp": "20260703161451"
},
"恒生指数": {
"price": 23350.03,
"prev_close": 23055.03,
"change_pct": 1.28,
"high": 23516.7,
"low": 23226.2,
"timestamp": "2026/07/03 18:31:15"
},
"恒生科技": {
"price": 4499.0,
"prev_close": 4454.28,
"change_pct": 1.0,
"high": 4558.09,
"low": 4480.58,
"timestamp": "2026/07/03 16:08:34"
}
},
"sector_groups": {},
"stocks": []
}
+1
View File
@@ -0,0 +1 @@
/home/hmo/MoFin/data/mofin.db
File diff suppressed because it is too large Load Diff