Actionable tasks to make PolyTerm the go-to tool for prediction market traders.
-
Create
polyterm/cli/commands/tutorial.py- Interactive walkthrough of main features (8 steps)
- Step-by-step market monitoring demo
- Explain price = probability concept
- Show how to set up alerts
- Uses Rich panels and prompts
-
Add to TUI menu as option
t/tutorial -
First-run detection in
controller.py- Check
~/.polyterm/.onboardedflag - Prompt to run tutorial if not onboarded
- Check
- Create
polyterm/cli/commands/simulate.py- Interactive P&L calculator
- Shows max profit, max loss, ROI
- Exit price scenarios
- Fee calculations
- Add to TUI menu as option
sim/simulate - Created tips system
polyterm/utils/tips.py
- Create
polyterm/cli/commands/glossary.py- 30+ terms across 7 categories
- Rich table with term + definition
- Search functionality:
polyterm glossary --search <term> - Category filtering:
polyterm glossary --category <name>
-
Add
?key handler to TUI controller- Show help panel for current screen
- List available actions
- Explain displayed metrics
-
Create help content for each screen:
- Monitor: Explain columns (prob, volume, change)
- Whales: Explain what constitutes a whale
- Arbitrage: Explain spread calculations
- Predictions: Explain signal types
- Orderbook: Explain bid/ask, spread, depth
- Audit all
exceptblocks for user-friendly messages - Add suggestions for common errors:
- Network errors: "Check your internet connection"
- API errors: "Polymarket API may be down, try again later"
- Config errors: "Run 'polyterm config' to fix settings"
-
Research UMA contract addresses on Polygon
-
Create
polyterm/api/uma.py- Fetch active disputes
- Get voting status
- Track dispute history
-
Create
polyterm/cli/commands/disputes.py- List active disputes
- Show market affected
- Display vote counts
- Show time remaining
-
Create
polyterm/tui/screens/disputes_screen.py -
Add alert type:
dispute_started -
Add
--disputesflag to watch command
-
Create
polyterm/core/wash_detector.py- Track rapid buy-sell patterns
- Identify same-address trades
- Calculate wash volume percentage
- Return "real volume" estimate
-
Add to market monitor display:
-
[W]indicator for suspected wash trading - Optional
--real-volumecolumn
-
-
Add
polyterm analyze --market X --wash-check
-
Create scoring algorithm in
polyterm/core/risk_score.py- Factor: Rule clarity (subjective vs objective)
- Factor: Historical dispute rate
- Factor: Time to resolution
- Factor: Liquidity depth
- Factor: Wash trade percentage
- Return A-F grade
-
Display risk score in market details
-
Add
--min-risk-gradefilter to monitor
-
Add
followed_walletstable to database -
Commands:
-
polyterm wallets --follow 0xABC -
polyterm wallets --unfollow 0xABC -
polyterm wallets --following(list followed)
-
-
Alert when followed wallet trades:
- New alert type:
followed_wallet_trade - Include: wallet, market, direction, size
- New alert type:
-
TUI screen for managing followed wallets
- Calculate ROI for tracked wallets
-
polyterm leaderboardcommand- Top 20 wallets by ROI
- Filter by time period
- Show win rate, volume, avg position
- Create
polyterm/cli/commands/parlay.py - Input: multiple market IDs
- Output: combined probability, max payout
- What-if scenarios for different outcomes
-
Create
polyterm-sdkpackage -
Classes:
-
PolyTerm- main client -
Market- market data model -
Wallet- wallet tracking -
Alert- alert configuration
-
-
Methods:
-
get_markets() -
get_whale_activity() -
get_arbitrage_opportunities() -
subscribe_alerts(callback)
-
- Add webhook URL to config
- POST JSON payload on each alert
- Include: alert type, data, timestamp
- Retry logic for failed deliveries
- Research news APIs (Adjacent News, etc.)
- Create
polyterm/api/news.py -
polyterm newscommand -
polyterm news --market X - News sentiment in predictions
-
polyterm simulatecommand - Input: market, position (YES/NO), amount
- Output:
- Entry price
- Breakeven
- Max profit
- Max loss
- P&L at different prices
- Search functionality in main menu (type to filter)
- Breadcrumb navigation
- Screen history (back button)
- Customizable shortcuts in config
- Sparkline charts for price history
- Light/dark theme toggle
- High contrast mode
- Better Unicode charts
- Responsive layouts for different terminal sizes
- Cache API responses (5-second TTL)
- Lazy load screens
- Background refresh for live data
- Progress indicators for slow operations
- Tutorial: test full walkthrough
- Glossary: test search, all terms displayed
- Disputes: mock UMA API responses
- Parlay: test calculation accuracy
- Simulate: test P&L calculations
- Help system shows correct content per screen
- Copy trading alerts fire correctly
- Wash detection identifies known patterns
- Risk scores calculate consistently
- First-run flow works correctly
- Tutorial can be skipped
- Error messages are helpful
- ? key works on all screens
- Update README with new features
- Update CLAUDE.md with new commands
- Add tutorial section to docs
- Document copy trading feature
- Document UMA dispute tracking
- Add SDK documentation (when ready)
- Write announcement post for v0.5.0
- Create demo GIF of tutorial
- Post to r/polymarket
- Post to Polymarket Discord
- Tweet thread with features
- Submit to Hacker News (terminal angle)
| Version | Focus | Key Deliverable |
|---|---|---|
| v0.5.0 | Beginners | Tutorial + Help system |
| v0.6.0 | Intelligence | Dispute tracker + Wash detection |
| v0.7.0 | Social | Copy trading + Leaderboard |
| v0.8.0 | Professional | SDK + Webhooks |
| v1.0.0 | Polish | Full documentation + Stability |