A backtest runner that keeps things inline and focused on Indian equities. You give it a symbol like SBIN or RELIANCE, it pulls data from OpenAlgo or yfinance, runs an EMA 10/20 crossover using TA-Lib, and prints stats with proper Indian delivery fees baked in. It benchmarks against NIFTY automatically and explains metrics in plain language, which is helpful if you're not steeped in quant jargon. The whole thing outputs code you paste into a Jupyter cell or run as a script, no file juggling required. Good for quick sanity checks on a strategy before you build something heavier, though you're locked into that one EMA crossover setup.

skills.sh installs
2.1K
GitHub stars
223
last updated
Aug 21, 2026

Install

$ npx -y skills add marketcalls/vectorbt-backtesting-skills --skill quick-stats --agent claude-code

Installs into .claude/skills of the current project.

Files

Generate a quick inline backtest and print stats. Do NOT create a file - output code directly for the user to run or execute in a notebook.

Arguments

  • $0 = symbol (e.g., SBIN, RELIANCE). Default: SBIN
  • $1 = exchange. Default: NSE
  • $2 = interval. Default: D

Instructions

Generate a single code block the user can paste into a Jupyter cell or run as a script. The code must:

  1. Fetch data from OpenAlgo (or DuckDB if user provides a DB path, or yfinance as fallback)
  2. Use OpenAlgo ta for EMA 10/20 crossover by default (never VectorBT built-in); only use TA-Lib if the user explicitly says "talib"/"TA-Lib"
  3. Clean signals with ta.exrem() (always .fillna(False) before exrem)
  4. Use Indian delivery fees: fees=0.00111, fixed_fees=20
  5. Fetch NIFTY benchmark via OpenAlgo (symbol="NIFTY", exchange="NSE_INDEX")
  6. Print a compact results summary:

Sponsors

Details

Repository
github.com/marketcalls/vectorbt-backtesting-skills
Categories
Data Science & ML, Finance & Trading
First seen
Apr 16, 2026

More from marketcalls/vectorbt-backtesting-skills

All 6
1k-dense-ai avatarstable-baselines3k-dense-ai/scientific-agent-skillsProduction-ready reinforcement learning algorithms (PPO, SAC, DQN, TD3, DDPG, A2C) with scikit-learn-like API. Use for standard RL experiments, quick prototypin2.1Kskills.sh installs
2catalyst-cooperative avatarpudlcatalyst-cooperative/agent-skillsExplore and understand PUDL energy data: discover which tables exist, look up column meanings and usage warnings, and load Parquet files from S3 or a local dire2.1Kskills.sh installs
3k-dense-ai avatarhypogenick-dense-ai/scientific-agent-skillsPlans and audits use of ChicagoHAI HypoGeniC/HypoRefine for LLM-assisted hypothesis generation from labeled text datasets. Use for the `hypogenic` package, its 2.1Kskills.sh installs
4k-dense-ai avatarpydeseq2k-dense-ai/scientific-agent-skillsDifferential gene expression analysis for bulk RNA-seq with PyDESeq2, including formulaic designs, Wald tests, FDR correction, LFC shrinkage, and result visuali2Kskills.sh installs
5k-dense-ai avatarmedchemk-dense-ai/scientific-agent-skillsMedicinal chemistry filters for compound triage. Apply drug-likeness rules (Lipinski, Veber, CNS), structural alert catalogs (PAINS, NIBR, ChEMBL), complexity m2Kskills.sh installs
6k-dense-ai avatarmolfeatk-dense-ai/scientific-agent-skillsMolecular featurization for ML (100+ featurizers). ECFP, MACCS, descriptors, pretrained models (ChemBERTa), convert SMILES to features, for QSAR and molecular M2Kskills.sh installs