/india-trading-skills:indian-market-structurefrom india-trading-skills
Reference for Indian stock market mechanics: NSE/BSE sessions, T+1 settlement, product/order types, circuits, surveillance frameworks, F&O bans, margins, corporate actions, and the 2026 holiday calendar.
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.
Facts verified on 31 Oct 2026. Exchanges change rules by circular. When a detail matters for money, confirm it on nseindia.com, bseindia.com, or the broker's help pages.
| Time | Session | Notes |
|---|---|---|
| 08:45–09:00 | Morning block-deal window | Large negotiated trades |
| 09:00–09:08 | Pre-open order entry | Random close in the last minute. Orders can be modified or cancelled |
| 09:08–09:12 | Pre-open matching | Equilibrium (opening) price discovered by call auction |
| 09:12–09:15 | Buffer | Unmatched pre-open orders move to the normal market |
| 09:15–15:30 | Normal market | Continuous trading |
| 14:05–14:20 | Afternoon block-deal window | — |
| 15:00–15:30 | Closing-price window | NSE cash closing price = VWAP of the last 30 minutes, not the last trade |
| 15:40–16:00 | Post-close session | Trades only at the closing price |
| After hours | AMO | After-market orders queue for the next pre-open/open |
The full 2026 list is in references/holidays-2026.md. The remaining 2026 weekday holidays are
Tue 10 Nov (Diwali Balipratipada), Tue 24 Nov (Guru Nanak Jayanti), and Fri 25 Dec
(Christmas). Exchanges can add holidays at short notice: 15 Jan 2026 (Maharashtra civic polls) was
announced three days ahead, and that day's expiries moved a day earlier. When an expiry falls on a
holiday, it moves to the previous trading day.
| Code | Meaning | Key rules |
|---|---|---|
| CNC | Delivery (cash and carry) | Full payment. Shares go to demat |
| MIS | Intraday | Margin at least 20% (max 5x leverage). Auto squared off before close |
| NRML | F&O carry-forward | SPAN + exposure margin. Position carries to the next day |
| MTF | Margin Trading Facility | Broker funds part of a delivery buy. Shares are pledged. Daily interest (≈12–18% a year) |
| Type | Behaviour | Use / caveat |
|---|---|---|
| Limit | Executes at your price or better | Default choice, especially for options and small caps |
| Market | Executes at the best available price | Brokers add price protection. Dangerous in illiquid strikes and small caps |
| SL (stop-loss limit) | Becomes a limit order when the trigger is hit | Set a limit beyond the trigger (buffer) so it fills in fast moves |
| SL-M (stop-loss market) | Becomes a market order at the trigger | Many brokers block it for options and illiquid contracts |
| GTT | Good-till-triggered (often up to 1 year), stored at the broker | The only way to keep a stop alive across days for CNC holdings. On trigger it places a limit order, which may not fill on a gap |
| AMO | Placed after hours | Enters the next pre-open/open |
| Iceberg | Splits a large order into legs | Large F&O orders above the exchange freeze quantity must be split |
Day validity. Regular SL/SL-M orders are DAY orders. They expire at close, and a delivery stop must be re-placed daily or converted to GTT.
| Move | Before 13:00 | 13:00–14:30 | After 14:30 |
|---|---|---|---|
| 10% | 45-min halt | 15-min halt | No halt |
| 15% | 1 h 45 min halt | 45 min (13:00–14:00), rest of day after 14:00 | Rest of day |
| 20% | Rest of day | Rest of day | Rest of day |
Trading resumes with a 15-minute pre-open call auction after a halt.
Details are in references/surveillance-and-series.md. In short:
EQ is normal; BE/BZ are trade-for-trade (no intraday netting, every trade settles
by delivery); SM/ST are SME-platform stocks with large lots. BSE uses groups (A, B, T, X, XT, Z, M/MT).A stock entering ASM/GSM/ESM is a governance and liquidity red flag, not a buying opportunity.
When asked "can I do X now?", check the IST time and holiday calendar first. Then state the rule, the reason, and what the user should do instead (for example: "Your SL order expired at 15:30. Place a GTT so the stop survives overnight.").
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
indian-stock-market, nse, bse, trading-sessions, settlement, trading-holidays
npx claudepluginhub shubhamkumartrichy/claude-trading-skills-india --plugin india-trading-skills35 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