How to Use and Setup
This section guides you through the process of setting up and using the Stock-Backtester tool.
Setup
- Install Dependencies:
pip install tkinter pandas yfinance sv_ttk datetime tkcalendar matplotlib - Clone the Repository: (If you have a git repo, add the clone command here)
- Run the Application: (Add the command to run the python file here)
Usage
Basic Operation
- Launch the Application.
- Enter Stock Tickers: Input stock tickers (comma-separated).
- Specify Allocations: Choose between percentage-based or fixed-dollar allocations and enter the values.
- Select Date Range: Choose a date range for the analysis.
- Choose Benchmark: Select a benchmark stock for comparison.
- 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.