openpx
Unified Rust SDK for prediction markets — Kalshi, Polymarket, Opinion and more.
Installation
[]
= "0.1"
Quick Start
use ;
use json;
async
Supported Exchanges
- Kalshi — US-regulated event contracts
- Polymarket — Crypto-native prediction markets
- Opinion — Opinion exchange markets
Features
Everything you need in a single crate:
- Unified
Exchangetrait across all prediction markets - Core types:
Market,Order,Position,Orderbook,Trade - Enum dispatch (no vtable overhead)
- Real-time WebSocket streaming
- Crypto price feeds (
CryptoPriceWebSocket) - Sports score feeds (
SportsWebSocket)