nipsalvin/discord-IBKR-API-bot — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Python bot that watches specific Discord channels for trading alert messages and turns those alerts into orders through Interactive Brokers. I want it to support paper trading first so I can test safely before using anything live.

It should let me configure my Discord token, channel IDs, IBKR connection settings, and whether I’m in paper or live mode. The bot should listen in real time, parse simple buy and sell signals from messages, log what it understood, and only place trades when the signal looks valid. Please include clear console output so I can see when it connects, what message it read, what trade it plans, and whether the order was submitted.

Please make the code straightforward and easy to edit, with a config file and requirements file. Add basic safety checks and warnings because this can execute real trades with real money. If you need current Discord or IBKR API details, look up the docs online.

Want more depth? Deep Reverse