chore: 重构前基线 — 9 个 sync task 全部 ok + akshare 移除 + mairui 资金流接入

状态:
- 9 个 sync task(stock_basic / kline_daily / kline_index / kline_5min /
  moneyflow / industry_sector / sector_features / share_snapshot / market_regime)
- 数据源:baostock + mairui + 雪球(pysnowball) + 新浪(4 个)
- 项目级约束:永远不用 akshare(已落实)
- kline_5min 改用 DB 快照统一全量/增量逻辑
- 零后端 Chrome 扩展 xueqiu_sync(独立项目)
This commit is contained in:
gao
2026-06-15 15:36:09 +08:00
commit 05635b76b9
55 changed files with 6307 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
# Web/API
fastapi>=0.110.0
uvicorn[standard]>=0.30.0
pydantic>=2.0.0
pydantic-settings>=2.0.0
# Data
pandas>=2.2.0
numpy>=1.26.0
pyarrow>=15.0.0
# Storage
SQLAlchemy>=2.0.0
PyMySQL>=1.0.0
DBUtils>=3.0.0
cryptography>=42.0.0
# HTTP / Retry
requests>=2.30.0
tenacity>=8.0.0
# Datasources — A 股免费源
# akshare 永远不使用(项目级决策)
baostock>=0.9.0
# 雪球非官方 SDK:需要 XUEQIU_TOKEN(环境变量)才能拿到股本 / 日K 复核
# 没装 → share / kline_daily 任务静默失败(ImportError 被 except 吞)
pysnowball>=0.1.8
# Logging / Config
PyYAML>=6.0.0
python-dotenv>=1.0.0