Indian Market Structure logo

Indian Market Structure

Community
Shubhamkumartrichy
indian-market-structure

Reference for how Indian stock markets work: NSE/BSE sessions and timings (pre-open, closing VWAP, post-close, block windows, Muhurat), T+1 settlement, optional T+0, product types (CNC, MIS, NRML, MTF), order types (limit, SL, SL-M, GTT, AMO), circuit limits and market-wide circuit breakers, surveillance frameworks (ASM, GSM, ESM, trade-for-trade), F&O ban and MWPL, margins and the 50% cash rule, DDPI/eDIS, corporate actions, and the 2026 trading-holiday calendar. Use when the user asks about market timings, holidays, why an order was rejected, circuits, T+1, BTST, auto square-off, GTT vs stop-loss orders, ASM/GSM stocks, F&O ban, margin rules, record and ex-dates, or any "how does the Indian market work" question. Other skills consult it for time-of-day and holiday checks.

Overview

PublisherShubhamkumartrichy
Repositoryclaude-trading-skills-india
Skill nameindian-market-structure
Stars
57
Forks
11
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Shubhamkumartrichy on GitHub. Read the source before you install it.

Installation

Install the Indian Market Structure AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Shubhamkumartrichy/claude-trading-skills-india/tree/main/skills/indian-market-structure
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Shubhamkumartrichy/claude-trading-skills-india.git /tmp/claude-trading-skills-india
mkdir -p .claude/skills
cp -r /tmp/claude-trading-skills-india/skills/indian-market-structure .claude/skills/indian-market-structure
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Indian Market Structure in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Indian Market Structure on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Indian Market Structure is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Indian Market Structure

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.

Exchanges and regulator

  • NSE (National Stock Exchange) has most cash-market volume and nearly all index-options volume (NIFTY).
  • BSE (Bombay Stock Exchange) runs SENSEX derivatives, and many small companies list only here.
  • SEBI is the regulator. NSDL/CDSL are the depositories holding your demat shares.
  • NSE IX in GIFT City lists GIFT Nifty, a USD-denominated NIFTY future traded for nearly 21 hours. Indian traders use it as the overnight indicator for the next open.
  • MCX handles commodities, which are out of scope here.

Daily timeline (equity cash and F&O, IST)

TimeSessionNotes
08:45–09:00Morning block-deal windowLarge negotiated trades
09:00–09:08Pre-open order entryRandom close in the last minute. Orders can be modified or cancelled
09:08–09:12Pre-open matchingEquilibrium (opening) price discovered by call auction
09:12–09:15BufferUnmatched pre-open orders move to the normal market
09:15–15:30Normal marketContinuous trading
14:05–14:20Afternoon block-deal window—
15:00–15:30Closing-price windowNSE cash closing price = VWAP of the last 30 minutes, not the last trade
15:40–16:00Post-close sessionTrades only at the closing price
After hoursAMOAfter-market orders queue for the next pre-open/open
  • F&O trades 09:15–15:30. Since 8 Dec 2025 current-month index and stock futures also have a 09:00–09:08 pre-open.
  • IPO listing day / relisted stocks: special pre-open 09:00–10:00 (call auction), then normal trading from 10:00.
  • MIS auto square-off: brokers close intraday positions around 15:15–15:25. Many charge ₹50 + GST per auto-squared order.
  • Muhurat trading: a short evening session on Diwali (Sunday 8 Nov 2026; timings come by circular).
  • Special sessions happen: for example, Sunday 1 Feb 2026 (Union Budget) ran 09:15–15:00.

Holidays

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.

Settlement

  • T+1 rolling for all equity. Buy on Monday and shares reach your demat on Tuesday. Sell proceeds are usable for trading immediately (with limits), and withdrawable after T+1.
  • Optional T+0 (same-day settlement) exists for a list of up to 500 large stocks, but broker support is limited. Check with the broker before assuming it.
  • Selling from demat needs authorisation: either a one-time DDPI or per-sale eDIS/TPIN through CDSL/NSDL. Without one, sell orders from holdings are rejected. The Groww MCP also requires DDPI for sells.
  • BTST (buy today, sell tomorrow before delivery) works but carries short-delivery risk. If the original seller fails to deliver, the shares go to auction and the close-out price can be punitive.
  • Ex-date = record date under T+1. To receive a dividend, bonus or rights entitlement, you must hold the shares at the end of the day before the record date.

Product types

CodeMeaningKey rules
CNCDelivery (cash and carry)Full payment. Shares go to demat
MISIntradayMargin at least 20% (max 5x leverage). Auto squared off before close
NRMLF&O carry-forwardSPAN + exposure margin. Position carries to the next day
MTFMargin Trading FacilityBroker funds part of a delivery buy. Shares are pledged. Daily interest (≈12–18% a year)
  • Upfront margins. SEBI peak-margin rules require full margin upfront. Shortfalls attract penalties.
  • 50:50 rule. At least half of F&O margin must be cash or cash-equivalents (liquid funds and G-secs count). Pledged shares, after a haircut, can make up the rest.
  • Option buyers pay the full premium upfront. Option sellers post SPAN + exposure. A naked NIFTY short needs far more margin than a hedged spread, so check the broker's basket margin calculator.

Order types

TypeBehaviourUse / caveat
LimitExecutes at your price or betterDefault choice, especially for options and small caps
MarketExecutes at the best available priceBrokers add price protection. Dangerous in illiquid strikes and small caps
SL (stop-loss limit)Becomes a limit order when the trigger is hitSet a limit beyond the trigger (buffer) so it fills in fast moves
SL-M (stop-loss market)Becomes a market order at the triggerMany brokers block it for options and illiquid contracts
GTTGood-till-triggered (often up to 1 year), stored at the brokerThe 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
AMOPlaced after hoursEnters the next pre-open/open
IcebergSplits a large order into legsLarge 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.

Price bands and circuits

  • Stocks outside F&O have fixed daily price bands of 2%, 5%, 10% or 20%, revised periodically by the exchanges. At an upper circuit there are only buyers; at a lower circuit only sellers. You may be unable to exit, and stop orders will not fill.
  • F&O stocks have no fixed band. They have dynamic operating ranges (≈10%) that exchanges relax in steps when hit.
  • Market-wide circuit breakers apply on NIFTY or SENSEX, whichever breaches first. Trigger levels are computed daily from the previous close:
MoveBefore 13:0013:00–14:30After 14:30
10%45-min halt15-min haltNo halt
15%1 h 45 min halt45 min (13:00–14:00), rest of day after 14:00Rest of day
20%Rest of dayRest of dayRest of day

Trading resumes with a 15-minute pre-open call auction after a halt.

Surveillance and special series

Details are in references/surveillance-and-series.md. In short:

  • ASM (Additional Surveillance Measure, long-term and short-term) brings higher margins (up to 100%) and is triggered by abnormal price/volume.
  • GSM (Graded Surveillance Measure, stages 0–IV) is for fundamentally weak, low-price stocks. Effects include trade-for-trade settlement, deposits, and trading allowed only weekly at higher stages.
  • ESM (Enhanced Surveillance Measure) targets small companies (market cap below ₹500 crore). Stage I brings a 5% band and trade-for-trade; stage II brings a 2% band and periodic call auctions.
  • Series: 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.

F&O mechanics that affect traders

  • One weekly index expiry per exchange: NIFTY weekly expires Tuesday (NSE) and SENSEX weekly Thursday (BSE), in force since 1 Sep 2025. BANKNIFTY, FINNIFTY, MIDCPNIFTY and NIFTYNXT50 are monthly only, on the last Tuesday. BSE monthlies (SENSEX, BANKEX) expire on the last Thursday. Stock F&O is monthly, on the last Tuesday.
  • Lot sizes (verified Oct 2026): NIFTY 65, BANKNIFTY 30, FINNIFTY 60, MIDCPNIFTY 120, NIFTYNXT50 25, SENSEX 20, BANKEX 30. Contracts are sized to about ₹15 lakh or more, and lot sizes are revised periodically.
  • Stock F&O is physically settled. In-the-money stock options and futures held into expiry become delivery obligations. Brokers raise margins sharply in expiry week and may square off.
  • F&O ban: when a stock's open interest crosses 95% of its market-wide position limit (MWPL), no new positions are allowed until it falls below 80%. OI has been measured on a delta-based (future-equivalent) basis since Dec 2025. Exchanges publish the ban list daily.
  • Expiry-day rules: an extra 2% extreme-loss margin on short options, and no calendar-spread margin benefit on expiry day.
  • SEBI retail algo framework (fully in force from 1 Apr 2026): API orders must come from a registered app with a whitelisted static IP, and algos above exchange thresholds must be registered.

Corporate actions

  • Bonus and split: price adjusts on the ex-date. Check that charts and indicator history are adjusted.
  • Dividend: price drops by roughly the dividend on the ex-date. It is taxed at your slab rate, with TDS of 10% above ₹10,000 per company per year.
  • Demerger: a new symbol lists later, and the parent's price drops on the ex-date. Cost-of-acquisition split ratios come from the company.
  • Buyback (tender): taxed as capital gains for shareholders from 1 Apr 2026, replacing the deemed-dividend treatment used from Oct 2024 to Mar 2026.
  • Rights issue: entitlements (REs) trade separately for a few days.

Answering style

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.").

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Indian Market Structure AI skill do?

Reference for how Indian stock markets work: NSE/BSE sessions and timings (pre-open, closing VWAP, post-close, block windows, Muhurat), T+1 settlement, optional T+0, product types (CNC, MIS, NRML, MTF), order types (limit, SL, SL-M, GTT, AMO), circuit limits and market-wide circuit breakers, surveillance frameworks (ASM, GSM, ESM, trade-for-trade), F&O ban and MWPL, margins and the 50% cash rule, DDPI/eDIS, corporate actions, and the 2026 trading-holiday calendar. Use when the user asks about market timings, holidays, why an order was rejected, circuits, T+1, BTST, auto square-off, GTT vs s...

Why use Indian Market Structure on TypingMind?

Because you install it once and use it with any model. Indian Market Structure is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Indian Market Structure in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Shubhamkumartrichy/claude-trading-skills-india/tree/main/skills/indian-market-structure. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Indian Market Structure?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Indian Market Structure?

As many as you like. As long as a model supports skills, you can use Indian Market Structure with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Indian Market Structure AI skill free?

Yes. It is published on GitHub by Shubhamkumartrichy under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇