ZiadFrancis/ReinforcementTrading_Part_1 — reverse-engineered prompt
Reverse engineered prompt
Build me a simple Python project for experimenting with reinforcement learning for trading. I want an agent that can learn from historical market data in the data folder, use a few common technical indicators, and interact with a trading environment that simulates buying, selling, and holding over time.
Please wire it up so there is a clear training script and a separate test script. When I run it, I should be able to train the agent, then evaluate it on data and see easy to understand results like final balance, profit or loss, number of trades, and maybe a basic plot or log of actions over time. Keep the code clean and beginner friendly, since I may want to tweak the strategy later.
If anything is missing, make sensible choices and add short comments so I can follow what is happening. Use the existing files as the starting structure, and look up current docs online if you need to.
Want more depth? Deep Reverse