cryptofish7/jesse ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python app for BTC USDT perpetual futures strategy testing and paper trading.
I want to be able to write simple trading strategies in Python, run them against historical 1 minute candle data, and then switch the same strategy into live paper trading with automatic state saving so it can recover after a crash. It should support multiple timeframes like 1m, 5m, 15m, 1h, 4h, 1d, and 1w, and each candle should include things like open interest and cumulative volume delta.
Please include a command line flow for fetching data, running backtests, and running forward tests, plus Discord alerts when trades open and close. I also want performance results like win rate, profit factor, equity curve, and trade history charts, with outputs saved somewhere easy to find.
Make sure there are a few example strategies I can run right away, like a moving average crossover, RSI mean reversion, a breakout setup, and a simple multi timeframe trend strategy. If anything is unclear, look up current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit