mirror of
https://ghfast.top/https://github.com/aeroxw/tick-stock-panel.git
synced 2026-09-12 17:54:15 +08:00
Use klines.batch/quotes.get, rename dry-run status to DRY_RUN_OK, document first-batch burst limits, and cover run_live with a fake client. Co-authored-by: Cursor <cursoragent@cursor.com>
1.0 KiB
1.0 KiB
TickFlow Pro Phase 1 probe
Process-local rate-limit safety (80% RPM) is already on branch cursor/tickflow-pro-rate-limit-p0.
Dry-run (safe anytime)
cd backend
python3 scripts/probe_tickflow_pro.py
Writes sanitized plan under reports/tickflow_pro_probe/<timestamp>/ with status DRY_RUN_OK
(gates/plan only — not proof of SDK methods, network, or auth).
Live probe (off-peak)
Uses real SDK namespaces aligned with the app: tf.klines.batch and tf.quotes.get.
Do not start multiple Phase 1 probe/sync processes concurrently.
Requirements:
TICKFLOW_API_KEYin the environment (never commit the key)- Prefer after 16:00 Asia/Shanghai (Stage A off-peak vs Gold)
- Before 16:00 only with
--force
cd backend
TICKFLOW_API_KEY=... python3 scripts/probe_tickflow_pro.py --live
Golden symbols: 000403.SZ, 600489.SH, 300059.SZ.
Out of scope
- Full-market backfill
- Gold Shadow deploy / Telegram ownership
- Claiming cross-product shared rate limits (still process-local)