Dev Release 2
Copy Bot implementation underway — wallet tracker live, position mirroring in active development. On-chain settlement and trade persistence shipped.
Copy Bot — Implementation
Wallet tracker live — indexes top Polymarket traders by performance
Pulls trade history from Polymarket data API. Scores wallets by win rate, avg ROI per trade, recency, and market diversity to build a ranked follow list.
Position sync engine — detects new trades from tracked wallets
Polls followed wallets on a short interval. On a detected entry, fires a copy order via the same CLOB V2 client used in PolyBot. Size scales proportionally to the original with a configurable multiplier.
Risk layer — per-wallet exposure cap and global copy limit
No single followed wallet can consume more than a set % of copy bankroll. Copy exposure tracked independently from PolyBot arb exposure.
Dry-run support — mirrors position detection without placing real orders
On-Chain Settlement
Auto-claim thread shipped — redeems resolved positions automatically
Runs in its own background thread alongside the strategy threads. Polls Polymarket data-api for resolved conditions and calls redeemPositions on the CTF contract and NegRisk adapter via Polygon RPC.
Native USDC on Polygon — aligned with Polymarket's migration
Switched from USDC.e to native USDC (0x3c499c…). Calldata encoded with Web3.py against the live CTF ABI.
Relayer fallback — submits via relayer-v2 if direct tx fails
Persistence & Operations
SQLite trade log — every position persisted with full P&L history
Database module tracks all open and closed positions. Queryable for performance review and historical analysis across sessions.
.env-driven config — all parameters overridable without code changes
Kelly fraction, spread thresholds, asset list, intervals, exposure caps, price boost — all in settings.py loaded from .env.
CLI flags: --dry-run, --live, --assets, --intervals, --bankroll
Graceful shutdown on SIGINT/SIGTERM. All threads stop cleanly with no orphaned orders.