nbucci4325/StockGA ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python project that can take a stock ticker and figure out a trading strategy for it.
I want it to do two steps. First, train a neural network on historical stock data to predict the stock’s forward volatility over the next few weeks. Then use that volatility estimate to help choose how aggressively a genetic algorithm explores different trading strategy settings for that specific stock.
The app should be able to train once, save the model, then later run on a single ticker like AAPL and output the predicted volatility, the crossover rate, and the stock data with technical indicators ready for the strategy search. After that, it should run the genetic algorithm on the ticker’s historical prices and return a live BUY, SELL, or HOLD style decision.
Please keep the config in one place, use common market data and machine learning libraries, and make it easy to run from the command line. If you need to look up current docs online, go ahead.
Are you gonna build this?
make sure you review the code using coderabbit