
I connected to a public WebSocket feed and found mispriced tokens on Polymarket
Open two WebSocket connections. One to the Chainlink oracle that settles Polymarket 15 minute crypto markets. One to the Polymarket order book. Watch them side by side. The oracle updates in under a second. The order book takes 55 seconds to reflect the same move. For almost a full minute tokens are sitting there priced on stale data. The settlement source is public. Anyone can connect. And it consistently runs almost a minute ahead of the market it settles. That felt like a bug at first. It is not. It is just how markets work. But usually you cannot measure it this cleanly. So I wrote about 1,400 lines of Python to trade on it. The core logic is pretty simple. On every oracle price tick, check three things: price moved > 0.07% from market open time remaining > 5 minutes token price < $0.62 All three true? Buy the cheap side. Wait for settlement. Collect $1 or lose your stake. The interesting part was not the strategy. It was making this actually run reliably. You need a single process
Continue reading on Dev.to Python
Opens in a new tab



