Made Some Free Money During the 2024 Presidential Election (PolyArb)
⚠️ SHITCOIN ALERT ⚠️ This involves USDC on Polygon. You've been warned.
So during the 2024 presidential election, I built this Python tool called PolyArb to find arbitrage opportunities on Polymarket.
The basic idea: when you have overlapping prediction markets (like "Trump wins presidency" AND "Trump wins the presidency and the popular vote"), sometimes the prices get out of whack. The sum of the atomic outcomes should equal the price of the combined markets, but they don't always. When that happens, there's free money on the table.
During the election, there was insane liquidity in these markets, and the tool would automatically scan for these mispriced combinations and execute trades to capture the spread. No directional betting, no predictions needed – just pure math arbitrage.
It worked surprisingly well. The election created the perfect storm: high volume, multiple overlapping markets, and enough volatility to create regular mispricings.
The repo has the full code, CLI tools for managing wallets and positions, and even a daemon mode to run it automatically. There's a whole breakdown of the election strategy in the README if you're curious how it worked.
Anyway, thought some of you might find it interesting. Again, shitcoins involved, but the arbitrage logic is pretty fun.
