A bot on Polymarket quietly extracted $32k in near risk-free profits by sniping “Will Company XYZ Beat Earnings?” markets. It waits for the official release, then instantly buys the winning side. Many limit orders from retail traders remain uncancelled, creating a post-announcement arbitrage window.

Two developers decided to challenge it. Here’s what they learned while trying to build a faster version.

Infrastructure Choices

Location: Polymarket’s CLOB runs in AWS eu-west-2 (London). They deployed from Ireland (eu-west-1, Dublin) — the closest realistic option without IP tricks. UK IPs are blocked.

Language: Rust for type safety and speed. The author notes you can achieve competitive latency in Python if you strip unnecessary network calls.