market-breadth-analyzer

Fetch TraderMonty breadth CSV data and produce a 0-100 composite score.

1|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/kavi-lin/stock --skill market-breadth-analyzer-kavi-lin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: market-breadth-analyzer
Source: https://github.com/kavi-lin/stock/tree/main/skills/market-breadth-analyzer
Command: npx skills add https://github.com/kavi-lin/stock --skill market-breadth-analyzer-kavi-lin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Market breadth health is a key input for gauging the breadth of a market move. This Skill quantifies breadth health using TraderMonty's public CSV data and outputs a 0-100 composite score across six components to inform exposure decisions.

Core Features & Use Cases

  • 6-component scoring (breadth_level_trend, ma_crossover, cycle_position, bearish_signal, historical_percentile, divergence) to produce a cohesive market breadth health assessment.
  • No API keys required; uses freely available TraderMonty CSV data hosted on GitHub Pages.
  • Use cases: assess whether a rally is broad-based, identify breadth deterioration, guide risk management and position sizing.

Quick Start

Run the Market Breadth Analyzer to fetch the latest TraderMonty data and generate JSON/Markdown reports for current breadth health.

Frequently Asked Questions about market-breadth-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is market breadth analysis and how does a composite score work?

Market breadth analysis quantifies participation in a market move. A 0-100 composite score aggregates six components like breadth level trend, MA crossover, and cycle position to assess if a US equity market rally is broad-based or constrained.

How do I quantify market breadth health without an API key?

You can quantify market breadth health by fetching TraderMonty's public CSV data using Python and the requests library. The process requires no API keys and produces JSON or Markdown reports scoring breadth across six components.

Does the market breadth analyzer work with Python 3.8 and public CSV data?

Yes, the breadth analyzer works with Python 3.8+ and the requests library to fetch public CSV data hosted on GitHub Pages. It is designed specifically for the US equity market and requires no authentication.

What's the best way to identify breadth divergence in the US stock market?

To identify breadth divergence, calculate a composite score using six components including bearish signal and historical percentile. This approach detects breadth deterioration by comparing current participation against historical market breadth trends.

Can I use market breadth indicators for position sizing and risk management?

Yes, market breadth indicators inform exposure decisions for position sizing and risk management. A 0-100 composite score reveals whether a rally is broad-based or breadth-constrained, guiding quantitative analysis of equity market risk.

Why does market breadth analysis matter when assessing a stock market rally?

Market breadth analysis matters because it reveals if a rally is broad-based or breadth-constrained. Evaluating components like MA crossover and cycle position prevents false signals from narrow market participation during US equity market moves.