refactor: 将共用代码迁入 lib/ 模块化目录

统一 strategy、key_monitor、trade、hub 等共用库到 lib/ 子包,并补充 lib-structure 文档,便于四所与中控维护。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-02 16:23:09 +08:00
parent 4742a0bb9d
commit 5797d49d8a
190 changed files with 27946 additions and 27499 deletions
+1
View File
@@ -1,5 +1,6 @@
# crypto_monitor 四个 Flask 子项目共用依赖(Binance / Gate / Gate_bot / OKX
# 安装:在各子目录 venv 内执行 pip install -r ../requirements.txt
# 共用 Python 库位于 ../lib/,启动时需将仓库根加入 PYTHONPATH(各 app.py / PM2 已配置)
flask>=3.0,<4
requests>=2.31,<3
ccxt>=4.2,<5