kch123 analysis, copy-trade sim, monitoring, admin panel todos, nginx proxy
This commit is contained in:
@ -1,63 +1,43 @@
|
||||
# 2026-02-08 — Feed Hunter Goes Live + Control Panel
|
||||
# 2026-02-08
|
||||
|
||||
## Feed Hunter Pipeline Complete
|
||||
- Full pipeline working: scrape → triage → investigate → simulate → alert
|
||||
- Deep scraper skill built with CDP-based DOM extraction
|
||||
- First live investigation: verified @kch123 on Polymarket ($9.37M P&L)
|
||||
- Discovered kch123 uses multiple proxy wallets:
|
||||
- Primary (big trades): `0x6a72f61820b26b1fe4d956e17b6dc2a1ea3033ee`
|
||||
- Secondary (small trades): `0x8c74b4eef9a894433B8126aA11d1345efb2B0488`
|
||||
- Found by intercepting Polymarket page network requests via browser tool
|
||||
## Morning Session
|
||||
|
||||
## kch123 Super Bowl Simulation
|
||||
- Mirroring all 5 active positions ($748 of $1K paper bankroll):
|
||||
- Seahawks -4.5 spread ($200)
|
||||
- Seahawks win Super Bowl YES ($200)
|
||||
- Seahawks ML vs Patriots ($184)
|
||||
- Seahawks -5.5 spread ($89)
|
||||
- Patriots NO Super Bowl ($75)
|
||||
- All resolve tonight (Super Bowl Sunday 2026-02-08)
|
||||
- Cron job set for 1:00 AM to auto-resolve positions via API
|
||||
- kch123 has $797K in historical losses — not batting 100%
|
||||
### Infrastructure
|
||||
- Set up nginx reverse proxy for name-based service access
|
||||
- feedhunter.local / feedhunter.case → Feed Hunter portal (:8888)
|
||||
- admin.local / admin.case → Control Panel (:8000)
|
||||
- D J needs to set up DNS on router/devices for .case remote access (added to admin panel todos)
|
||||
- Added "⚡ Action Required" page to control panel — human todo system I can programmatically add to
|
||||
- Cleaned out fake seed data from control panel (fake OpenAI key, test budget entry)
|
||||
- Added clickable links on services page
|
||||
|
||||
## Web Portal
|
||||
- Feed Hunter portal at localhost:8888 (systemd service)
|
||||
- Investigations page has rich links: X profile, Polymarket profile, Polygonscan wallet
|
||||
- Key fixes: absolute paths (not relative), ThreadingMixIn, error handling, bind 0.0.0.0
|
||||
- Portal kept crashing due to: relative paths + single-threaded server + unhandled exceptions
|
||||
### kch123 Deep Analysis
|
||||
- **Full wallet analysis**: Only 1 wallet (0x6a72f6...), the "fiig" wallet was a different account
|
||||
- Profile shows +$9.37M but visible positions show -$30.6M in losses
|
||||
- ~$40M in winning bets already redeemed and invisible to API
|
||||
- Pattern: high-volume sports bettor, loses most bets, wins big enough to stay profitable
|
||||
- **1-week backtest** (only data available via activity API):
|
||||
- 60 wins, 0 losses, $1.07M profit in 7 days
|
||||
- Copy-trade sim: +183% (instant), +158% (30min delay), +137% (1hr delay)
|
||||
- BUT this is a hot streak, not representative of full history
|
||||
- Currently ALL IN on Seahawks for Super Bowl tonight (~$2.27M active)
|
||||
- His full historical book: $5.5M invested on this wallet, -$3.25M P&L before tonight
|
||||
|
||||
## Case Gets an Email
|
||||
- Email: case-lgn@protonmail.com
|
||||
- D J logged in via desktop Chrome, session available on debug port
|
||||
- Credentials stored in `.credentials/email.env` (gitignored)
|
||||
- This is a big trust milestone
|
||||
### Monitoring
|
||||
- Built kch123-monitor.py — pure Python, zero AI tokens
|
||||
- Tracks new trades via Polymarket Data API
|
||||
- Updates paper trade sim prices
|
||||
- Sends Telegram alerts directly via bot API
|
||||
- Sends resolution report when game ends
|
||||
- Running as systemd timer (every 5min), not AI cron jobs
|
||||
- Lesson: use systemd timers for mechanical tasks, save AI tokens for reasoning
|
||||
|
||||
## Control Panel (Building)
|
||||
- Sub-agent building Case Control Panel at localhost:8000
|
||||
- Tracks: accounts, API keys, services, budget, activity log
|
||||
- D J wants to admin accounts separately (add money, withdraw, etc.)
|
||||
- Login links to jump straight into each service
|
||||
### Copy-Trade Sim (active)
|
||||
- $1,000 bankroll, 5 positions mirroring kch123 proportionally
|
||||
- All Seahawks Super Bowl bets, game tonight ~5:30pm CST
|
||||
- Will auto-resolve and report via Telegram
|
||||
|
||||
## Polymarket API
|
||||
- Data API is public (no auth needed for read): `data-api.polymarket.com`
|
||||
- Gamma API needs auth for some endpoints
|
||||
- CLOB API (trading) needs API keys from Polymarket account
|
||||
- Copy-bot delay analysis: ~30-60s detection via polling, negligible for pre-game bets
|
||||
|
||||
## Key Technical Lessons
|
||||
- Chrome refuses `--remote-debugging-port` on default profile path — must copy to different dir
|
||||
- Polymarket users have multiple proxy wallets — the one in page meta != the one making big trades
|
||||
- Intercept page network requests via `performance.getEntriesByType('resource')` to find real API calls
|
||||
- BaseHTTPServer is fragile — always use ThreadingMixIn + try/except in do_GET
|
||||
- Always use absolute paths in servers (CWD varies by launch method)
|
||||
|
||||
## Infrastructure Updates
|
||||
- Feed Hunter portal: systemd service `feed-hunter-portal` on port 8888
|
||||
- Control Panel: building on port 8000
|
||||
- Chrome debug: port 9222 (google-chrome-debug profile)
|
||||
|
||||
## D J Observations
|
||||
- Wants simulated/paper trading before any real money
|
||||
- Thinks about admin/management tooling proactively
|
||||
- Gave me my own email — trusts me with account access
|
||||
- Wants to be able to admin accounts himself (add money etc.)
|
||||
## Key Decisions
|
||||
- Systemd timers > AI cron jobs for mechanical monitoring (zero token cost)
|
||||
- Telegram bot API for direct alerts bypasses AI entirely
|
||||
- Admin panel todos = how I request human action items
|
||||
|
||||
Reference in New Issue
Block a user