Monitor Polymarket market orderbook and automatically execute market buy orders for both Yes and No tokens when the sum of their ask prices is less than 1
This workflow is designed for traders who want to automatically profit from arbitrage opportunities on Polymarket by monitoring orderbooks and executing market buy orders for both Yes and No tokens when the sum of their ask prices is less than 1.
Arbitrage opportunities on Polymarket can be profitable but require constant monitoring of orderbooks and quick execution. Manually checking prices and executing trades is time-consuming and you might miss opportunities. This workflow automatically monitors orderbooks, identifies arbitrage opportunities (when Yes ask price + No ask price < 1), and executes trades automatically by buying both Yes and No tokens at market price.
Monitors the orderbook for a specified Polymarket market every 5 seconds
Calculates the sum of Yes and No ask prices using BigNumber for precision
Detects arbitrage opportunities when the total price is less than 1
When an opportunity is detected:
Completes the arbitrage execution
Set the Market Slug in the config node (e.g., "will-there-be-at-least-500-measles-cases-in-the-us-in-2026")
Set the Order Amount (USD per token) in the config node (default: 10). This is the amount to spend on each Yes and No token.
Connect your Polymarket credentials in the config node (apiKey, secret, passphrase, address, proxyWallet)
Tip: This executable workflow was automatically generated by SeamFlux Bot. To use it, create an execution and test it with your data to ensure it meets your needs.
Ready to get started?
to run this template or create a scheduled task, and ask AI about detailed node execution steps.
Run Locally — download this workflow as a ZIP or run it via Seamflux CLI in your terminal; use the "Run Locally" button above to choose.
Build a workflow from scratch using AI chat. No complex parameter configuration or flowchart dragging needed.