Automate local JoinQuant smoke prep

This commit is contained in:
Yuxuan Yan
2026-07-04 17:55:19 +08:00
parent c200508f9e
commit 5388359dc8
5 changed files with 300 additions and 0 deletions
+8
View File
@@ -18,6 +18,9 @@ The plugin validates system mechanics, not alpha quality:
## Commands
```bash
uv run python cli.py joinquant prepare-smoke \
--out-dir /tmp/chinese-equity-quant-realdata
uv run python cli.py joinquant export-targets \
--positions-path portfolio/run1.pq \
--portfolio-name run1 \
@@ -56,3 +59,8 @@ from `portfolio build`, matching what the internal simulator executes.
For strict simulator-vs-JoinQuant comparison, pass `--execution-calendar-path`
so position dates are shifted to the next session open, matching the internal
simulator's next-open convention.
`prepare-smoke` automates the local side of the first sanity check: tiny real
data download, one-stock long-only position file, internal simulation, aligned
target export, wrapper generation, and a manifest with expected JoinQuant CSV
export paths.