This is a TypeScript bot that runs the dump-and-hedge arbitrage strategy on Polymarket's 15-minute Up/Down markets for BTC, ETH, SOL, and XRP. It watches for sharp price drops in the opening window, buys the dumped side, then hedges by buying the opposite outcome once the combined cost falls below your profit threshold. The code is well-structured with separate modules for API calls, monitoring, and strategy logic, plus it includes simulation mode so you can test without burning real money. The stop-loss logic will force a hedge if your window times out. If you're already familiar with prediction market mechanics and want to automate this specific pattern, the setup is straightforward with environment variables for all the strategy parameters.
npx skills add https://github.com/aradotso/trending-skills --skill polymarket-arbitrage-bot