CLI whale tracker for Polymarket โ terminal alerts when smart money moves.
Quick Start ยท Configuration ยท Features ยท Contributing
polymarket-whales monitors the Polymarket CLOB API and fires an alert the moment a trade above your threshold hits the books. Prints to terminal with color-coded output. No sign-up, no API key, no infrastructure. Just Python.
Don't want to self-host? Subscribe to the live whale feed on Telegram: @polymarketwhales_ai
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ polymarket-whales
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Min trade size : $500
Check interval : 30s
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ WHALE ALERT 2026-03-20 14:23:01
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Market : Will Trump tweet about crypto today?
Side : YES
Amount : $2,847.00
Price : 0.7300 (73% YES)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ WHALE ALERT 2026-03-20 14:26:44
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Market : Fed rate cut in March 2026?
Side : NO
Amount : $12,500.00
Price : 0.3100 (69% NO)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
git clone https://github.com/al1enjesus/polymarket-whales
cd polymarket-whales
pip install -r requirements.txt
python main.pyThat's it. Terminal alerts start immediately. No config needed to get started.
Copy .env.example to .env and edit:
MIN_TRADE_SIZE=500 # USD โ only alert above this
CHECK_INTERVAL=30 # seconds between polls
# Optional โ Telegram push alerts
TELEGRAM_BOT_TOKEN=...
TELEGRAM_CHAT_ID=...
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/...Or edit config.yaml directly. Environment variables take priority.
Telegram setup (optional):
- Message @BotFather โ
/newbotโ copy the token - Message @userinfobot โ copy your chat ID
- Paste both into
.env
Just want alerts without setup? โ Join @polymarketwhales_ai
- โ Real-time polling of the Polymarket CLOB API
- โ Configurable minimum trade size (USD)
- โ Colorized terminal output โ YES in green, NO in red
- โ Optional Telegram push alerts to any chat or channel
- โ Optional Discord webhook alerts
- โ
Export whale trades to CSV or JSON (
--export whales.csv) - โ Auto-resolves market names from condition IDs
- โ Trade deduplication โ no double alerts
- โ Graceful handling of network errors and API timeouts
- โ
No database, no Docker, no setup beyond
pip install
Run in background:
nohup python main.py > whales.log 2>&1 &Custom config path:
python main.py --config /path/to/config.yamlExport whale trades to CSV or JSON:
python main.py --export whales.csv
python main.py --export whales.json24/7 on a VPS: Any $5/month VPS works โ the script uses <10MB RAM.
Good first issues:
- Discord / Slack webhook support (merged โ thanks @Deepak8858!)
- Historical whale data export (CSV / JSON) (merged โ thanks @Deepak8858!)
- Filter by specific market or category
- Track and tag recurring whale wallets
- Alert cooldown per market (avoid spam)
- Web dashboard (simple Flask/Streamlit UI)
Open an issue or send a PR โ both welcome.
Join @polymarketwhales_ai on Telegram:
- ๐ Live feed of large trades โ real-time, no setup required
- ๐ฌ Community chat โ discuss strategies, share setups, post your whale catches
- ๐ค AI bot connected โ ask questions, get market context, analyze trades
Whether you're running the script or just lurking for signals โ this is the place.
Polymarket is unavailable in the US and some other countries. If you can't access it, you have two options:
Option A โ Self-host with a VPN/proxy
Point the script at a proxy by setting HTTPS_PROXY in .env:
HTTPS_PROXY=http://your-proxy:portOption B โ Use PolyClawster's relay (recommended)
PolyClawster runs a transparent proxy to clob.polymarket.com, deployed in Tokyo (outside US geo-blocks). It routes your API calls on their behalf โ your requests never touch Polymarket directly.
- ๐ซ No VPN needed
- ๐ซ No KYC
- โ Full Polymarket CLOB API access from any country
- โ One line of config
Set in .env:
POLYMARKET_API_URL=https://polyclawster.com/api/clob-relayThen in main.py the script will use this base URL for all CLOB requests instead of hitting Polymarket directly.
The relay is the same infrastructure used by PolyClawster AI agents to trade Polymarket 24/7 from any country.
This tool watches. PolyClawster acts.
AI agent that copies whale moves and trades Polymarket 24/7 โ works from any country, no VPN, no KYC, start with $10.
MIT ยท Built by Virixlabs
