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 short
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
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-confir
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, U
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
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: "f
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 %, da
fno-options-analysisIndian 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,
fundamental-screeningFundamental and governance screening of Indian listed companies in the style of Screener.in: valuation (P/E, P/B, EV/EBITDA, PEG vs history and peers), quality (ROCE, ROE, cash conversion, debt), growth, sector-specific metrics (banks, NBFCs, IT, FMCG, manufacturing), shareholding pattern (promoter,
india-market-analystMaster workflow for analysing Indian stocks, indices and derivatives on NSE/BSE. Routes to the specialised skills in this pack: technical analysis, multi-timeframe, RSI divergence, Fibonacci, position sizing, stop-loss, trailing stops, risk-reward, F&O option chains, options strategies, trading cost
indian-market-structureReference 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, surveil
indian-tax-for-tradersIncome-tax treatment of Indian stock-market income for resident individuals: STCG (20%) and LTCG (12.5% above ₹1.25 lakh) on listed equity and equity funds, grandfathering for pre-2018 shares, intraday as speculative business income, F&O as non-speculative business income, set-off and carry-forward
ipo-analysisEvaluate Indian IPOs (mainboard and SME): reading the RHP, price band and lot size, issue structure (fresh issue vs OFS), category quotas (QIB, NII sHNI/bHNI, retail, employee, shareholder), anchor book, subscription data interpretation, allotment odds, grey market premium caveats, valuation vs list
macro-regimeStructural (6–24 month) macro regime for Indian equities from monthly cross-asset lines: equal weight or smallcap vs NIFTY (broadening), size, NIFTY Bank leadership, cyclicals vs defensives, NIFTY vs gold in rupees, India 10-year G-sec and the yield curve (10y minus T-bill or repo), USD/INR, Brent,
market-breadthMarket-wide breadth for Indian equities: how many NSE/BSE stocks are actually joining the index's move. From a folder of stock CSVs (NIFTY 50/500, midcap or smallcap constituents), a yfinance symbol list, or an exchange advances/declines file, breadth.py reports % of stocks above 20/50/200 DMA, the
market-pulseDaily Indian market brief and regime check: pre-market (GIFT Nifty, global cues, crude, USD/INR, US yields), previous session's FII/DII cash flows and F&O participant positioning, India VIX, NIFTY/BANKNIFTY levels, sector rotation via NSE sectoral indices, breadth, F&O ban list, results and macro ca
market-regimeReads the market regime of NIFTY, BANKNIFTY, SENSEX (or any index/ETF CSV) from the index's own tape: distribution-day clusters with 25-session/5%-rally expiry, the correction → rally attempt → follow-through cycle, 50/200 DMA and 52-week drawdown context, and optional India VIX. Outputs a 0–100 ris
market-valuationHow expensive and how frothy the Indian market is, from files you download and numbers you look up: NIFTY (or any NSE index) P/E, P/B and dividend-yield percentiles over 5/10/all years with a cheap/fair/expensive/extreme band, handling NSE's 2021 switch to consolidated P/E; earnings yield vs the 10-
momentum-scannerShort-term momentum on NSE/BSE stocks across a whole universe: momentum-burst days (a 4%+ up-close out of a quiet base on rising volume, near the high, above a rising 50 DMA, not already extended), episodic pivots (a 5%+ opening gap on 3x+ volume that holds the gap-day low, with a day-1/day-2 read a
multi-timeframe-analysisThree-screen multi-timeframe analysis for NSE/BSE stocks and indices: weekly (or monthly) sets the bias, daily finds the setup, and 75-minute / 15-minute bars time the entry, with a 6-factor confluence score that sets position size. Uses ta.py mtf to resample daily data into weekly and monthly views
options-strategiesChoosing, sizing and managing option strategies on NIFTY, BANKNIFTY, SENSEX and stock options in India: a view × volatility selection matrix, defined-risk structures (spreads, iron condors, butterflies, calendars), covered calls and protective puts, expiry-day (Tuesday/Thursday) behaviour, adjustmen
pair-tradingStatistical pair trading (market-neutral long/short) for NSE stocks. pairs.py tests whether two stocks are cointegrated (Engle-Granger with an ADF on residuals, judged against MacKinnon's cointegration critical values), estimates the hedge ratio, half-life and current spread z-score, screens every s
portfolio-reviewHealth check for an Indian delivery (CNC) stock portfolio from a holdings CSV or a Zerodha Console, Kite, Groww or broker-MCP export: value and unrealised P&L, position and sector weights, top-5/top-10 concentration, business-group exposure (Adani, Tata...), large/mid/small mix against a target, ple
position-sizingPosition sizing for Indian equity and F&O trades: fixed-fractional risk sizing with round-trip costs included, ATR-based stops, F&O lot rounding and margin checks, MTF/intraday leverage adjustment, gap-through-stop and circuit risk, Kelly from a trade journal, and portfolio limits. risk.py also cove
results-seasonReads the price reaction to quarterly results on NSE/BSE stocks. Picks the right reaction session from the announcement time (same day for pre-market/market-hours, next NSE session for after-hours, weekend or holiday releases), measures gap, close, close location, volume vs 50-day, ATR-normalised mo
risk-reward-ratioRisk-reward evaluation for Indian trades after real costs: R multiples per target, weighted R for scale-outs, breakeven win rate, expectancy, trade-filter thresholds, and option-specific R:R (theta, IV, premium). risk.py rr computes everything including Indian round-trip charges. Use when the user a
rsi-divergenceDetect and trade RSI(14) divergences on NSE/BSE stocks and indices: regular divergence (reversal warning) and hidden divergence (trend continuation), with strength grading, confirmation rules, entries, stops and Fibonacci targets. ta.py divergence finds them automatically from swing points. Use when
sector-rotationSector rotation across NSE sectoral and thematic indices (BANK, IT, AUTO, PHARMA, FMCG, METAL, REALTY, ENERGY, PSU BANK, FIN SERVICE, INFRA, PSE, CONSUMPTION and more) against NIFTY 50: 1W–12M returns, relative strength, an RRG-style RS-Ratio/RS-Momentum quadrant with recent quadrant changes, distan
stock-screenerFilter and rank a universe of Indian stocks from a fundamentals CSV (a Screener.in screen or watchlist export, or your own snake_case file). Five built-in screens with India thresholds: canslim-india, value-dividend (yield bar tied to the 10-year G-sec), dividend-growth-pullback (RSI from price CSVs
stop-loss-strategiesInitial stop-loss placement and execution for NSE/BSE stocks and F&O: structure, ATR, S/R and moving-average stops with buffers, plus Indian execution realities — SL vs SL-M vs GTT, DAY validity of stop orders, gap and circuit risk, closing-basis stops on a 30-minute VWAP close, stop-hunting around
technical-analysisSystematic chart reading for NSE/BSE stocks and indices: trend and moving-average alignment, swing structure, support/resistance clusters, unfilled gaps, volume and delivery %, an indicator dashboard (RSI, MACD, Bollinger, ADX, Stochastic), ATR stops, circuit and gap-risk checks, and probabilistic s
thesis-trackerKeeps every Indian stock or F&O trade idea as a written, falsifiable thesis in one JSON file the trader owns, and walks it through an enforced lifecycle (idea, watching, entry-ready, active, closed, or invalidated / expired) with a dated history. Flags reviews due, kill levels hit from a price file,
trading-costsExact trading charges for Indian equity and F&O trades on NSE/BSE: brokerage (Zerodha, Groww, Angel One, Upstox, Dhan or custom), STT, exchange transaction charges, SEBI fee, stamp duty, GST, DP charges and MTF interest, plus breakeven price and cost-as-%-of-profit. Includes a calculator script with
trading-disciplineRules that protect an Indian trader from themselves: an account-level circuit breaker (daily 2%, weekly 5%, monthly 10% loss limits plus losing-streak cooldowns) read from the trade journal, a pre-trade gate (stop, rupee risk, R:R, written plan, revenge window, regime, F&O ban, ASM/GSM/T2T, results,
trailing-stopsTrailing-stop plans that lock in profit on NSE/BSE positions: the R-multiple ladder (hold → breakeven at 1R → ATR trail at 2R → structure trail at 3R+), plus ATR, structure, moving-average and chandelier trails, with GTT/SL execution realities for Indian brokers. risk.py trail computes the recommend