Polymarket BTC 5m Martingale Bot
Polymarket BTC 5m Martingale Bot: Automated Prediction Market Trading with Built-In Risk Controls **Overview** This Python bot automates martingale-style betting on Polymarket's BTC Up/Down 5-minute markets. Built for traders and developers who want a fully functional, production-ready automated system — not a toy script — it handles market discovery, stake progression, order placement, and session management with hard safety limits baked in from the ground up. Whether you run it out of the box or use it as a foundation for your own strategy, the infrastructure is already done. **What's Included** - Fully automated market loop that finds active BTC Up/Down 5-minute markets and enters positions without manual intervention - Martingale stake progression: doubles after a loss, resets to base stake after a win, fully configurable at every level - Hard circuit breakers that stop the bot automatically: maximum consecutive losses, maximum drawdown in USDC, per-bet cap, and maximum win cycles - Dry-run paper mode that simulates every bet without touching real funds - Session state persistence via a JSON file — restart the bot and it picks up where it left off - Clean modular package structure — easy to extend and audit - Environment variable configuration with no hardcoded secrets - Unit test suite for core strategy and logic components **Who This Is For** Crypto traders and Python developers who want a working automated Polymarket system without building from scratch. Ready to run in paper mode immediately after setup. **Important Disclaimer** Martingale does not create a statistical edge. Every session carries real variance and fee drag. Configure risk limits honestly, always dry-run first, and never fund the wallet with more than you are prepared to lose entirely.