pmintel.report
← all bots

prediction-market-maker

github.com/tfrmma/prediction-market-maker

Worth Cloningrisk: MediumPython4 starsfound Sep 5, 2026

Advanced market-making bot for Polymarket and Kalshi using Avellaneda-Stoikov pricing adapted for binary outcomes with cross-venue hedging via Hyperliquid.

Strategy

Avellaneda-Stoikov market making with delta hedging


This repo reaches for production-grade market making infrastructure. The core strategy implements Avellaneda-Stoikov (AS) pricing adapted from continuous double auctions to Polymarket's CLOB and Kalshi, which is nontrivial because AS assumes a continuous limit order book while Polymarket operates differently. The description claims a state-of-the-art stack: real EIP-712 typed data signing for Polymarket orders, RSA-PSS for Kalshi, order book reconciliation on startup, and an independent risk engine with kill switches triggered by drawdown thresholds, loss rates, and API failures. Delta hedging via Hyperliquid is an interesting angle for managing exposure against prediction market positions, particularly in the crypto-price-direction markets. The repo's small size (572KB indicates 10-20 files) relative to the weight of these claims raises a red flag on implementation maturity. Given that many of this batch's repos appear to be from (at best) junior traders, if this author truly nailed the integrations this would be extremely valuable. I would be suspicious of 'todo' placeholders or stubbed API clients mistakingly presenting as functional. However, the strategy — tight quoting around a fair value estimate with inventory-risk penalties, adapted for binary states — is exactly what a real market-making operation runs. For anyone considering this, I'd check the order signing code paths against live API specifications before trusting any simulated PnL numbers.