
Monitor large transactions on Polymarket and Kalshi prediction markets with anomaly detection
NOTE: repo is transitioning to a full featured trading bot, openclaw like agent that you talk in your telegram with power yo deploy a team of agents to perform research before making a decision.
A Rust CLI tool that monitors large transactions on Polymarket and Kalshi prediction markets. Real-time alerts for significant market activity with built-in anomaly detection.
Repository: https://github.com/neur0map/polymaster
This tool is for informational and research purposes only. Use this data solely for informed decision-making and market analysis.
git clone https://github.com/neur0map/polymaster.git
cd polymaster
cargo install --path .
wwatcher watch
That's it. No API keys needed — all data comes from public endpoints. You'll see whale alerts in your terminal within seconds.
Run wwatcher setup to configure platforms, categories, thresholds, webhooks, and optional API keys.
See QUICKSTART.md for detailed setup instructions and webhook integration.
git clone https://github.com/neur0map/polymaster.git
cd polymaster
cargo build --release
The binary will be at target/release/wwatcher. Or install it system-wide:
cargo install --path .
wwatcher uses 15 API endpoints across 3 Polymarket APIs, 1 Kalshi REST API, and 1 Kalshi WebSocket. See docs/API_REFERENCE.md for complete endpoint documentation.
| API | Base URL | Endpoints Used |
|---|---|---|
| Data API | data-api.polymarket.com | trades, value, positions, closed-positions, leaderboard, top-holders |
| Gamma API | gamma-api.polymarket.com | markets (context + tags) |
| CLOB API | clob.polymarket.com | book (order book depth) |
| API | Base URL | Endpoints Used |
|---|---|---|
| REST API | api.elections.kalshi.com/trade-api/v2 | markets/trades, markets/{ticker}, markets/{ticker}/orderbook |
| WebSocket | wss://api.elections.kalshi.com/trade-api/ws/v2 | trade channel (real-time) |
All endpoints are public — no API keys needed. For enhanced Kalshi access, run wwatcher setup.
wwatcher sends rich JSON payloads to any webhook URL with: market context, whale profile, order book depth, top holders, and wallet activity.
See docs/WEBHOOK_REFERENCE.md for:
When a whale transaction is detected, you'll see enriched output:
[ALERT] LARGE TRANSACTION DETECTED - Polymarket
======================================================================
Question: Will Bitcoin reach 100k by end of 2026?
Position: BUYING 'Yes' shares
Prediction: Market believes 'Yes' has 65.0% chance
TRANSACTION DETAILS
Amount: $50,000.00
Contracts: 76923.08 @ $0.6500 each
Action: BUY shares
Timestamp: 2026-02-13T18:00:00Z
[WALLET ACTIVITY]
Wallet: 0x742d35...f0bEb
Txns (1h): 2
Txns (24h): 5
Volume (24h): $380,000.00
Status: HEAVY ACTOR (5+ transactions in 24h)
[MARKET CONTEXT]
Odds: YES 65.0% | NO 35.0%
Spread: $0.02 (tight)
24h Volume: $450,000
Open Interest: $2,100,000
24h Move: +3.2%
Liquidity: $180,000
Tags: crypto, bitcoin
[WHALE PROFILE]
Leaderboard: #45 (TOP 50)
Profit: +$890,000
Portfolio: $2,340,000
Open Pos: 12
Win Rate: 73.0%
Markets: 195
[ORDER BOOK]
Best Bid: $0.6400 | Best Ask: $0.6600 | Spread: $0.0200
Bid Depth: $45,000 (12 levels) | Ask Depth: $38,000 (9 levels)
Imbalance: 54% bid / 46% ask (moderate bid pressure)
[TOP HOLDERS]
#1: 0x742d...bEb — 150,000 shares (12.0%)
#2: 0x8a3f...1D — 120,000 shares (9.6%)
#3: 0x5b9c...aF — 95,000 shares (7.6%)
Top 3 control 29.2% of shares
======================================================================
wwatcher watch # Start monitoring (default: $25k threshold, 5s interval)
wwatcher watch -t 50000 # Set threshold to $50,000
wwatcher watch -t 10000 -i 10 # $10k threshold, 10s polling interval
wwatcher setup # 6-step guided configuration wizard
wwatcher status # View current configuration and DB stats
wwatcher history # View last 20 alerts
wwatcher history -l 50 -p polymarket # Last 50 Polymarket alerts
wwatcher history --json # Output alert history as JSON
wwatcher test-sound # Test alert sounds
wwatcher test-webhook # Send test webhook payloads
See QUICKSTART.md for detailed setup instructions.
Configuration is stored at ~/.config/wwatcher/config.json (macOS/Linux) or %APPDATA%\wwatcher\config.json (Windows).
Run wwatcher setup for a guided 6-step wizard that configures: