This is Part 2 of my trading bot series. Part 1 covered the raw results — 176 trades, three strategies, about $2 profit. This part covers the math that explains why.

If you're building a trading bot for Polymarket, Kalshi, or any binary prediction market, the math in this article is the difference between a bot that prints money and one that...