Skip to content

al1enjesus/polymarket-whales

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ‹ polymarket-whales

CLI whale tracker for Polymarket โ€” terminal alerts when smart money moves.

Quick Start ยท Configuration ยท Features ยท Contributing

demo


What is this?

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


๐Ÿ“‹ Example Output

โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
๐Ÿ‹  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)
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

โšก Quick Start

git clone https://github.com/al1enjesus/polymarket-whales
cd polymarket-whales
pip install -r requirements.txt
python main.py

That's it. Terminal alerts start immediately. No config needed to get started.


โš™๏ธ Configuration

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):

  1. Message @BotFather โ†’ /newbot โ†’ copy the token
  2. Message @userinfobot โ†’ copy your chat ID
  3. Paste both into .env

Just want alerts without setup? โ†’ Join @polymarketwhales_ai


โœจ Features

  • โœ… 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

๐Ÿ› ๏ธ Advanced

Run in background:

nohup python main.py > whales.log 2>&1 &

Custom config path:

python main.py --config /path/to/config.yaml

Export whale trades to CSV or JSON:

python main.py --export whales.csv
python main.py --export whales.json

24/7 on a VPS: Any $5/month VPS works โ€” the script uses <10MB RAM.


๐Ÿค Contributing

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.


๐Ÿ“ก Community & Live Whale Feed

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.


๐ŸŒ Blocked by geo-restrictions?

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:port

Option 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-relay

Then 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.


๐Ÿค– Want trades executed automatically?

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.

PolyClawster


MIT ยท Built by Virixlabs

About

๐Ÿ‹ Real-time whale trade tracker for Polymarket โ€” get terminal alerts + Telegram notifications when smart money moves

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

โšก