hackingthemarkets/ai-trading-agent — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple Python AI trading agent that can work with Interactive Brokers through the existing Interactive Brokers Web API container. I want it to run from the command line, connect to the local broker web app, and use an AI browser automation style agent to look at the trading interface and take actions based on a prompt I provide.

Keep it focused and safe for testing. Make it clear that it should be used with paper trading first, and let me set my IBKR account id through an environment variable. Include a basic setup with a virtual environment, requirements file, and one main script I can run. The script should make it easy to edit the trading instructions before launch, so I can carefully test different prompts.

Please include concise setup instructions for starting the Interactive Brokers Web API container, authenticating, installing Python dependencies, and running the agent. Look up current docs online if you need to.

Want more depth? Deep Reverse