feat(cli): sync export — 日线按年导出 Parquet(data/parquet/stock_daily/<year>.parquet)

- 对应 ROADMAP §1.4「历史时序大数据转 Parquet」;pyarrow 随 qlib 依赖已可用
- 用法:uv run python -m app.cli.sync export [--years 2023,2024]
- 实测:9680 行 → 2023/2024 两个 parquet(data/parquet 已被 gitignore)
- ruff clean / pytest 86 passed
This commit is contained in:
Simon
2026-09-06 18:21:55 +08:00
parent b8f67f99ae
commit bbb5c1ea52
2 changed files with 54 additions and 0 deletions
+1
View File
@@ -108,6 +108,7 @@ uv run python -m app.cli.sync daily --symbols 600519.SH,000858.SZ --start 202301
uv run python -m app.cli.sync daily --all --start 20240101 --resume # 全市场 + 断点续传
uv run python -m app.cli.sync financial --symbols 600519.SH
uv run python -m app.cli.sync verify --symbol 600519.SH # 新浪交叉验证
uv run python -m app.cli.sync export --years 2024 # 日线按年导出 Parquet(默认全部)
```
说明: