setup

Installation
Summary

Complete Python backtesting environment setup with OS detection, virtual environment, dependencies, and configuration.

  • Detects operating system (macOS, Linux, Windows) and installs TA-Lib system dependencies accordingly
  • Creates isolated Python virtual environment with pip upgrade and installs 15+ packages including vectorbt, openalgo, plotly, ta-lib, duckdb, and quantstats
  • Prompts user to select market data source (Indian Markets via OpenAlgo or DuckDB, US Markets via yfinance, or Crypto via CCXT) and configures .env file with API keys or database paths
  • Creates backtesting folder structure and verifies all package installations with version output
  • Adds .env to .gitignore to prevent accidental secret commits
SKILL.md

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"
Related skills
Installs
792
GitHub Stars
132
First Seen
Feb 27, 2026