/india-trading-skills:fno-options-analysisfrom india-trading-skills
Analyzes Indian F&O data for indices and stocks: lot sizes, expiry calendar, option-chain metrics (OI, PCR, max pain), Greeks, IV, India VIX, futures buildup, margins, and SEBI rules.
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.
| Underlying | Exchange | Lot | Expiries | Notes |
|---|---|---|---|---|
| NIFTY | NSE | 65 | Weekly Tuesday + monthly (last Tue) | Among the most traded option contracts globally |
| BANKNIFTY | NSE | 30 | Monthly (last Tue) | No weeklies since Nov 2024 |
| FINNIFTY | NSE | 60 | Monthly (last Tue) | |
| MIDCPNIFTY | NSE | 120 | Monthly (last Tue) | |
| NIFTYNXT50 | NSE | 25 | Monthly (last Tue) | |
| SENSEX | BSE | 20 | Weekly Thursday + monthly (last Thu) | |
| BANKEX | BSE | 30 | Monthly (last Thu) | |
| Stock F&O | NSE | varies | Monthly (last Tue) | Physically settled, European style |
Index options are European and cash-settled. If an expiry day is a holiday, expiry moves to the previous trading day. 2026 had several Tuesday holidays: 3 Mar, 31 Mar, 14 Apr, 20 Oct, 10 Nov and 24 Nov.
python3 scripts/options.py expiries NIFTY --count 6 # holiday-adjusted, flags monthly
python3 scripts/options.py lots
python3 scripts/options.py greeks --spot 23050 --strike 23200 --type CE --iv 14 --expiry 2026-11-03 --lot-size 65
python3 scripts/options.py iv --spot 23050 --strike 23200 --type CE --premium 85 --days 3
python3 scripts/options.py move --spot 23050 --iv 15.3 --days 1 # India VIX → daily 1σ
python3 scripts/options.py chain nifty_chain.csv --spot 23050 # NSE CSV download or simple CSV
python3 scripts/options.py buildup --price-change 1.4 --oi-change 9 # futures OI interpretation
--expiry for the exact date.--rate defaults to 6%; pass the current 91-day T-bill yield for precision.strike, call_oi, put_oi, call_chg_oi, put_chg_oi, call_ltp, put_ltp, call_iv, put_iv.
Broker MCPs that expose chains (Dhan with its Data API, Fyers, the Upstox skill) can be saved to that format.| Metric | How to read it | Caveats |
|---|---|---|
| Call OI wall (max call OI strike) | Writers expect price to stay below it, so it acts as resistance into expiry | Walls migrate intraday; read change in OI |
| Put OI wall | Support | Same caveat |
| Change in OI | Fresh writing shows where conviction is today | Writing vs buying can't be separated from OI alone; use price |
| PCR (OI) | >1 means more puts written (supportive); <0.7 call-heavy (bearish lean) | Contrarian at extremes (>1.5 crowded bullish, <0.6 washed out) |
| Max pain | Strike where option buyers' total intrinsic value is lowest | Weak magnet; matters most in the last 1–2 sessions |
| ATM straddle | Premium sum ≈ market's expected move to expiry | Use alongside IV and VIX |
| IV / skew | OTM put IV above OTM call IV is normal (crash protection). Rising skew means fear | Compare to its own history, not to other underlyings |
Combine chain levels with chart levels (technical-analysis). A call wall at a round number that is
also a Fib extension and prior resistance is a strong cap.
India VIX is NIFTY's 30-day implied volatility, annualised on a calendar-day basis.
1σ move over N days ≈ Spot × VIX% × √(N/365)
VIX 15.3, NIFTY 23,050, 1 day → ±185 pts (±0.80%); 7 days → ±488 pts
| VIX | Regime | Implication |
|---|---|---|
| < 12 | Complacent | Options cheap. Favour debit spreads and long options over naked selling |
| 12–18 | Normal | Both sides workable |
| 18–25 | Elevated | Rich premiums. Defined-risk credit spreads, smaller size |
| > 25 | Fear | Gap risk is extreme. Cut size and avoid naked shorts |
Spikes before the Budget, RBI policy, elections and US Fed meetings usually unwind afterwards (IV crush).
| Price | OI | Read |
|---|---|---|
| ↑ | ↑ | Long buildup (bullish) |
| ↓ | ↑ | Short buildup (bearish) |
| ↑ | ↓ | Short covering (bullish, often short-lived) |
| ↓ | ↓ | Long unwinding (bearish, often short-lived) |
Exchanges and brokers publish daily buildup lists. Rollover % and cost of carry near monthly expiry show whether positions are carried forward. Participant-wise OI (FII, DII, Pro, Client), published daily by NSE, shows FII index-futures long/short ratios, which are a positioning gauge.
SEBI's studies found that about 91% of individual F&O traders lost money in FY25 (aggregate
losses ≈ ₹1.06 lakh crore), and about 88% in FY26. Mention this when a beginner asks about F&O, and
steer them toward defined-risk structures, small size, and the position-sizing rules.
NIFTY [spot] | VIX [x] | next expiry [date, weekday] ([n] sessions)
Chain: PCR x.xx ([read]) | max pain ₹.. | call wall .. | put wall .. | ATM straddle .. → range ..–..
Fresh writing: calls at .., puts at ..
Expected move (1σ): ±.. to expiry
Read: [range/bias], levels that would change it: ..
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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