A Flask-based web application for interactive backtesting of an ORB strategy using backtesting.py
- Interactive Parameter Control: Adjust slippage, commissions
- Real-time Backtesting: Run backtests server-side
- Interactive Charts: View equity curves, drawdowns, and trade returns using Plotly
- Detailed Trade Log: See all trades with entry/exit dates, prices, and P&L
- Performance Metrics: Comprehensive strategy performance analysis
- Export Functionality: Download trade logs as CSV files
- Install packages
pip install -r requirements.txt- Start the Flask application:
python app.py-
Open your web browser and navigate to
http://localhost:5001 -
Set your desired parameters
-
Click "Run Backtest" to execute the strategy
-
View results
-
Download trade log as CSV for further analysis