gamma-trade-lab/polymarket-btc-5min-15min-trading-bot — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Python trading bot for Polymarket BTC 15 minute UP and DOWN markets. I want it to run in a safe paper mode first, show me what trades it would take, and only use live trading when I add my Polymarket keys and explicitly choose live mode.

It should watch BTC price action and Polymarket prices, combine several signals like momentum, spikes, order book changes, divergence, and an ML probability check, then decide whether to buy UP or DOWN. Please make the risk controls easy to change in an env file, including about 1 dollar per trade, max one trade per market, entry price limits, spread filter, take profit, optional stop loss, cooldowns, and avoiding late entries.

Add a simple supervisor so it can keep running, Redis based mode switching if needed, trade logs I can inspect, and metrics that can be connected to Grafana. Include setup instructions, example env values, and test commands for each major part. Look up current Polymarket docs online if needed.

Want more depth? Deep Reverse