Open Market UI

Open source prediction market algorithm toolkit. Experiment with trading strategies, backtest on historical data, deploy to Polymarket and Kalshi.

# backtest a momentum strategy
$ cargo run --release -- run \
    --data-dir data \
    --start 2024-01-01 \
    --end 2024-06-01 \
    --capital 10000

Loading historical data...
Running MomentumScorer + BollingerFilter
 847 trades executed
 Final P&L: +$2,340.50 (23.4%)
 Sharpe ratio: 1.87

Pipeline Architecture

Data flows through composable, trait-based stages. Mix and match filters, scorers, and execution strategies.

Source Filter Scorer Selector Executor

Supported Platforms

Kalshi

Rust engine with backtesting, paper trading, and live execution. Rate-limited API client included.

Polymarket

Python engine with weather data integration (NWS/NOAA). Built on py-clob-client.

Open Source

MIT licensed. Clone, fork, contribute. Build your own trading algorithms.

Get Started