pmintel.report
← all bots

polymarket-fsm-arbitrage

github.com/jiyaoghl/polymarket-fsm-arbitrage

Worth Cloningrisk: LowPython0 starsfound Aug 14, 2026

Arbitrage bot that uses a finite state machine to scan and potentially trade on arbitrage opportunities across related Polymarket markets.

Strategy

The bot likely implements a finite state machine (FSM) to track the lifecycle of arbitrage opportunities. It may define states like 'scan', 'evaluate', 'trade', and 'exit' to manage orders across related markets. The strategy likely involves finding and executing on pricing inefficiencies between multi-outcome markets, potentially on the same or different competitions.


This small Python repo is intriguing despite having zero stars. The author appears to be implementing an arbitrage strategy using a finite state machine (FSM). This is notable because it suggests a more robust and structured system for handling the complex lifecycle of an arbitrage trade. An FSM can elegantly manage states like SCANNING, OPPORTUNITY_FOUND, SUBMITTING_ORDER, ORDER_FILLED, and EXITING_POSITION, with clear transitions and error handling. This is a more sophisticated pattern than typical bots which often use simple conditional logic. The actual implementation is yet to be fully detailed in a README, but the core concept is promising. The strategy itself would still revolve around detecting and exploiting price differentials between related markets. The codebase is minimal which could mean it's either incomplete or efficiently written. The malware risk is low. This is worth cloning to see the architecture in more detail and potentially to improve any existing arbitrage strategy with a solid state-machine foundation. This kind of engineering rigor is rare and should be cataloged for its unique structural approach.