- Python 3.11+
- Telegram account
- 5 minutes
- Open Telegram, search for
@BotFather - Type
/startthen/newbot - Follow prompts to name your bot
- Save the token (e.g.,
123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11)
- Create a Telegram channel (e.g.,
@polytracker) - Add your bot as admin
- Forward any message to
@userinfobot - Save the CHANNEL_ID (format:
-100123456789)
cd ~/code/openclaw/projects/PolyTrackerBot
# Copy and edit config
cp .env.example .env
# Edit .env with your values:
# TELEGRAM_BOT_TOKEN=your_token_here
# TELEGRAM_CHANNEL_ID=-100...# Create virtual environment
python3 -m venv venv
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Run the bot
python -m polytracker.mainYou should see:
INFO | 🚀 PolyTracker Bot starting...
INFO | ✅ Database connected: ./data/polytracker.db
INFO | ✅ Scheduler started with 5 jobs
INFO | 📡 PolyTracker Bot is running. Press Ctrl+C to stop.
Press Ctrl+C to stop. Bot will:
- Discover wallets every 6 hours
- Poll for new positions every 5 minutes
- Send Telegram alerts when signals match
docker-compose up --buildAll settings in .env:
| Setting | Default | Description |
|---|---|---|
MIN_WIN_RATE |
0.60 | Wallet must have 60%+ win rate |
MIN_TOTAL_PNL |
5000 | Wallet must have $5k+ lifetime profit |
MIN_SIGNAL_POSITION |
500 | Only alert on $500+ positions |
MIN_MARKET_LIQUIDITY |
10000 | Market must have $10k+ liquidity |
MIN_HOURS_REMAINING |
48 | Market must have 48+ hours to close |
Next: Read README.md for full documentation.
Issues? Check logs in logs/polytracker.log