Skip to content

HarrierOnChain/Prediction-Markets-Trading-Bot-Toolkits

Prediction Market Toolkits

Polymarket Toolkits TUI Prediction Market Toolkits dashboard

Venue-agnostic prediction-market trading infrastructure — any market with an order book

Rust Rust CI License Tokio Live venues Roadmap

One execution core. One risk layer. Every venue. Ten strategy bots run on a single battle-tested engine and a venue-agnostic adapter stack. Adding a market means writing one adapter — not rebuilding a bot. Seven venues are live in production today; the rest of the prediction-market universe is adapter-driven roadmap.

StrategiesVenue CoverageEngineSafetyContact

🌐 Language / 语言 / Язык: English简体中文Русский


Strategies

A complete suite of ten production-grade trading bots, each engineered around a distinct, well-defined market edge. Every strategy runs on the same battle-tested execution core, risk layer, and venue-agnostic adapter stack — so you get consistent performance, unified risk controls, and a single operational surface across every play in the book. Pick the edge that fits your thesis; the infrastructure is already built.

📦 Full walkthroughs, screenshots, and per-venue configs live in each market's dedicated repo — see Venue Coverage for the directory. The table below is the strategy index; every bot runs on the shared engine and safety layer, with full dry-run support.

# Strategy Edge in one line Key spec
1 🎯 Copy Trading Mirror wallets that already proved they have alpha Multi-wallet · FAK/GTD · circuit breaker
2 BTC 5m / 15m / 1hr Arbitrage Speed on short-window BTC Up/Down ~42ms end-to-end · FAK
3 💰 Cross-Market Arbitrage Lock the spread, not the direction Polymarket ↔ Kalshi · hedged legs
4 🎯 Directional Arbitrage Arb base (Up + Down < $1), then tilt toward the side with more edge Hedged base · limit-only
5 📈 Spread Farming A thousand 0.5¢ wins compound into one number Bid-ask capture · per-trade P&L
6 🏆 Sports Execution Click. Filled. Done — under 50ms NBA / NFL / Soccer · <50ms FAK
7 🎯 Resolution Sniper 95¢ near-certainty → guaranteed $1.00 payout Certainty scan · hold to resolution
8 📊 Orderbook Imbalance The signal is the order book — no external feeds Live OBI · 500ms refresh
9 💰 Market Making Be the house, not the gambler Two-sided GTD · inventory skew
10 On-Chain Whale Signal 3–30s ahead of the public positions API Polygon block sub · ABI calldata decode

Venue Coverage

The engine is venue-agnostic: any platform exposing an order book or position feed plugs in through a single adapter. Seven venues are live in production; the rest of the prediction-market landscape is on the adapter-driven roadmap.

Legend: 🟢 Live · 🟡 Beta (adapter in testing) · ⚪ Roadmap (adapter-driven)

🟢 Live today

Venue Type Strategies running
Polymarket Decentralized (Polygon / USDC) All 10 — full coverage
Kalshi CFTC-regulated (US) Cross-arb · Resolution Sniper · OBI · Market Making · Directional Arb · Spread · Sports
Limitless On-chain order book Resolution Sniper · OBI · Spread Farming
Drift BET Solana BTC Arb · OBI · Market Making · Whale Signal
Augur Ethereum Resolution Sniper · OBI
Azuro Decentralized protocol Sports · OBI
Myriad Markets Crypto OBI · Directional Arb

Traditional / Regulated — roadmap

Venue Type Status Best-fit strategies
Robinhood Predictions Brokerage-integrated ⚪ Roadmap Directional Arb · Sports
Crypto.com Predictions Crypto-integrated ⚪ Roadmap BTC Arb · Directional Arb
OG.com Social / multi-outcome ⚪ Roadmap Sports · OBI · Market Making
DraftKings Predictions Sports ⚪ Roadmap Sports Execution
FanDuel Predicts Sports ⚪ Roadmap Sports Execution
Fanatics Markets Sports / entertainment ⚪ Roadmap Sports Execution
Interactive Brokers ForecastTrader Financial events ⚪ Roadmap Resolution Sniper · Spread · Market Making
PredictIt Academic / US politics ⚪ Roadmap Resolution Sniper (research-only, bet caps)

Crypto / Decentralized — roadmap

Venue Chain / Type Status Best-fit strategies
Hedgehog Markets Solana / social ⚪ Roadmap Copy Trading · Directional Arb
Zeitgeist Polkadot ⚪ Roadmap OBI · Market Making
Projection Finance Volatility / sims ⚪ Roadmap Directional Arb · Spread
Better Fan Sports / esports ⚪ Roadmap Sports Execution
Manifold Markets Play-money ⚪ Roadmap Directional Arb (backtest / research sandbox)

Want a venue prioritized? Adapter work is demand-driven — if you trade a platform not yet live, reach out and it can move up the queue.


Engine

Performance

Event processing < 1ms per event
Order execution < 100ms end-to-end
Position polling ~200ms per wallet
Memory ~50MB baseline
CPU < 5% on modern hardware
Concurrency Semaphore-based rate limiting (default: 25 req / 10s)

Safety

Circuit Breaker Auto-halts after N consecutive large trades inside a configurable window
Depth Guard Validates orderbook liquidity before every order
Dry Run Full execution path runs without placing real orders
Trade Floor Minimum size enforcement against negative-EV micro-trades

The circuit breaker fires when consecutive large trades exceed the configured threshold, or when orderbook depth falls below the minimum. Once tripped, execution is blocked for the cooldown duration. Trip state and cooldown are logged and visible in the TUI.

Recommendations:

Stage Action
Initial setup Run with enable_trading: false for a full session
First real trades Keep copy_percentage at 5–10% until you trust the signal
Ongoing Watch circuit breaker trips — they surface execution anomalies
Production Dedicated wallet with only the capital you intend to deploy

Contact

Built and maintained actively. If you're working on Polymarket tooling, algorithmic strategies, or want to collaborate:

Platform Link
Discussions GitHub Discussions
Telegram @HarrierOnChain

Response time is typically within a few hours. Open to questions, feedback, and serious collaborations.


Disclaimer

Trading prediction markets involves real financial risk. This software is provided as-is, without warranty or guarantee of any outcome. It is not financial advice. Always test with enable_trading: false before deploying real capital. Ensure compliance with Polymarket's terms of service and applicable regulations in your jurisdiction.


License: MIT

Built for the Prediction Markets including Polymarket, Kalshi, Limitless etc

Back to top

Power of Bot

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors