
Quick Stats
Inline EMA 10/20 crossover backtest that prints key stats and NIFTY alpha without creating files.
- skills.sh installs
- 2.1K
- GitHub stars
- 229
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers fetching OHLC data from OpenAlgo, DuckDB, or yfinance, then running an EMA 10/20 crossover backtest
- Uses OpenAlgo
tafor EMAs by default, cleans signals withta.exrem(), and applies Indian delivery fees - Prints a compact summary of return, Sharpe, Sortino, drawdown, win rate, profit factor, trades, and NIFTY alpha
- Designed for traders on NSE who want a quick notebook or console check of a symbol's backtest
Install
$ npx -y skills add marketcalls/vectorbt-backtesting-skills --skill quick-stats -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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:
- Fetch data from OpenAlgo (or DuckDB if user provides a DB path, or yfinance as fallback)
- 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"
- Clean signals with
ta.exrem()(always.fillna(False)before exrem) - Use Indian delivery fees:
fees=0.00111, fixed_fees=20 - Fetch NIFTY benchmark via OpenAlgo (
symbol="NIFTY", exchange="NSE_INDEX") - Print a compact results summary:
Details
- Repository
- github.com/marketcalls/vectorbt-backtesting-skills
- Categories
- Finance & Trading, Data Science & Analytics
- First seen
- Apr 16, 2026
More from marketcalls/vectorbt-backtesting-skills
All 6Similar to Quick Stats
More Finance & Trading
backtestSkillmarketcalls/vectorbt-backtesting-skills3.5K installsGenerates a complete VectorBT backtest script for a chosen strategy on a symbol, with NIFTY benchmarking.
strategy-compareSkillmarketcalls/vectorbt-backtesting-skills2.4K installsSide-by-side strategy comparison script for one symbol, benchmarked against NIFTY with Indian delivery fees.
TradingMCPMCP serveratilaahmettaner5.3K starsMarket data, technical indicators, screeners, and backtests for AI assistants, fetched server-side without a TradingView login.
backtesting-trading-strategiesSkilljeremylongshore/tons-of-skills-marketplace4.2K installsSimulates crypto and traditional trading strategies against historical data, reporting risk-adjusted metrics and equity curves.
indicator-scannerSkillmarketcalls/openalgo-indicator-skills609 installsScans watchlists for technical signals like RSI extremes, EMA crossovers, and Supertrend flips, then exports matches.
Indian NSE Stock InsightsMCP serveralokbarnwal1 starMarket data and analysis for Nifty 500 stocks, covering quotes, candles, indicators, and screening.