Skill / SKILL.md

Backtest Lab

Shubhamkumartrichy/claude-trading-skills-india

Backtests rule-based swing ideas on NSE/BSE daily bars with Indian frictions built in: decide on the close and fill at the next open, gap-through stops, slippage, exact per-trade charges by segment and broker (STT, stamp duty, GST, DP), whole shares or lots, circuit-band no-fills, futures-only shorts and an optional STCG/LTCG estimate. Six built-in strategies; CAGR vs buy-and-hold, drawdown, Sharpe/Sortino, profit factor, expectancy in ₹ and R; parameter sweeps with a plateau-or-spike read, walk-forward and Monte Carlo. backtest.py, stdlib only, offline. Use when the user asks: "backtest this strategy", "would a 20/50 crossover have worked on X", "is this edge real or curve-fit", "optimise my parameters", "walk-forward test", "Monte Carlo my trades", "what drawdown should I expect", "do charges kill this idea", "does a NIFTY 200-DMA filter help", or before putting real money behind any mechanical rule.
2 views 80 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Backtests rule-based swing ideas on NSE/BSE daily bars with Indian frictions built in: decide on the close and fill at the next open, gap-through stops, slippage, exact per-trade charges by segment and broker (STT, stamp duty, GST, DP), whole shares or lots, circuit-band no-fills, futures-only shorts and an optional STCG/LTCG estimate. Six built-in strategies; CAGR vs buy-and-hold, drawdown, Sharpe/Sortino, profit factor, expectancy in ₹ and R; parameter sweeps with a plateau-or-spike read, walk-forward and Monte Carlo. backtest.py, stdlib only, offline. Use when the user asks: "backtest this strategy", "would a 20/50 crossover have worked on X", "is this edge real or curve-fit", "optimise my parameters", "walk-forward test", "Monte Carlo my trades", "what drawdown should I expect", "do charges kill this idea", "does a NIFTY 200-DMA filter help", or before putting real money behind any mechanical rule.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/Shubhamkumartrichy/claude-trading-skills-india' skill-source

Use the complete skill-source/skills/backtest-lab directory with your client’s skill installer.

Source directory skills/backtest-lab

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
142b3ee44142708647882066b9f7938f40963592a8e0c77e1207e291e1c5603a
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills