知微
3e2f0315eb
完全DB版: 移除JSON写入/回退,所有操作直走SQLite
- price_monitor: 完全DB版,不再读写 portfolio.json/watchlist.json
- holdings代码从DB读取(SELECT code FROM holdings WHERE is_active=1)
- 价格写入DB holdings表 + portfolio_summary + live_prices
- 3次重试+指数退避防锁
- server.py: 移除API的JSON回退,DB失败直接返回500
- mofin_db.py: execute_with_retry/commit_with_retry + 15s timeout + busy_timeout
- mo_data.py: 已是纯DB模式(无JSON fallback)
这是推进的完全DB化。下一步可删除 data/portfolio.json data/decisions.json data/watchlist.json 等遗留JSON。
2026-07-06 12:08:08 +08:00
..
2026-07-02 00:57:54 +08:00
2026-06-20 12:04:21 +08:00
2026-07-06 12:02:11 +08:00
2026-06-28 00:12:31 +08:00
2026-06-20 12:04:21 +08:00
2026-07-02 13:46:53 +08:00
2026-07-03 17:13:19 +08:00
2026-06-20 12:04:21 +08:00
2026-06-20 12:04:21 +08:00
2026-06-20 12:04:21 +08:00
2026-06-20 12:04:21 +08:00
2026-07-06 12:02:11 +08:00
2026-06-24 17:24:45 +08:00
2026-06-20 12:04:21 +08:00
2026-06-29 21:39:06 +08:00
2026-06-20 12:04:21 +08:00
2026-06-26 23:17:21 +08:00
2026-06-20 12:04:21 +08:00
2026-07-03 13:44:10 +08:00
2026-06-20 12:04:21 +08:00
2026-07-06 12:08:08 +08:00
2026-06-24 10:29:45 +08:00
2026-07-03 23:53:04 +08:00
2026-07-06 12:02:11 +08:00
2026-06-20 12:04:21 +08:00
2026-06-20 12:04:21 +08:00
2026-06-20 12:04:21 +08:00
2026-06-20 12:04:21 +08:00
2026-07-03 09:31:27 +08:00
2026-06-20 12:04:21 +08:00
2026-06-20 12:04:21 +08:00
2026-07-01 23:45:30 +08:00
2026-07-03 17:13:19 +08:00
2026-06-20 12:04:21 +08:00