/india-trading-skills:trading-costsfrom india-trading-skills
Computes exact trading charges for Indian equity and F&O trades on NSE/BSE including brokerage (Zerodha, Groww, Angel One, Upstox, Dhan or custom), STT, exchange fees, SEBI fee, stamp duty, GST, DP charges, and MTF interest. Includes a calculator script with current (Oct 2026) rates and the Apr 2026 F&O STT hike.
Ships in india-trading-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Costs are the one part of a trade you know in advance. Compute them exactly, because they decide whether small-edge strategies (scalping, frequent option trades) are viable at all.
python3 scripts/charges.py --segment delivery --buy 1800 --sell 1900 --qty 100 --broker zerodha
python3 scripts/charges.py --segment intraday --buy 2450 --sell 2465 --qty 200 --broker all # compare brokers
python3 scripts/charges.py --segment options --buy 120 --sell 150 --qty 130 --broker groww # 2 NIFTY lots
python3 scripts/charges.py --segment futures --buy 25000 --sell 25100 --qty 65 --exchange NSE
python3 scripts/charges.py --segment mtf --buy 500 --sell 540 --qty 400 --broker zerodha --mtf-days 20 --mtf-funded 100000
python3 scripts/charges.py ... --brokerage-pct 0.05 --brokerage-cap 20 # any other broker
python3 scripts/charges.py ... --json # machine-readable
Options prices are premiums per unit, and --qty is in units (lots × lot size). Pass only --buy
or only --sell to price one leg. The report shows the breakeven sell price (long) and buy-back price
(short).
| Charge | Delivery | Intraday | Futures | Options |
|---|---|---|---|---|
| STT | 0.1% buy and sell | 0.025% sell | 0.05% sell (was 0.02% before 1 Apr 2026) | 0.15% of premium, sell (was 0.1%). Exercised ITM: 0.15% of intrinsic value |
| NSE transaction | 0.00307% | 0.00307% | 0.00183% | 0.03553% of premium |
| BSE transaction | 0.00375% (A/B group) | 0.00375% | 0 | 0.0325% of premium |
| SEBI fee | ₹10 / crore | ₹10 / crore | ₹10 / crore | ₹10 / crore |
| Stamp duty (buy side) | 0.015% | 0.003% | 0.002% | 0.003% |
| GST | 18% on brokerage + transaction + SEBI fee (+ DP charge) | ← | ← | ← |
| DP charge | per scrip per sell day (broker-specific, ~₹13–20 + GST) | — | — | — |
NSE also levies an IPFT (investor protection fund) charge of ₹0.01 per crore, which is negligible. Contract notes round STT and stamp duty to the nearest rupee.
| Broker | Delivery | Intraday | Futures | Options | DP (pre-GST) | MTF interest |
|---|---|---|---|---|---|---|
| Zerodha | ₹0 | 0.03% or ₹20 (lower) | 0.03% or ₹20 | ₹20 flat | ₹13 | 0.04%/day |
| Groww | 0.1% or ₹20 (lower), min ₹5 | same | ₹20 flat | ₹20 flat | ₹20 | 14.95% p.a. |
| Angel One | 0.1% or ₹20, min ₹5 | same | ₹20 flat | ₹20 flat | ₹20 | 0.041%/day |
| Upstox | ₹20 flat | 0.1% or ₹20 | 0.05% or ₹20 | ₹20 flat | ₹20 | ₹20/day per ₹40k |
| Dhan | ₹0 | 0.03% or ₹20 | ₹20 flat | ₹20 flat | ₹12.5 | 12.49–15.49% p.a. (tiered) |
Brokerage in the cash segment can never exceed 2.5% of trade value (exchange cap). Introductory offers, plans such as Upstox Plus, and NRI pricing differ. Verify on the broker's page and pass overrides when needed.
indian-tax-for-traders.Charges for [trade]: ₹X total (Y% of turnover, Z% of gross P&L)
Brokerage ₹.. | STT ₹.. | Exchange ₹.. | Stamp ₹.. | GST ₹.. | DP ₹..
Net P&L: ₹N | Breakeven: ₹B (+P pts)
Cheapest broker for this trade: … (statutory charges are the same everywhere)
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub xdhruv/claude-trading-skills-india-mv --plugin india-trading-skills36 skills in this plugin
/backtest-labBacktests 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.
/breakout-plannerStage-2 breakout setups on NSE/BSE stocks: a trend-template check (rising 200 DMA, 50>150>200
stack, distance from 52-week high/low, relative strength vs NIFTY), base detection (volatility
contraction with successively tighter pullbacks, or a flat base) with pivot, depth, duration,
volume dry-up and a grade, then an order-ready plan: trigger, chase limit, capped stop, size,
Indian charges, R targets, GTT/SL templates, circuit-band and NSE tick-size checks. breakout.py
scans a folder of CSVs or yfinance symbols and ranks them, offline-capable.
Use when the user asks: "is X in a Stage 2 uptrend", "find VCP setups", "where is the pivot on X",
"plan a breakout trade in X", "breakout buy point and stop", "scan these stocks for breakouts",
"Minervini trend template for NSE stocks", "how do I place a GTT for a breakout", or any question
about buying stocks as they clear a base.
/broker-integrationConnect Claude to Indian brokers and use them safely: official MCP servers for Groww, Zerodha
Kite, Dhan, Upstox, Fyers and Kotak Neo (endpoints, auth, read vs order capabilities as of Oct 2026),
tool discovery and capability mapping, saving candles for the analysis scripts, a mandatory
order-confirmation protocol, SEBI retail-algo/static-IP rules, and data fallbacks (yfinance, CSV).
Use when the user asks to connect or set up Groww/Zerodha/Kite/Dhan/Upstox/Fyers/Angel One, "fetch my
holdings/positions", "get live price", "place/modify/cancel an order", "set a GTT", "why was my order
rejected", or when another skill needs live data.
/event-calendarOffline calendar of the dates that move Indian markets: NSE/BSE F&O expiries (holiday-shifted),
exchange holidays, long weekends and special sessions, results-season windows (SEBI LODR),
trader tax dates, India macro releases (CPI, WPI, IIP, GDP, PMI, auto sales, GST, AMFI), RBI MPC,
Union Budget, US FOMC/CPI/jobs, NIFTY and MSCI rebalances, plus your own results, board-meeting,
ex-date and lock-in events. Every date is labelled computed, expected-by-rule, verified (with
source) or unverified. events.py exports .ics and answers "is there event risk in my holding
window?".
Use when the user asks: "what's on this week", "economic calendar India", "when is the next RBI
policy", "when is expiry", "is Monday a holiday", "events before my exit date", "any event risk
in this trade", "Fed meeting date", "when is CPI", "Budget date", "results season dates",
"advance tax due date", "export market calendar to Google Calendar", or before any multi-day trade.
/exhaustion-reversalWhen a move on NSE/BSE has run out of buyers or sellers. exhaustion.py scores a vertical run-up
0-100 (stretch above the 20/50/200 DMA, acceleration, run length, range/volume blow-off, late
gaps, upper-circuit streaks, price-band cuts), labels it extended, climax or reversal confirmed,
and plans the exit: scale out and trail with a GTT if you hold, or short only via stock futures or
puts on F&O names after a trigger, sized in lots. Also finds selling-exhaustion hammers for long
entries, judges whether a stock failed to react to news, and scans a universe with F&O tags.
Use when the user asks: "is this stock parabolic", "has the rally topped", "my stock hit upper
circuit five days running, should I sell", "how do I book profit on a multibagger", "can I short
this", "short a stock that ran up 80%", "capitulation or hammer setup", "selling exhaustion",
"results were good but the stock fell, what does it mean", or wants a blow-off top scan.
/fibonacci-tradingFibonacci retracement entry zones and extension targets for NSE/BSE stocks and indices, with
automatic swing detection (ta.py fib), trend-based extensions from the pullback point, and
confluence with moving averages, support/resistance, round numbers and option OI strikes.
Use when the user asks: "fib levels for X", "Fibonacci retracement", "where to buy the pullback",
"golden ratio / 61.8%", "Fib extension targets", "how far can NIFTY fall/rise from here", or gives
a swing high and low to compute levels.
2 plugins ship this exact skill · first indexed Nov 1, 2026
Other plugins' skills for the same job