quick-stats
Quickly fetch data and print key backtest stats for a symbol with a default EMA crossover strategy. No file creation needed - runs inline in a notebook cell or prints to console.
How do I install this agent skill?
npx skills add https://github.com/marketcalls/vectorbt-backtesting-skills --skill quick-statsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is functional for financial backtesting but contains a surface for indirect prompt injection because user-provided arguments are used without sanitization. It generates code meant for manual execution by the user.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
1/1 file flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
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:
Symbol: SBIN | Exchange: NSE | Interval: D
Strategy: EMA 10/20 Crossover
Period: 2023-01-01 to 2026-02-27
Fees: Delivery Equity (0.111% + Rs 20/order)
-------------------------------------------
Total Return: 45.23%
Sharpe Ratio: 1.45
Sortino Ratio: 2.01
Max Drawdown: -12.34%
Win Rate: 42.5%
Profit Factor: 1.67
Total Trades: 28
-------------------------------------------
Benchmark (NIFTY): 32.10%
Alpha: +13.13%
- Explain key metrics in plain language for normal traders
- Show equity curve plot using Plotly (
template="plotly_dark")
Example Usage
/quick-stats RELIANCE
/quick-stats HDFCBANK NSE 1h
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/marketcalls/vectorbt-backtesting-skills/quick-stats">View quick-stats on skillZs</a>