Analyzes futures and options (F&O) for NSE India and US markets: Black-Scholes pricing, Greeks (delta, gamma, theta, vega), implied volatility, multi-leg payoff diagrams, and option-chain metrics (open interest, PCR, max pain, OI walls, ATM straddle, implied move). Supports US chains via Cboe, NSE CSV files, or Kite Connect.
Ships in 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.
trading-fno)Reads an option chain and prices option positions. It never places an order. Anything you decide to trade still goes: trading-risk approval -> trading-broker preview -> the user's explicit confirm -> submit.
python3 scripts/fno.py greeks --spot 24500 --strike 24600 --kind call --days 7 --iv 14 --lot-size 75
python3 scripts/fno.py iv --price 120 --spot 24500 --strike 24600 --kind call --days 7
python3 scripts/fno.py payoff --kind put --side short --strike 24400 --premium 95 --lot-size 75 --spot 24500 --chart
python3 scripts/fno.py strategies # the named shapes
python3 scripts/fno.py strategy --name iron-condor --strikes 24000,24200,24800,25000 \
--premiums 20,60,55,18 --lot-size 75 --spot 24500 --chart
python3 scripts/fno.py strategy --legs +1C24600@120 -1C24800@60 --lot-size 75 # custom legs
python3 scripts/fno.py chain AAPL # US chain, nearest expiry
python3 scripts/fno.py chain SPY --expiry 2026-12-18
python3 scripts/fno.py chain --file ~/Downloads/option-chain.csv --spot 24512 --expiry 2026-11-27 NIFTY
python3 scripts/fno.py chain NIFTY --kite # needs Kite with market data
Add --json to any command for machine-readable output.
| Market | Source | Notes |
|---|---|---|
| US | Cboe delayed-quotes JSON (cdn-api.cboe.com) | Plain GET, no key, about 15 min delayed. An unofficial public endpoint that can change. Yahoo's options endpoint needs a cookie and crumb session, so it is not used, and nothing here imitates a browser. |
| India (NSE) | The option-chain CSV the user downloads from nseindia.com (Option Chain page -> Download) | nseindia.com blocks programs, and this skill does not try to get around that. The CSV has no spot or expiry, so pass --spot and --expiry. Columns are read by header name. |
| India (NSE) | Kite Connect: --kite | Instruments (strikes, expiries, lot size) plus quotes (OI, volume, depth). Quotes need Kite's paid market-data plan; with a free plan or no login the command says so and points to the CSV. Index spot keys are mapped (NIFTY, BANKNIFTY, FINNIFTY, MIDCPNIFTY); pass --spot if the spot is missing. |
If a source is not available, tell the user which one and what to do instead. Never invent chain data.
Cboe's own IV is used for US; the NSE CSV's IV column is used for India; Kite quotes carry no IV, so use
the iv command on a price when you need one.
--lot-size, results are per unit and the output says so.--rate, default 5%, set it to the local risk-free rate). Index options (NIFTY, SPX) are European;
stock options are not, so Greeks there are approximations. Units: theta per calendar day, vega per 1
volatility point.--spot --iv --days (marked "Black-Scholes" in the output), and
say that premium is modelled, not quoted.chain: report spot, expiry, PCR, max pain, the biggest call/put OI strikes, the ATM straddle and the
implied move. Say the data's age and source.strategy (use the chain's quotes as premiums), show
max profit, max loss, breakevens, and the net debit/credit. Compare breakevens with the implied move.greeks for the position's legs when theta, delta or vega matter (earnings, expiry week).Options can lose the whole premium, and short options can lose far more than the account. This is analysis, not advice.
scripts/_vendor/tradekit/__init__.py (opens in a new tab)scripts/_vendor/tradekit/alerts.py (opens in a new tab)scripts/_vendor/tradekit/analysis.py (opens in a new tab)scripts/_vendor/tradekit/backtest.py (opens in a new tab)scripts/_vendor/tradekit/brokers/__init__.py (opens in a new tab)scripts/_vendor/tradekit/brokers/_rest.py (opens in a new tab)scripts/_vendor/tradekit/brokers/base.py (opens in a new tab)scripts/_vendor/tradekit/brokers/dhan.py (opens in a new tab)scripts/_vendor/tradekit/brokers/fyers.py (opens in a new tab)scripts/_vendor/tradekit/brokers/groww.py (opens in a new tab)scripts/_vendor/tradekit/brokers/kite.py (opens in a new tab)scripts/_vendor/tradekit/brokers/paper.py (opens in a new tab)scripts/_vendor/tradekit/brokers/upstox.py (opens in a new tab)scripts/_vendor/tradekit/cli.py (opens in a new tab)scripts/_vendor/tradekit/config.py (opens in a new tab)scripts/_vendor/tradekit/data.py (opens in a new tab)scripts/_vendor/tradekit/disclosures.py (opens in a new tab)scripts/_vendor/tradekit/expr.py (opens in a new tab)scripts/_vendor/tradekit/feeds.py (opens in a new tab)scripts/_vendor/tradekit/frame.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
options-trading, black-scholes, greeks, option-chain, payoff-analysis, nse
Other plugins' skills for the same job
/trading-skills:trading-fnofrom trading-skills
npx claudepluginhub reddygopalkrishna/trading-skills --plugin trading-skills21 skills in this plugin
/trading-alertsPrice alerts for any market - above or below a price, a trade's stop and target (long or short), a percent move from the previous close, a time on the exchange clock, the opening bell and minutes before the close, plus stop and target alerts for every open trade in the journal in one go. Works out each exchange's session from the data (NYSE, Nasdaq, NSE, BSE, LSE, TSE...) so holidays need no tables; each alert rings once; optional desktop notifications. Use when the user says "alert me when", "tell me if RELIANCE crosses 1400", "watch my stop", "remind me to close by 3:20", "is the market open", "when does NSE open", or right after a trade is planned or opened./trading-backtestBacktest trading strategies written as simple rules on one or many symbols in any market - next-bar-open execution with no look-ahead, commissions and slippage, ATR/percent/rule-based stops, R or percent targets, trailing stops, time exits, risk-based position sizing, max concurrent positions with ranking, benchmark comparison, in-sample vs out-of-sample split and a self-contained HTML report. Use when the user asks "does this strategy work", "backtest X", "test a moving-average crossover", "what if I bought when RSI was below 30", or wants to validate an idea before trading it.