/india-trading-skills:event-calendarfrom india-trading-skills
Offline calendar of Indian market-moving dates: NSE/BSE F&O expiries, exchange holidays, RBI/Union Budget/FOMC events, macro releases, results seasons, and tax dates. Labels each event with trust level (computed/expected/verified). Exports .ics and answers event-risk queries for any holding window.
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.
Most surprise losses on a good chart come from a date the trader forgot: RBI at 10:00, a results gap, a Tuesday expiry, a three-day weekend. This skill lists those dates offline and says how much to trust each one.
python3 scripts/events.py week [--from 2026-11-16] [--next] # Mon-Sun, grouped by IST day
python3 scripts/events.py month --month 2026-12 --min-impact medium
python3 scripts/events.py range --from 2026-11-16 --to 2027-03-31 --category rbi,fomc,budget
python3 scripts/events.py next --category rbi --count 2 # also: expiry, results, macro, us, index, tax
python3 scripts/events.py window --from 2026-11-16 --to 2026-12-04 --symbols TCS,INFY --events q3.csv
python3 scripts/events.py ics --out india-events.ics --from 2026-11-16 --to 2027-03-31
python3 scripts/events.py staleness [--days 60 --max-age 120 --strict]
Common flags: --events FILE (repeatable), --category (names or groups: macro, us, policy,
index, holidays, results, company), --min-impact low|medium|high, --today (pretend date),
--reference FILE, --json. Dates are ISO or 31-Oct-2026; numeric dates that could be DD/MM or
MM/DD exit 2, using the same parser as results-season. All times are IST.
| Status | Events | Trust |
|---|---|---|
| computed | F&O expiries and holiday shifts (../fno-options-analysis/scripts/options.py), exchange holidays, long weekends, NSE monthly-expiry weeks, results-season windows (Q1–Q3 within 45 days of quarter end, Q4 within 60), advance tax (15 Jun/Sep/Dec/Mar), ITR due dates (31 Jul; 31 Aug for ITR-3/4 without audit, as reported for Finance Act 2026; 31 Oct for audit cases), last FY session and the March LTCG/loss-harvesting window | Exact while the holiday list covers the year; flagged beyond it |
| expected (rule) | India CPI (12th, 16:00), WPI (14th, 12:00), IIP (28th, 16:00); a weekend moves each to Monday. GDP (last weekday of Feb/May/Aug/Nov, 16:00), auto sales and GST (1st), Budget (1 Feb), NIFTY semi-annual rebalance (close of the March/September NSE monthly expiry) | Publisher's stated rule; confirm on the day |
| rough (uncertain rule) | PMI (first/third working day, 10:30), AMFI (around the 10th), US jobs beyond the reference file (first Friday), MSCI beyond the file (near the 1st of Mar/Jun/Sep/Dec), May GDP | Placeholder date; check before relying on it |
| verified | references/events-2026-27.csv: RBI MPC FY2026-27, FOMC 2026–27, BLS CPI and jobs to Dec 2027, MSCI reviews to Nov 2027, MoSPI GDP to Feb 2027, Muhurat and Budget-day sessions | Source URL plus verified_on date |
| UNVERIFIED | Reference rows with a blank verified_on (Budget 2027-28 on 1 Feb) | Confirm before use |
Where the reference file has rows for a category, it replaces the rule estimates for those dates. RBI, FOMC and US CPI have no dependable rule, so they appear only from the file.
staleness at the start of a planning session. It warns when a tracked category (RBI,
FOMC, BLS, MSCI, GDP) ends within --days, when upcoming rows were verified more than
--max-age days ago, when a row is unverified, and when the holiday list in options.py is
about to run out. --strict exits 1, so freshness tooling can call it with --json.date,category,title,impact,source,verified_on), with the URL and today's date.
Never add a date you could not find at a source. Leave verified_on blank instead, and the row
will print as UNVERIFIED. Cite the source when quoting a date to the user.--events)Two CSV shapes, which can be mixed across files:
symbol,date,timing: the same file results-season uses for calendar-check. Timing is
pre-market, market-hours, post-market or HH:MM. An optional category column takes results,
board meeting, ex-date/dividend/bonus/split, AGM or lock-in.date,category,title[,impact][,symbol] for anything else.Collect dates with WebSearch (exchange board-meeting and corporate-action pages, IPO lock-in schedules) or a broker MCP, and save them to a file. Duplicates (same symbol, date and category) are merged, and a row with a known timing replaces one without. Results or board meetings with unknown timing count both the meeting day and the next session.
window and the discipline gatewindow lists everything inside a holding window. It marks RISK on RBI, Budget, FOMC, results,
board meetings, lock-in expiries and any high-impact event from your file, and ends with
Event risk: YES/NO and trading-discipline gate: pass --event yes|no. Add --include-expiry for
option positions. Positions with no company event get a reminder of the season deadline, and
risk events reacting within 2 sessions after the exit are flagged NEAR.
market-pulse: put the next day's rows from week in the "Today/events" line of the brief.results-season: calendar-check reads the same events file. Use this skill for the macro
backdrop around the results.trading-discipline: pass the window verdict as --event.options-strategies: run next --category policy and window --include-expiry before selling
premium through RBI, the Budget or FOMC (see its event playbook).india-market-analyst: step 6 (event risk first) runs window for the planned hold.Government holidays other than weekends are not modelled for MoSPI and OEA releases, so a rule date
can slip by a day. Holiday-dependent dates after HOLIDAYS_KNOWN_UNTIL in options.py are
flagged. No live data is fetched, and the file is only as fresh as its last verified_on.
Educational analysis, not investment advice.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub xdhruv/claude-trading-skills-india-mv --plugin india-trading-skills36 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.
/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.
/fii-dii-flowsInstitutional money flow in Indian equities, from CSVs you download: FII/FPI and DII cash flows
(₹ crore) with 5/10/20-session and month-to-date sums, streaks, how much FII selling DIIs
absorbed, largest days and NIFTY correlation; NSE participant-wise F&O open interest (FII
index-futures long %, day-over-day change, index calls/puts, client positioning, extreme flags);
quarterly shareholding changes with pledge red flags; bulk/block deals by symbol and client.
flows.py works offline.
Use when the user asks: "FII DII data this week", "are FIIs selling", "how long have FIIs been
selling", "are DIIs absorbing FII selling", "FII long short ratio", "participant wise OI", "FII
positioning in index futures", "who is buying this stock", "FII holding change", "promoter
pledge", "bulk deals in X", "block deals", or wants flow context for a market or stock view.
2 plugins ship this exact skill · first indexed Nov 14, 2026
Other plugins' skills for the same job