quick-stats

Inline backtest runner for Indian equities with EMA crossover strategy and benchmark comparison. Fetches OHLC data from OpenAlgo (with yfinance fallback) and runs a TA-Lib EMA 10/20 crossover strategy without file creation Applies Indian delivery fees (0.111% + Rs 20 per order) and automatically fetches NIFTY benchmark for alpha calculation Prints compact results summary including total return, Sharpe/Sortino ratios, max drawdown, win rate, and profit factor with plain-language metric explanations Generates an interactive Plotly equity curve chart and accepts symbol, exchange, and interval as command arguments with sensible defaults (SBIN, NSE, daily)

INSTALLATION
npx skills add https://github.com/marketcalls/vectorbt-backtesting-skills --skill quick-stats
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

$2a

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

BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card