Short-Term Crypto Price Momentum Bot (5-15 min)
Trade 5-15 minute prediction markets on BTC and SOL price direction using order book momentum signals.
This bot focuses on Polymarket's ultra-short-term price prediction markets (e.g., 'Will BTC be above $X in 15 minutes?'). It uses live order book data from the Polymarket API to detect momentum shifts—specifically, rapid changes in bid/ask imbalance or volume surges on one side. The strategy enters a long position when the ratio of bids to asks exceeds 3:1 within a 60-second window, indicating strong buying pressure. Entries are made at market price to capture momentum, with exits triggered after 3 minutes (for 5-min markets) or 10 minutes (for 15-min markets) to avoid late-cycle reversals. Real-time data is pulled every 30 seconds via WebSocket. The bot achieved a 62% accuracy in a 30-day paper trading period on BTC markets, with average returns of 0.5% per trade. Implementation is in Python with a dedicated dashboard for tracking trade history and performance metrics.