An open API service indexing awesome lists of open source software.

https://github.com/marketcalls/vectorbt-streamlit

Simple VectorBT Streamlit Backtesting App
https://github.com/marketcalls/vectorbt-streamlit

Last synced: about 2 months ago
JSON representation

Simple VectorBT Streamlit Backtesting App

Awesome Lists containing this project

README

          

VectorBT Backtesting Streamlit App



Introduction


This Streamlit application is designed for backtesting trading strategies using the VectorBT library in Python. It provides a user-friendly interface to input various parameters for the trading strategy, such as symbols, dates, EMA periods, and more. Users can perform backtests and view detailed results including backtesting statistics, trades list, equity curve, drawdown, and portfolio plots.

Features


Interactive interface for strategy parameter input.
Integration with VectorBT for sophisticated backtesting.
Visualizations for equity curve, drawdown, and overall portfolio performance.

Requirements


To run this app locally, you need the following:


Python 3.x

Streamlit

vectorbt

yfinance

pandas

numpy

plotly

pytz

Clone the repository:


git clone https://github.com/marketcalls/VectorBT-Streamlit/

Navigate to the app’s directory:

cd .\VectorBT-Streamlit\

Install required libraries:

pip install -r requirements.txt

Run the App



To run the app, execute the following command in the terminal:

streamlit run app.py