More screenshots

    Works with the AI Agents you already use

    nse stage rrg

    by Jaideep Ojha

    1

    Rank NSE stocks by Weinstein stage and relative strength using free end-of-day exchange data.

    Free

    Security scanned
    nse stage rrg

    nse stage rrg

    Example session with this skill installed

    Show me the top 10 stocks in Stage 2 with an RS rating above 85 and at least 10 crore daily turnover.

    • Read your context and instructions
    • Compiled the nse stage rrg

    I have scanned the NSE equity universe based on the latest cached data. I filtered for Stage 2 (Advancing) stocks with a Relative Strength (RS) rating of 85 or higher and a daily turnover exceeding ₹10 crore.

    NSE Stage-2 RS Leaders

    SymbolStageRS RatingMansfield RS3M %Turnover (₹cr)Sector
    TRENT2994.21+28.4412.5Nifty Retail
    DIXON2973.85+19.2185.3Nifty Cons Durables
    HAL2963.10+15.5640.1Nifty PSE
    BEL2942.95+12.8512.4Nifty PSE
    MAZDOCK2925.12+42.1220.8Nifty PSE
    CHOLAFIN2901.45+8.2145.6Nifty Financial
    TATAELXSI2891.12+7.498.2Nifty IT
    POLYCAB2882.30+11.2115.7Nifty Cons Durables
    KEI2872.15+10.565.4Nifty Infrastructure
    ZOMATO2863.40+22.1890.2Nifty Consumer

    Note: This analysis describes current market structure based on the Nifty 500 benchmark. These labels are descriptive of price action and do not constitute investment advice.

    Next steps

    1. Run python scripts/nsr.py lookup TRENT to see the full technical profile for the top-ranked stock.
    2. Run python scripts/nsr.py rrg to check if these sectors (PSE, Retail) are currently in the Leading quadrant.
    3. Export the full list to CSV using the --out flag for further spreadsheet analysis.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Finding market leaders in the National Stock Exchange (NSE) of India usually requires expensive subscriptions or manual charting. This tool automates the heavy lifting by processing NSE public archives to rank the entire equity universe using Stan Weinstein's Stage Analysis and IBD-style Relative Strength.

    What it does

    • Stage Classification identifies stocks in Basing (1), Advancing (2), Topping (3), or Declining (4) phases based on 30-week moving averages.
    • RS Rating calculates 12-month weighted relative strength and assigns a percentile rank from 1 to 99 across ~2,400 stocks.
    • Sector Rotation generates Relative Rotation Graphs (RRG) to categorize sectors into Leading, Improving, Weakening, or Lagging quadrants.
    • Liquidity Filtering excludes low-volume micro-caps using a minimum daily turnover filter to focus on tradeable assets.
    • Stock Lookup provides detailed technical snapshots including Mansfield RS, distance from 52-week highs, and breakout volume.

    How it works

    1. Cache Data by running the fetch command to download and process NSE bhavcopy and index files for the last 300 trading days.
    2. Rank the Universe using the rank command with optional flags for specific stages, minimum RS scores, or sectors.
    3. Analyze Sectors with the rrg command to see where institutional money is rotating relative to the Nifty 500.

    Frameworks & tools

    The skill is built with Python and utilizes standard data processing libraries. It interfaces directly with the NSE India public archives via local caching to avoid rate-limiting and account requirements.

    Why this beats prompting it yourself

    Standard LLMs lack the real-time or historical pricing data required to calculate 52-week percentile rankings or 30-week moving average slopes. This tool bridges the gap by providing the agent with a local, high-fidelity technical database derived from raw exchange files.

    Use cases

    • Identify Stage-2 breakout candidates with RS ratings above 80 and high turnover.
    • Filter for the strongest stocks within a specific sector like Nifty IT or Auto.
    • Monitor sector rotation to see which industries are gaining momentum vs the Nifty 500.
    • Audit a specific symbol's current stage and relative strength trend.

    Known limitations

    Does not support recent listings with less than 12 months of trading history. Calculations are descriptive of current trends and do not constitute financial advice.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 13 days ago

    • Free with an Agensi account

    Software
    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables

    Fetches NSE's free public end-of-day data over HTTPS from archives.nseindia.com and caches it locally in .nsr_cache/ so later runs work offline. Optionally writes a rankings CSV or an RRG chart (.svg) only when the user requests an export. No account, login, or API key required; no personal or workspace data is accessed.

    Listed13 days ago

    What's inside

    Creator

    J

    Jaideep Ojha

    Frequently Asked Questions

    Unlike general AI models, this skill uses a specialized technical engine to process raw NSE archives, calculating precise 30-week moving averages and percentile-based Relative Strength (RS) that LLMs cannot generate on their own.

    The skill relies on free, public NSE end-of-day data; no expensive data provider subscriptions or API keys are required to access the full ranking and RRG features.

    The tool requires at least 12 months of trading history to calculate IBD-style RS ratings and stage slopes, so it will automatically exclude very recent IPOs and listings.

    The 'fetch' command downloads and caches approximately 300 days of historical data locally, ensuring fast analysis while preventing rate-limiting issues from the exchange archives.

    Yes, the 'rank' command includes a liquidity filter that uses a minimum daily turnover threshold, ensuring you only see stocks that have enough volume for practical trading.

    You receive the complete Python-based skill package, including the Weinstein stage classifier, the Relative Strength ranking engine, and the Sector RRG generator.

    New in Trading & Investing

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Trading & Investing.

    Free