/backtestingpy-webui

quick and dirty backtesting.py flask app for demo

Primary LanguagePython

ORB Backtesting Web Application

A Flask-based web application for interactive backtesting of an ORB strategy using backtesting.py

Features

  • 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

Installation and Usage

  1. Install packages
pip install -r requirements.txt
  1. Start the Flask application:
python app.py
  1. Open your web browser and navigate to http://localhost:5001

  2. Set your desired parameters

  3. Click "Run Backtest" to execute the strategy

  4. View results

  5. Download trade log as CSV for further analysis