All authors

Claude Skills by Shubhamkumartrichy
github.com/Shubhamkumartrichy29 skills0 installs0 views
- 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, w...Votes: 0GitHub stars: 49
- 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 o...Votes: 0GitHub stars: 49
- 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 holding...Votes: 0GitHub stars: 49
- 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 c...Votes: 0GitHub stars: 49
- 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 wh...Votes: 0GitHub stars: 49
- 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, 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 w...Votes: 0GitHub stars: 49
- 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, FII, DII, pledge), quarterly results reading, and India-specific red flags (promoter pledging, related-party transactions, auditor exits, surveillance lists, SME and operator stocks). Use when th...Votes: 0GitHub stars: 49
- 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 costs, tax, market structure, market pulse, market regime, sector rotation, market breadth, FII/DII flows, momentum scans, breakout planning, results reactions, pair trading, backtesting, trading disci...Votes: 0GitHub stars: 49
- 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, surveillance frameworks (ASM, GSM, ESM, trade-for-trade), F&O ban and MWPL, margins and the 50% cash rule, DDPI/eDIS, corporate actions, and the 2026 trading-holiday calendar. Use when the user asks abou...Votes: 0GitHub stars: 49
- 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 rules, F&O turnover and tax audit, ITR form choice, dividends, buybacks, the new Income-tax Act 2025 section numbers, and tax-loss / LTCG-exemption harvesting. Includes an estimator and tradebook F...Votes: 0GitHub stars: 49
- 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 listed peers, T+3 timeline, UPI mandate, listing-day pre-open and post-listing lock-in expiries. Use when the user asks: "should I apply for X IPO", "IPO review", "GMP of X", "subscription status", "c...Votes: 0GitHub stars: 49
- 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 uptrend ratio, advances/declines with an A/D line and divergence against NIFTY, new 52-week highs/lows, the McClellan oscillator and summation index, breadth thrusts, sector participation and a 0–1...Votes: 0GitHub stars: 49
- 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 calendar (RBI MPC, CPI, Budget, US Fed), and post-market wrap. Use when the user asks: "how is the market today", "pre-market report", "what's GIFT Nifty saying", "FII DII data", "market breadth", "...Votes: 0GitHub stars: 49
- 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 risk score, a regime label, an exposure ceiling (% of capital, max new positions) and the levels that would change the label. Handles Yahoo's missing index volume via ETF/futures proxy or a clearly fl...Votes: 0GitHub stars: 49
- 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 and a catalyst checklist), and a 1-99 relative-strength rating with the RS line vs NIFTY. Flags upper-circuit closes, 2%/5% band stocks and low delivery, applies a ₹-crore liquidity floor, then rank...Votes: 0GitHub stars: 49
- 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 automatically. Use when the user asks: "weekly vs daily trend", "multi-timeframe check", "higher timeframe view", "3-screen analysis", "is the daily setup aligned with weekly", "what's the bigger...Votes: 0GitHub stars: 49
- 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, adjustments, margin benefits of hedging, and event playbooks (Budget, RBI, results). options.py payoff computes max profit/loss, breakevens, probability of profit and position Greeks. Use when the user ask...Votes: 0GitHub stars: 49
- 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 same-sector pair with a Bonferroni caution, lists in-sample z-score trades with a hit rate, and plans Indian execution: stock futures in whole lots, residual hedge mismatch, margin, charges, last-Tu...Votes: 0GitHub stars: 49
- 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, pledged, SME and surveillance flags, a per-lot STCG→LTCG countdown, volatility, beta vs NIFTY, drawdown, correlated clusters, portfolio heat to stops, and a tax-aware rebalance plan with charges. Use...Votes: 0GitHub stars: 49
- 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 covers R:R, trailing stops and journal statistics. Use when the user asks: "how many shares should I buy", "position size for X", "how many lots of NIFTY", "how much to invest", "risk per trade", "can...Votes: 0GitHub stars: 49
- 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 move, 1-20 session follow-through and gap fill, grades it 0-100 (A-D) with visible weights, watches weekly bars for a post-results drift entry or a failed reaction, ranks many events, and lists posit...Votes: 0GitHub stars: 49
- 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 asks: "is this trade worth it", "risk reward for entry X stop Y target Z", "R:R", "expected value", "what win rate do I need", "should I take this setup", or compares multiple trade ideas.Votes: 0GitHub stars: 49
- 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 the user asks: "RSI divergence on X", "is there bullish/bearish divergence", "momentum divergence", "RSI showing weakness", "hidden divergence", or wants to know if momentum confirms a new high/low.Votes: 0GitHub stars: 49
- 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, distance from 50/200 DMA, cyclical-vs-defensive tilt, the midcap/smallcap size factor, and member breadth. sectors.py works offline from niftyindices.com CSVs or via yfinance. Use when the user asks: "w...Votes: 0GitHub stars: 49
- 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 round numbers and OI strikes, and option premium vs underlying stops. Use when the user asks: "where should I put my stop-loss", "stop for X", "how do I protect this trade", "GTT or SL order", "my...Votes: 0GitHub stars: 49
- 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 scenarios. Ships a zero-dependency engine (ta.py) that reads CSV, broker-MCP candles or fetches via yfinance, verified against the `ta` library. Use when the user asks: "what's the trend on X", "su...Votes: 0GitHub stars: 49
- 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 current (Oct 2026) rates, including the 1 Apr 2026 F&O STT hike. Use when the user asks "what are my charges", "brokerage for this trade", "breakeven price", "which broker is cheapest", "how much...Votes: 0GitHub stars: 49
- 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, circuit lock, expiry day, MIS cut-off) that returns PASS / PASS-WITH-WARNINGS / BLOCK before any order ticket, a performance review by setup, weekday, hour, segment and mistake, a weekly digest, a...Votes: 0GitHub stars: 49
- 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 recommended ratcheted stop. Use when the user asks: "how should I trail my stop", "lock in profits on X", "when to move stop to breakeven", "chandelier exit", "protect my gains", "my stock is up 15%, what ...Votes: 0GitHub stars: 49