What is Turbine?
Turbine is a trustless prediction markets platform where you can trade on whether BTC, ETH, or SOL will go up or down in the next 15 minutes. Every 15 minutes, new markets open with binary questions like “Will BTC be above $97,250 at 3:15 PM?”- YES shares pay $1.00 if the asset finishes above the strike price
- NO shares pay $1.00 if the asset finishes below
- Shares are priced between 0.99 based on market confidence
Key features
The SDK is designed to make prediction market trading as simple as possible:Fully gasless
No RPC, no web3 dependency, no native gas tokens required. Everything routes through the Turbine API.
EIP-712 order signing
Orders are signed off-chain with your private key and matched by the Turbine API.
Real-time WebSocket
Subscribe to orderbook updates, trades, and market transitions via WebSocket.
Type-safe
Fully typed dataclasses and enums for all API operations.
Architecture
The SDK follows a clean, modular design:- Public — Read-only market data (no authentication)
- Signing — Create and sign orders (requires wallet private key)
- Full — Submit orders and manage positions (requires API credentials)
Who is this for?
The SDK is built for:- Algorithmic traders building automated strategies
- Market makers providing liquidity
- Researchers exploring prediction market dynamics
- Developers integrating Turbine into applications
Supported chains
| Chain | Chain ID | Status |
|---|---|---|
| Polygon | 137 | ✅ Active (recommended) |
| Avalanche | 43114 | ✅ Active |
| Base Sepolia | 84532 | ⚠️ Testnet (not operational) |
Polygon mainnet is the primary trading environment. You’ll need real USDC on Polygon to trade.
What you’ll need
- Python 3.9+ — The SDK requires Python 3.9 or higher
- Ethereum wallet — A private key for signing orders (MetaMask export works)
- USDC — Minimum ~$10 on Polygon mainnet for trading
- API credentials — Auto-generated on first run (no manual setup)
Example use case
Here’s what a typical trading bot does:Next steps
Quickstart
Get your first trade running in 5 minutes
Installation
Detailed setup instructions