Documentation
README
Set up the complete Python backtesting environment for VectorBT + OpenAlgo.
Arguments
$0= Python version (optional, default:python3). Examples:python3.12,python3.13
Steps
Step 1: Detect Operating System
Run the following to detect the OS:
uname -s 2>/dev/null || echo "Windows"
Map the result:
Darwin= macOSLinux= LinuxMINGW*orCYGWIN*orWindows= Windows
Print the detected OS to the user.
Step 2: Create Virtual Environment
Create a Python virtual environment in the current working directory:
macOS / Linux:
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
Windows:
python -m venv venv
venv\Scripts\activate
pip install --upgrade pip
This is the opening of the README. Read the full README on GitHub.