Commit Graph

2 Commits

Author SHA1 Message Date
gavindiaz 367c4724e8 feat(dashboard): wallet panel now shows forward P&L + warns on copy_pnl traps
serve_dashboard.py _serve_wallets():
- Reads portfolio.json per-wallet forward realized (out-of-sample)
- Returns fwd_realized + fwd_bets for each followed + suggested wallet
- Splits suggestions into 'suggestions' (forward positive) and
  'warnings' (forward negative despite high copy_pnl)

bot_dashboard.html renderWallets():
- Added 前瞻30d column to followed wallets table (green/red)
- Suggestions only show forward-positive wallets
- New warnings section: red badges for copy_pnl-high-but-forward-negative
  wallets (e.g. oliman2 #1 copy_pnl but - forward)

Prevents the oliman2/leegunner trap: dashboard used to recommend
copy_pnl #1 and #2, but both lose money in forward testing.
2026-07-21 09:18:49 +08:00
gavindiaz 125470b24a sync: upstream + our customizations (dashboard, healthcheck, docs)
Synced from github/main: aebcfa2d copybot: live paper feed [skip ci]
Our additions: serve_dashboard.py, bot_dashboard.html, mihomo-healthcheck.sh,
中文文档, 我们的钱包配置
2026-07-21 07:35:48 +08:00