Skip to content
Akinbola0xKENZMAN
Work/AI & data · Markets & DeFi
AI & Data

Polymarket Bot

A prediction-market trader built on an LMSR pricer and Bayesian belief updates.

Role
Sole engineer
When
May 2026 – now
Team
Solo
Stack
Python, Polymarket CLOB, Bayesian inference, LMSR

Overview

A Python bot against Polymarket's CLOB API. A scanner finds markets, news, social and crypto signals feed a Bayesian engine, an LMSR model prices outcomes, and quarter-Kelly sizing decides how much. Version 2 added active trading strategies with stateful position management.

What I built

  1. An LMSR cost function using the log-sum-exp trick for numerical stability
  2. A Bayesian engine tracking belief per market, blended with live prices and sized at a quarter-Kelly fraction
  3. Four strategies: spread scalping, short-duration markets resolving within 72 hours, take-profit at +15% or +8¢, and stop-loss at −25%, −10¢ or an EV flip
  4. Position management with an exit-all switch and daily rotating logs

How it flows

Stack

PythonPolymarket CLOBBayesian inferenceLMSRloguru