全面优化实盘对接没有验证

This commit is contained in:
2026-07-14 07:29:03 +08:00
parent a1963e58ed
commit b3f770c55f
391 changed files with 114674 additions and 528 deletions
+16 -6
View File
@@ -13,11 +13,12 @@
## Phase Plan
-**Phase 0** (current): foundation, pool builder, Telegram notifier
- **Phase 1**: User WebSocket subscriber (one per wallet, get every trade in real-time)
- **Phase 2**: Signal aggregator (Softmax + Bayesian update + Kelly sizer)
- **Phase 3**: CLOB trader (optional, off by default — manual first)
- **Phase 4**: Dashboard (FastAPI for P&L tracking)
-**Phase 0**: foundation, pool builder, Telegram notifier
- **Phase 1**: Trade stream (poll-based, 30s interval, restart-safe)
- **Phase 2**: Signal aggregator (Bayesian update + Kelly sizer + 5-layer filter)
- **Phase 3**: CLOB trader (optional, off by default — manual first)
- **Phase 4**: Dashboard (FastAPI for P&L tracking)
-**Phase 5**: Strategy analytics (signal outcome backfill + 6-dimension hit-rate dashboard for parameter tuning)
## Architecture (target)
@@ -43,9 +44,18 @@ Data API ──┐
## Running
```bash
# Local
# Main bot (6 asyncio loops: pool/stream/credibility/cleanup/health/outcome-resolve)
python -m src.main run
# Strategy analytics dashboard (http://localhost:8518/analytics)
python -m src.main dashboard
# CLI stats — hit rate / PnL
python -m src.main stats
# Manually backfill resolved-market outcomes onto historical signals
python -m src.main backfill --batch 500
# Docker (cloud)
docker compose build --no-cache && docker compose up -d
```