Complete Python backtesting environment setup with OS detection, virtual environment, dependencies, and configuration.
Works with
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 Cr
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionsetupExecute the skills CLI command in your project's root directory to begin installation:
Fetches setup from marketcalls/vectorbt-backtesting-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate setup. Access via /setup in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
0
total installs
0
this week
119
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
119
stars
Set up the complete Python backtesting environment for VectorBT + OpenAlgo.
$0 = Python version (optional, default: python3). Examples: python3.12, python3.13Run the following to detect the OS:
uname -s 2>/dev/null || echo "Windows"
Map the result:
Darwin = macOSLinux = LinuxMINGW* or CYGWIN* or Windows = WindowsPrint the detected OS to the user.
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
If the user specified a Python version argument, use that instead of python3:
$PYTHON_VERSION -m venv venv
TA-Lib requires a C library installed at the OS level BEFORE pip install ta-lib.
macOS:
brew install ta-lib
Linux (Debian/Ubuntu):
sudo apt-get update
sudo apt-get install -y build-essential wget
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
tar -xzf ta-lib-0.4.0-src.tar.gz
cd ta-lib/
./configure --prefix=/usr
make
sudo make install
cd ..
rm -rf ta-lib ta-lib-0.4.0-src.tar.gz
Linux (RHEL/CentOS/Fedora):
sudo yum groupinstall -y "Development Tools"
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
tar -xzf ta-lib-0.4.0-src.tar.gz
cd ta-lib/
./configure --prefix=/usr
make
sudo make install
cd ..
rm -rf ta-lib ta-lib-0.4.0-src.tar.gz
Windows:
pip install ta-lib
If that fails, download the appropriate .whl file from https://github.com/cgohlke/talib-build/releases and install with:
pip install TA_Lib-0.4.32-cp312-cp312-win_amd64.whl
Install all required packages (latest versions):
pip install openalgo vectorbt plotly anywidget nbformat ta-lib pandas numpy yfinance python-dotenv tqdm scipy numba nbformat ipywidgets quantstats ccxt duckdb psutil
Create only the top-level backtesting directory. Strategy subfolders are created on-demand when a backtest script is generated (by the /backtest skill).
mkdir -p backtesting
Do NOT pre-create strategy subfolders.
6a. Check if .env.sample exists at the project root. If it does, use it as a template.
6b. Ask the user which markets they will be backtesting using AskUserQuestion:
6c. If the user selected Indian Markets, ask for their OpenAlgo API key:
.env6d. If the user selected Indian Markets (DuckDB), ask for the DuckDB database path:
market_data table with symbol, exchange, interval, timestamp columns, it is OpenAlgo Historify format (store as HISTORIFY_DB_PATH). Otherwise store as DUCKDB_PATH.6e. If the user selected Crypto Markets, ask if they want to configure exchange API keys:
.env.env6f. Write the .env file in the project root directory. Use this template, filling in any keys/paths the user provided:
# Indian Markets (OpenAlgo)
OPENALGO_API_KEY={user_provided_key or "your_openalgo_api_key_here"}
OPENALGO_HOST=http://127.0.0.1:5000
# DuckDB Data Sources (direct database loading - fastest)
# Custom DuckDB (user-created with OHLCV table)
DUCKDB_PATH={user_provided_path or ""}
# OpenAlgo Historify DuckDB (market_data table with epoch timestamps)
HISTORIFY_DB_PATH={user_provided_path or ""}
# Crypto Markets (CCXT) - Optional
CRYPTO_API_KEY={user_provided_key or ""}
CRYPTO_SECRET_KEY={user_provided_key or ""}
6g. Add .env to .gitignore if it exists (never commit secrets):
Scripts use find_dotenv() to automatically walk up and find the single root .env, so no copies are needed in subdirectories.
grep -qxF '.env' .gitignore 2>/dev/null || echo '.env' >> .gitignore
Run a quick verification:
python -c "
import vectorbt as vbt
import openalgo
import plotly
import talib
import duckdb
import anywidget
import nbformat
import quantstats as qs
from dotenv import load_dotenv
print('All packages installed successfully')
print(f' vectorbt: {vbt.__version__}')
print(f' plotly: {plotly.__version__}')
print(f' duckdb: {duckdb.__version__}')
print(f' nbformat: {nbformat.__version__}')
print(f' quantstats: {qs.__version__}')
print(f' TA-Lib: available')
print(f' python-dotenv: available')
"
If TA-Lib import fails, inform the user that the C library needs to be installed first (see Step 3).
Print a summary showing:
/backtest).env file status (configured with keys / placeholder) — single file at project rootcp .env.sample .env and fill in API keys if you skipped configuration"brew install ta-lib.env files — they contain secrets. Always use .gitignore..env — do not ask them to edit the file manuallypython-dotenv is included in the pip install and must be used by all scripts to load .envMake data-driven prioritization decisions faster
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Prerequisites
Time Estimate
30-60 minutes to see productivity improvements
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
mattpocock/skills
parcadei/continuous-claude-v3
cursor/plugins
ailabs-393/ai-labs-claude-skills
pproenca/dot-skills
ailabs-393/ai-labs-claude-skills
Keeps context tight: setup is the kind of skill you can hand to a new teammate without a long onboarding doc.
setup has been reliable in day-to-day use. Documentation quality is above average for community skills.
setup reduced setup friction for our internal harness; good balance of opinion and flexibility.
setup fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
setup fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
We added setup from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
setup reduced setup friction for our internal harness; good balance of opinion and flexibility.
setup is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
We added setup from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
Keeps context tight: setup is the kind of skill you can hand to a new teammate without a long onboarding doc.
showing 1-10 of 70