Georges999/StockTradingBot ? reverse-engineered prompt
Reverse engineered prompt
Build me a stock trading bot in Python that can pull historical price data, generate buy and sell signals, and optionally place paper trades through Alpaca. I want a simple desktop app where I can pick symbols, choose a timeframe, see the current strategy signal, and view charts with the trades marked on them.
It should support a few different strategies like moving average crossover, RSI, momentum, breakout, and mean reversion, and be smart enough to pick the best one based on market conditions. Please include basic risk controls too, like position sizing, a max number of open positions, and stop loss handling.
I also want a command line mode for running the bot without the GUI, with options for symbols, interval, period, and a signal only mode so I can test before trading. Use paper trading by default, and make it easy to switch to live trading later if I add real API keys. If you need current library details, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit