Back to feed
Dev.to
Dev.to
6/19/2026
I built an open-source market maker for prediction markets (Polymarket/CLOB) — here's how it works

I built an open-source market maker for prediction markets (Polymarket/CLOB) — here's how it works

Short summary

A developer open-sourced a fully-featured market maker bot for CLOB-based prediction markets like Polymarket, designed to handle the unique challenge of resolution risk by adjusting spreads as markets approach resolution and managing inventory exposure. Built in Rust with Polygon/USDC settlement, Gnosis Safe wallet support, and SQLite order tracking. The project includes complete GitHub code and a roadmap for implementing dynamic volatility-based spreads and multi-market portfolio rebalancing.

  • Open-source market maker bot for CLOB-based prediction markets with resolution risk management
  • Built in Rust using Polygon/USDC settlement and Gnosis Safe wallet support
  • Includes GitHub repo and roadmap for volatility-based spreads and multi-market rebalancing

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Explore more