Poly-Dev05/polymarket-trading-bot ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python bot for Polymarket that focuses on the end of short crypto Up or Down markets. The main thing I want is an AI style sniping flow where it watches the live market, figures out whether UP or DOWN is more likely right before the market closes, then quickly buys that side and lets it settle to $1 if it wins. It should work for active BTC, ETH, SOL style markets, and I want a safe paper trading mode too so I can test it without using real money.

If it makes sense, also include the simpler arbitrage mode where it buys both sides when the combined price is cheap enough, then merges them back to USDC. Please make it easy to configure from a .env file, with order size, buy limit price, asset choice, and timing settings. I’d like it to be runnable from the main script with clear setup steps, and if you need current Polymarket details, look up the latest docs online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab