Skip to main content
skill CX Codex

fno-options-analysis — Claude Code skill: options analysis

The fno-options-analysis Claude Code skill analyses Indian futures and options, including option chains, volatility, Greeks and expiries. It activates for questions about NIFTY, PCR, India VIX, margins or expiry rules.

MIT ★ 69 updated 2026-11-13

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add Shubhamkumartrichy/claude-trading-skills-india
/plugin install india-trading-skills@india-trading-skills
Open on GitHub

What fno-options-analysis does

The skill analyses derivatives on Indian markets. Its options.py script calculates Greeks, implied volatility and expected moves, reads open interest, and finds expiry dates. For option-chain analysis, provide an NSE CSV download or a simple CSV containing strike data.

It also explains OI levels, PCR and max pain, interprets futures positioning, and covers lot sizes, margins, trading bans and physical settlement. Running the script requires Python 3. Expiry calculations use calendar days up to 15:30 IST.

What it helps with

  • read an NSE option chain from a CSV file
  • estimate NIFTY's expected move using India VIX
  • calculate an option's Greeks and implied volatility
  • find the next expiry and contract lot size
  • interpret futures price and open-interest changes

Example prompts for the agent

  • Analyse nifty_chain.csv with NIFTY spot at 23050.
  • Calculate the Greeks for a CE option with spot 23050 and strike 23200.
  • When do NIFTY options expire, and what is the lot size?

How to install fno-options-analysis

1Plugin marketplace

/plugin marketplace add Shubhamkumartrichy/claude-trading-skills-india
/plugin install india-trading-skills@india-trading-skills

This installs the whole india-trading-skills plugin with all its skills

2Skills CLI (Vercel)

npx skills add Shubhamkumartrichy/claude-trading-skills-india --skill fno-options-analysis -a claude-code

3Manually: put the files in place

~/.claude/skills/fno-options-analysis/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/fno-options-analysis/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about fno-options-analysis

How do I install fno-options-analysis in Claude Code?

Add the marketplace with /plugin marketplace add Shubhamkumartrichy/claude-trading-skills-india, then install the skill using /plugin install india-trading-skills@india-trading-skills.

What does fno-options-analysis do?

It analyses Indian option chains and futures positions, and calculates Greeks, IV and expected moves. It also covers lot sizes, expiry dates, margins and F&O rules.

What does fno-options-analysis need to run its calculations?

The options.py script requires Python 3. For option-chain analysis, provide an NSE CSV download or a simple CSV with strike data.

Source text

SKILL.md · MIT
---
name: fno-options-analysis
description: |
  Indian F&O analysis for NIFTY, BANKNIFTY, FINNIFTY, MIDCPNIFTY, SENSEX and stock derivatives: lot
  sizes, holiday-adjusted expiry calendar (NIFTY Tuesday weekly, SENSEX Thursday weekly), option-chain
  reading (OI walls, change in OI, PCR, max pain, ATM straddle, IV skew), India VIX and expected move,
  Black-Scholes Greeks and IV, futures OI buildup, margins, F&O ban, physical settlement and SEBI's
  2024–26 rule changes. options.py computes all of it from numbers or an NSE option-chain CSV.

  Use when the user asks about option chains, PCR, max pain, OI data, India VIX, IV, Greeks, "what is
  NIFTY's expected move", "when is the next expiry", lot sizes, long/short buildup, F&O ban, margin or
  expiry-day rules.
---

# F&O and Option-Chain Analysis (India)

## Contract basics (verified 31 Oct 2026)

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

```bash
python3 scripts/options.py expiries NIFTY --count 6          # holiday-adjusted, flags monthly
python3 scripts/options.py lots
```

## Toolkit

```bash
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
```

- Time uses calendar days to 15:30 IST on expiry. Use `--expiry` for the exact date.
- `--rate` defaults to 6%; pass the current 91-day T-bill yield for precision.
- Chain input: NSE's option-chain page "Download (.csv)", whose columns mirror around STRIKE, or a
  simple CSV with `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.

## Reading the option chain

| 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 and expected move

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

## Greeks (per unit; multiply by lot size)

- **Delta** is the ₹ change per 1-point move, roughly the probability of expiring in the money.
- **Gamma** is delta's sensitivity. It **explodes on expiry day** for ATM strikes, which is why
  Tuesday/Thursday expiries swing wildly.
- **Theta** is daily decay. It accelerates in the last week, and weekly options lose most of their time
  value in the final 2–3 sessions.
- **Vega** is the ₹ change per 1 vol point. It matters around events.

## Futures OI buildup

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

## Rules that change P&L (SEBI 2024–26)

- Contract value is at least ₹15 lakh at introduction, and lot sizes are revised periodically.
- One weekly index expiry per exchange (NIFTY Tue, SENSEX Thu).
- Option premium is collected upfront from buyers.
- **Expiry day:** an extra 2% ELM on short options, and no calendar-spread margin benefit.
- Intraday position-limit monitoring. OI and the F&O ban have been measured on **delta-based**
  (future-equivalent) OI since Dec 2025. MWPL is reviewed quarterly.
- Pre-open session for current-month futures (09:00–09:08) since Dec 2025.
- **STT from 1 Apr 2026:** futures 0.05% (sell), options 0.15% of premium (sell), and exercised options
  0.15% of intrinsic value. Selling an ITM option before expiry and letting it exercise now cost similar
  STT, so the old "STT trap" is mostly gone.
- **Stock F&O physical settlement:** ITM positions at expiry become delivery or receipt of shares.
  Brokers ramp margins from about 4 sessions before expiry and may square off. Close or roll early.
- **F&O ban:** at more than 95% of MWPL, positions can only be reduced until OI falls below 80%.
- **Retail API algos** need a registered app and a static IP (from 1 Apr 2026).

## Risk reality

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.

## Output

```
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: ..
```

© Shubham Kumar · MIT · Shubhamkumartrichy/claude-trading-skills-india

Similar skills

All skills for Finance and business →
option-vol-analysis official anthropics option-vol-analysis — a skill that analyzes option volatility: compares implied against realized vol, prices options with Greeks and reads the shape of the vol surface. CX Codex +1 2,100installs HPSILab - Quant Finance MCP Server for Stock Analysis and Options Analytics g-scorpiosky HPSILab - Quant Finance MCP Server for Stock Analysis and Options Analytics is a Claude Code MCP server for equity research and options analytics, with volatility checks and Monte Carlo price paths. CX Codex +1 796installs Options Analysis Suite Options-Analysis-Suite Options Analysis Suite connects advanced options analytics, dealer positioning data, and dark pool feeds to your AI assistant. Ideal for evaluating volatility surfaces and trading flows directly in chat. CX Codex +1 ★ 1repo stars longbridge-derivatives longbridge longbridge-derivatives — a skill for Claude Code, Codex, Cursor and other IDEs that pulls options and warrant data for US and Hong Kong markets via Longbridge. Activates on option chain, Greeks, IV, and HK warrant queries. CX Codex +1 3,900installs truenorth Starchild-ai-agent truenorth checks crypto markets across technical indicators, derivatives, options, DeFi activity, token unlocks, and liquidation risk. CX Codex +1 253installs options-strategy-advisor tradermonty options-strategy-advisor is a Claude Code skill that prices options via the Black-Scholes formula, calculates Greeks, and simulates strategy P/L. It evaluates trade risks around earnings events. CX Codex +1 4,100installs

From the same set36

The whole set →
position-sizing The position-sizing Claude Code skill calculates position size and trade risk for Indian equities and F&O. It activates for questions about share or lot counts, risk per trade, and capital allocation. CX Codex +1 ★ 69repo stars technical-analysis The technical-analysis Claude Code skill reads charts for NSE/BSE stocks and indices. The agent invokes it to assess trends, price levels, indicators, and volume. CX Codex +1 ★ 69repo stars broker-integration The broker-integration Claude Code skill connects Indian brokers through MCP servers and handles their market data and orders. It activates for broker setup, quote requests, and trade preparation. CX Codex +1 ★ 69repo stars indian-tax-for-traders The indian-tax-for-traders Claude Code skill explains Indian tax treatment of stock-market income for resident individuals. It helps classify trades, estimate tax, and choose an ITR form. CX Codex +1 ★ 69repo stars breakout-planner breakout-planner — a Claude Code skill that evaluates breakout setups for NSE/BSE stocks and works out a trade plan. It responds to requests about Stage 2 trends, bases, entry points, or scanning a stock list. CX Codex +1 ★ 69repo stars stock-screener The stock-screener Claude Code skill filters and ranks Indian stocks using fundamentals from a CSV. It runs on requests to screen a company list, find stocks by financial criteria, or explain a failed rule. CX Codex +1 ★ 69repo stars results-season The results-season Claude Code skill analyzes how NSE and BSE stocks move after quarterly results. It scores price gaps, trading volume, and follow-through. CX Codex +1 ★ 69repo stars portfolio-review The portfolio-review Claude Code skill reviews Indian stock portfolios for concentration, risk and rebalancing options. It runs on requests to assess a portfolio or after a broker holdings file is uploaded. CX Codex +1 ★ 69repo stars

Project sponsors

Companies that keep this analytics open