How to Use and Setup

This section guides you through the process of setting up and using the Stock-Backtester tool.

Setup

  1. Install Dependencies:
    pip install tkinter pandas yfinance sv_ttk datetime tkcalendar matplotlib
  2. Clone the Repository: (If you have a git repo, add the clone command here)
  3. Run the Application: (Add the command to run the python file here)

Usage

Basic Operation

  1. Launch the Application.
  2. Enter Stock Tickers: Input stock tickers (comma-separated).
  3. Specify Allocations: Choose between percentage-based or fixed-dollar allocations and enter the values.
  4. Select Date Range: Choose a date range for the analysis.
  5. Choose Benchmark: Select a benchmark stock for comparison.
  6. Run Backtest: Click “Run Backtest” to generate results.

Configuration Management

  • Save Configuration: Save portfolio setups for future use.
  • Load Configuration: Load previously saved setups.
  • Adjust Visualization: Set preferences like logarithmic scale.

Visualization Options

  • Toggle Theme: Switch between dark and light themes.
  • Switch Scale: Toggle between linear and logarithmic scales.
  • Interact with Charts: Explore the dynamic charts.