PolyBot¶
Open-source automated trading system for prediction markets
Trade smarter on Polymarket, Kalshi, and other prediction markets with 10 battle-tested strategies, real-time analytics, and a plugin system for your own AI models.
Quick Install¶
Access the dashboard at http://localhost:8000/ui
Key Features¶
-
:material-strategy:{ .lg .middle } 10 Trading Strategies
From simple arbitrage to AI-powered predictions. Enable strategies with a single command.
-
:material-web:{ .lg .middle } Multi-Venue Trading
Trade on Polymarket, Kalshi, and hedge on Binance - all from one platform.
-
:material-brain:{ .lg .middle } AI Plugin System
Integrate GPT-4, Claude, or your own ML models for probability prediction.
-
:material-monitor-dashboard:{ .lg .middle } Real-time Dashboard
Vue.js web interface with live P&L, positions, and strategy monitoring.
Who is PolyBot For?¶
Traders¶
- Test strategies in shadow mode before risking real capital
- Configure risk controls: position limits, daily loss limits, exposure caps
- Track real-time P&L across all positions
- Copy successful traders automatically
Developers¶
- Extend with custom strategies using clean abstractions
- Build AI plugins for probability prediction
- Add new venues with the BaseVenue interface
- Type-safe codebase with full type hints and Pydantic models
Quants¶
- Access statistical arbitrage between correlated markets
- Implement custom models via the plugin system
- DuckDB analytics for performance analysis
- Export data for backtesting
Getting Started¶
- Install PolyBot - pip, Docker, or from source
- Configure credentials - Set up your wallet
- Run in shadow mode - Test without real trades
- Enable strategies - Start trading
Architecture Overview¶
Vue.js Dashboard
|
v
+-----------------------------------+
| FastAPI + WebSocket Gateway |
+-----------------------------------+
| | |
v v v
+---------+ +---------+ +---------+
| Scanner | |Executor | |Analytics|
+---------+ +---------+ +---------+
|
v
+-----------------------------------+
| Strategy Services |
| (10 strategies, AI plugins) |
+-----------------------------------+
Full architecture documentation
Why Choose PolyBot?¶
| Feature | PolyBot | Typical Alternatives |
|---|---|---|
| Strategies | 10 built-in | 1-3 |
| Multi-venue | Polymarket, Kalshi, Binance | Single venue |
| AI integration | Plugin system for any model | Hardcoded or none |
| Dashboard | Vue.js real-time UI | Terminal or none |
| License | MIT | Often GPL or closed |
Community¶
- GitHub: cryptuon/polybot
- Discord: Join our server
- Issues: Report bugs
License¶
PolyBot is open-source software licensed under the MIT License.
Disclaimer
This software is for educational and research purposes. Trading on prediction markets involves financial risk. Use at your own discretion. Not financial advice.