quick-stats

Installation
SKILL.md

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 TA-Lib for EMA 10/20 crossover (never VectorBT built-in)
  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:
Installs
1.1K
GitHub Stars
154
First Seen
Feb 25, 2026
quick-stats — marketcalls/vectorbt-backtesting-skills