Check market breadth for a sector before a decision
When to use: You're considering a position and want breadth context, not just price.
Flow
-
Pull sector constituentsUse indian-trading-skills. Nifty IT sector — list constituents with 1-week return and advance/decline.✓ Copied→ Table with breadth stats
-
Compare to broader indexHow does the sector breadth compare to Nifty 50 broader breadth?✓ Copied→ Comparative delta
Outcome: Context for your own decision — nothing more.
Pitfalls
- Treating this output as a signal — It isn't. This is analysis scaffolding, not a recommendation.