Commit Graph
7 Commits
Author SHA1 Message Date
SII-leiyuandClaude Opus 4.6 1bdf56594c Add normalized size filter and remove obsolete polling config
- Add normalized size filter (usdc_size / √volume) to whale detection,
  making signal significance comparable across different market sizes
- Remove dead polling config (fetch_interval_seconds, tier*_poll_interval)
  since RTDS WebSocket replaced HTTP polling

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-06 12:25:51 +08:00
SII-leiyuandClaude Opus 4.6 af5bbd0bce Replace HTTP polling with RTDS WebSocket for real-time trade monitoring
- Add rtds_client.py: persistent WebSocket connection to wss://ws-live-data.polymarket.com
  with auto-reconnect, heartbeat, and trade message parsing
- Rewrite trade_monitor.py: single WebSocket receives ALL trades in real-time,
  replacing per-market HTTP polling loops (zero missed trades, sub-second latency)
- Remove QPS rate limiter and per-market polling infrastructure (no longer needed)
- Update default LLM model to gemini-3.1-pro-preview
- Add websockets and python-socks dependencies

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-06 12:06:45 +08:00
SII-leiyuandClaude Opus 4.6 265c8fb5a1 Relax whale detection filters to capture more mid-size trades
- Price range: 0.20-0.80 → 0.10-0.90
- Absolute min trade size: $5K → $3K
- Dynamic threshold base: $10K → $5K, range $3K-$50K
- Resolution window: 6h-90d → 3h-180d
- Anomaly score threshold: 0.65 → 0.55

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-05 11:41:16 +08:00
SII-leiyu 9eab3485a1 Update to tiered market coverage (700+ markets), refactor anomaly detection and trade monitoring
- Expand market coverage from 50 trending to 700+ active markets with three volume tiers
- Refactor anomaly detector with improved scoring logic
- Simplify trade monitor architecture
- Add tiered market fetching in market_fetcher
- Update prompts, settings, and etherscan service
- Remove requirements.txt (using other dependency management)
- Update README to reflect new capabilities
2026-05-02 18:59:12 +08:00
SII-leiyuandClaude Opus 4.6 09b203110c Add official Polymarket API support, one-click setup, and redesigned README
- Add TRADE_API_MODE setting to switch between official (public, no auth) and internal API
- Implement _fetch_trades_official() using Polymarket data-api /trades endpoint
- Default to official API so users can run without private API access
- Add interactive setup.sh that guides users through API key configuration
- Add Makefile with common commands (setup, run, dashboard, etc.)
- Add Dockerfile and .dockerignore for container deployment
- Redesign README with badges, feature tables, mermaid diagram, architecture
- Clean up .env.example with organized sections and signup links
- Update pyproject.toml dependencies to match requirements.txt

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-22 16:12:17 +08:00
SII-leiyu 9b8b052a21 Update: sync local state to remote 2026-04-06 14:41:05 +08:00
SII-leiyuandClaude 0254e2c01a Initial commit: Polymarket Whale Watcher
- Add trade monitoring and whale detection system
- Add LLM-powered trade analysis
- Add market data fetching from Polymarket API
- Include example environment configuration
- Add automated report generation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-07 15:41:05 +08:00