- Home
- Skills
- Trading & Investing
- nse stage rrg
More screenshots
Works with the AI Agents you already use
nse stage rrg
by Jaideep Ojha
Rank NSE stocks by Weinstein stage and relative strength using free end-of-day exchange data.
Free
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
| Symbol | Stage | RS Rating | Mansfield RS | 3M % | Turnover (₹cr) | Sector |
|---|---|---|---|---|---|---|
| TRENT | 2 | 99 | 4.21 | +28.4 | 412.5 | Nifty Retail |
| DIXON | 2 | 97 | 3.85 | +19.2 | 185.3 | Nifty Cons Durables |
| HAL | 2 | 96 | 3.10 | +15.5 | 640.1 | Nifty PSE |
| BEL | 2 | 94 | 2.95 | +12.8 | 512.4 | Nifty PSE |
| MAZDOCK | 2 | 92 | 5.12 | +42.1 | 220.8 | Nifty PSE |
| CHOLAFIN | 2 | 90 | 1.45 | +8.2 | 145.6 | Nifty Financial |
| TATAELXSI | 2 | 89 | 1.12 | +7.4 | 98.2 | Nifty IT |
| POLYCAB | 2 | 88 | 2.30 | +11.2 | 115.7 | Nifty Cons Durables |
| KEI | 2 | 87 | 2.15 | +10.5 | 65.4 | Nifty Infrastructure |
| ZOMATO | 2 | 86 | 3.40 | +22.1 | 890.2 | Nifty 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
- Run
python scripts/nsr.py lookup TRENTto see the full technical profile for the top-ranked stock. - Run
python scripts/nsr.py rrgto check if these sectors (PSE, Retail) are currently in the Leading quadrant. - Export the full list to CSV using the
--outflag 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
- Cache Data by running the
fetchcommand to download and process NSE bhavcopy and index files for the last 300 trading days. - Rank the Universe using the
rankcommand with optional flags for specific stages, minimum RS scores, or sectors. - Analyze Sectors with the
rrgcommand 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
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.
What's inside
Creator
Jaideep Ojha
Frequently Asked Questions
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.