core-euler/polymarket — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Telegram assistant for Polymarket that helps me track markets and get trading ideas without having to watch everything manually.

I want the bot to have simple buttons for Signals, Markets, Paper Trades, and Statistics. It should only allow the Telegram user IDs I put in the env file. Behind the scenes it should pull market data and news, remove duplicate news, analyze new items with an LLM when I provide a Comet API key, create signals, and track basic paper trades so I can see what would have happened.

Please set it up with a small FastAPI backend, Postgres for storage, Redis and background workers for scheduled jobs, and Docker Compose so I can run the whole thing with one command. Include a seed step that creates initial strategy data and demo data if external APIs are not available. Add health and basic API routes so I can inspect markets, signals, paper trades, and stats. Look up current docs online if you need to.

Want more depth? Deep Reverse