refactor: remove duplicate scripts + JSON constants + update docs

This commit is contained in:
知微
2026-07-04 09:30:50 +08:00
parent 7d6b08953c
commit 8b114d6e9e
26 changed files with 2200 additions and 4913 deletions
+1 -5
View File
@@ -24,9 +24,6 @@ BASE = Path("/home/hmo/MoFin")
DATA = BASE / "data"
DB_PATH = DATA / "mofin.db"
# 自选池和决策文件
WATCHLIST_PATH = DATA / "watchlist.json"
DECISIONS_PATH = DATA / "decisions.json"
SIGNAL_MAX_AGE_HOURS = 4 # 只处理4小时内产生的信号
@@ -273,8 +270,7 @@ def main():
conn2.close()
except Exception:
pass
# [migrated to DB] — JSON cold backup removed
# WATCHLIST_PATH.write_text(json.dumps(wl, ensure_ascii=False, indent=2))
except:
pass
elif action == "monitor":