Production-style architecture for low-latency event processing, applied to pump.fun memecoin trading. Built to demonstrate systems engineering — not as a profitable strategy. The trading layer is a paper-mode test bed for the systems work underneath.
os.replace), PID lockfile, watchdog
auto-restart, WS rate-limit backoff with jitter, log rotation + gzip.:8765,
7 REST endpoints, hourly equity snapshots, single-page SPA.~5,000 LOC async Python. Single developer. Honest limitations →
PumpPortal WS → pub/sub fan-out → 3 consumers
(tracker, wallet_intel, monitor)
→ signal_scorer → trade_loop → trader/executor
(Jupiter or PumpPortal local-tx) → risk_manager watches positions
→ exits via TP ladder, trailing stop, or breaker
| Module | Lines | Responsibility |
|---|---|---|
| detector/pumpfun_monitor | ~210 | Single shared PumpPortal WS, pub/sub fan-out |
| detector/wallet_intel | ~210 | Bot-wallet accumulator + bundled-launch detection |
| detector/creator_tracker | ~180 | Persistent leaderboard of pump.fun creators |
| analyzer/signal_scorer | ~370 | 4-factor 0-100 score, hard filters, queueing |
| analyzer/counterfactual | ~190 | Re-polls rejected tokens 10 min later |
| risk/manager | ~470 | Sizing, TP ladder, stops, circuit breakers |
| trader/executor | ~250 | Smart router: Jupiter vs PumpPortal local-tx |
| logger/web_server | ~210 | aiohttp dashboard at :8765, 7 API endpoints |
| web/dashboard.html | ~1100 | Single-file SPA with custom SVG equity chart |
Rolling 20-trade win rate scales position size: 0.6× when cold (≤30% WR),
1.0× normal, 2.0× when hot (≥55% WR). Captures more SOL during
momentum stretches, less during regime shifts. Hard cap at 2.5× to prevent ruin.
Sells small slices at +75% / +300% / +800%,
keeps final 30% riding the trailing stop with no upper cap. Trailing widens to
35% from peak once peak exceeds +100% so power-law winners
aren't clipped on normal pullbacks.
Every rejected token gets re-polled 10 min later for market-cap delta and exit reason. Useful as observability — it shows what each filter is killing. Not a held-out validation: pump.fun’s base rate is >95% rug, so any filter looks “validated” against an unfiltered universe. The honest experiment splits train/test and checks whether rejects underperform the base rate on a held-out set. Tracked as future work in the README.
Three independent layers: 6 consecutive losses → 10 min pause,
−25% day → halt until UTC midnight, −40% lifetime → emergency stop.
Fired 5 times overnight, each preventing what would have been deeper losses during
regime shifts.
| Window | 2026-04-19 → live |
| Starting bankroll | 1.0 SOL (virtual) |
| Closed trades | ~2,940 |
| Win rate | ~42% |
| Largest single winner | +463% |
| Top ticker (OHIO) | 20 entries · 41.9% of total PnL |
| Top 3 / Top 5 tickers | 67.7% / 79.2% of total PnL |
Earlier snapshots circulating elsewhere (1,521 trades / +7,100% / +7,284%) are pre-realistic-friction-sim and superseded by the run above.
Python 3.12+ asyncio aiohttp websockets solders sqlite3 Solana RPC Helius Jupiter PumpPortal Docker systemd GitHub Actions ruff mypy pytest
The paper sim is up 100× on a realistic-friction model — that is a real result inside the simulator. Whether it survives a move to real money is unknown, and there are honest open questions worth flagging:
The portfolio value of this project is the systems engineering: async pipeline, dual-write persistence, CI / Docker / systemd floor, observability stack. The trading layer is a working test bed for that engineering.
Open to remote Solana / Python / Web3 backend roles. Available for contract or full-time. Based in Las Vegas, NV.
EMAIL DENNIS GITHUB REPO PROFILE