ncerovac/nancy ? reverse-engineered prompt
Reverse engineered prompt
Build me a Telegram bot that sends instant alerts when members of U.S. Congress report stock trades.
I want people to be able to subscribe with /start and unsubscribe with /stop, then get clear messages in DMs or group chats when new trades come in. Include useful commands like /latest, /today, /week, /month, /politicians, /tickers, /search, /top, /stats, /status, and /help, so users can browse recent trades, look up a politician or ticker, and see basic activity stats.
Make the alerts easy to read, with the stock ticker, company name, buy or sell, the member’s name, party and state, and the disclosed trade amount and date. If possible, link tickers to a Yahoo Finance chart. I also want the bot to keep subscribers saved after restarts, handle flaky data sources by trying again automatically, and include basic safety so bad input does not break it. Use current Telegram and API docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit