SIDE PROJECT
ELONtrade
Automated trading platform for Polymarket prediction markets. Real-time price streaming, arbitrage detection, intelligent bid execution, and portfolio tracking. Focused on Elon Musk markets — where the volatility is. Live at demo-go.com.
| ROLE | DOMAIN | STATUS | MARKETS |
|---|---|---|---|
| Solo Dev & Trader | Prediction Markets | Live (Demo) | 210+ Active |
What It Does
ELONtrade connects to Polymarket's order book, streams real-time prices, identifies profitable opportunities using contiguous window optimization, and executes trades automatically. It focuses on Elon Musk-related prediction markets — where volatility meets alpha.
The platform runs as a distributed system: one HTTP/WebSocket server handles the UI and orchestration, while 9 specialized workers manage market syncing, price streaming, trade execution, and portfolio tracking.
Core Features
Arbitrage Detection Contiguous window optimization identifies optimal price points. Calculates shares-per-bid, profit projections, and risk metrics in real-time. |
Trading Sessions Portfolio tracking from entry to exit. Budget controls, coverage settings, risk levels. Automated lifecycle: executing, filling, profit reached, finished. |
Real-Time Streaming WebSocket connection to Polymarket's CLOB. Sub-second price updates, bid/ask parsing, midpoint calculations, and instant decision triggers. |
Elon Tweet Analytics 1,200+ tweets analyzed. Daily averages, hourly heatmaps, peak activity tracking. Market correlation with social signals. |
Portfolio Management Live position syncing, average cost basis, PnL tracking (cash + realized), USDC balance via Polygon RPC. Multi-wallet support. |
Smart Execution Decision engine with budget allocation, group spending limits, and trading gates. Supports dry-run mode for safe testing before going live. |
Tech Stack
TypeScript · Node.js · PostgreSQL · WebSocket · Ethers.js · Polymarket SDK · Docker · AWS EC2
╭────────────────────────────────────────────────────────────────────╮ │ cunskis.lv · built with fluss · powered by coffee and chaos │ ╰────────────────────────────────────────────────────────────────────╯