StealIt

Market Top Detector

market-top-detector

Assesses heuristic market top risk using O'Neil Distribution Days, Minervini Leading Stock Deterioration, and Monty Defensive Sector Rotation. Generates a 0-100 composite score with risk zone classification. Use when user asks about market top risk, distribution days, defensive rotation, leadership breakdown, or whether to reduce equity exposure. Focuses on 2-8 week tactical timing signals for 10-20% corrections.

Install

Research and analysis tools, not financial advice. Some workflows use optional FMP, FINVIZ Elite or Alpaca accounts; the repo's five-skill starter path needs no API key. Open the repository

Run this in your project folder. It works with Claude Code, Cursor, Codex and dozens of other agents.

$ npx skills add tradermonty/claude-trading-skills --skill market-top-detector

Needs Node.js. Add -g to install for every project, or -a claude-code to skip the agent picker.

How to use Market Top Detector

Once it's installed, Claude reads this skill on its own whenever a request matches what it's for, so you don't have to mention it by name. In Claude Code you can also run it directly by typing /market-top-detector.

It includes scripts that Claude may run on your computer, so skim them on GitHub before you install.

What the instructions cover

  1. 1Purpose
  2. 2Score interpretation
  3. 3When to Use This Skill
  4. 4Prerequisites
  5. 5Difference from Bubble Detector
  6. 6Execution Workflow
  7. 76-Component Scoring System
  8. 8Risk Zone Mapping
  9. 9Exchange Calendar and Replay
  10. 10API Requirements
  11. 11Output Files
  12. 12Reference Documents

Section headings from the skill's SKILL.md file.

What's inside · 43 files

  • SKILL.md
  • references/distribution_day_guide.md
  • references/historical_tops.md
  • references/market_top_methodology.md
  • references/point_in_time_evaluation.md
  • requirements.txt
  • scripts/_market_calendar.py
  • scripts/breadth_csv_client.py
  • scripts/calculators/__init__.py
  • scripts/calculators/breadth_calculator.py
  • scripts/calculators/defensive_rotation_calculator.py
  • scripts/calculators/distribution_day_calculator.py
  • scripts/calculators/index_technical_calculator.py
  • scripts/calculators/leading_stock_calculator.py
  • scripts/calculators/math_utils.py
  • scripts/calculators/sentiment_calculator.py
  • scripts/fmp_client.py
  • scripts/historical_comparator.py
  • scripts/market_top_detector.py
  • scripts/report_generator.py
  • scripts/scenario_engine.py
  • scripts/scorer.py
  • scripts/tests/conftest.py
  • scripts/tests/helpers.py
  • scripts/tests/test_breadth.py
  • scripts/tests/test_breadth_csv_client.py
  • scripts/tests/test_defensive_rotation.py
  • scripts/tests/test_delta.py
  • scripts/tests/test_distribution_day.py
  • scripts/tests/test_fmp_client.py
  • scripts/tests/test_freshness.py
  • scripts/tests/test_historical_comparator.py
  • scripts/tests/test_index_technical.py
  • scripts/tests/test_leading_stock.py
  • scripts/tests/test_market_calendar_contract.py
  • scripts/tests/test_math_utils.py
  • scripts/tests/test_report_generator.py
  • scripts/tests/test_risk_interpretation.py
  • scripts/tests/test_scenario_engine.py
  • scripts/tests/test_scorer.py
  • + 3 more files on GitHub →

More from tradermonty

See all →

Backtest Expert

Expert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating quantitative trading strategies. Covers "beating…

Finance & Tradingtradermonty3.6k

Breadth Chart Analyst

This skill should be used when analyzing market breadth charts, specifically the S&P 500 Breadth Index (200-Day MA based) and the US Stock Market Uptrend Stock Ratio charts. Use…

Finance & Tradingtradermonty3.6k

Breakout Trade Planner

Generate Minervini-style breakout trade plans from VCP screener output with worst-case risk calculation, portfolio heat management, and Alpaca-compatible order templates…

Finance & Tradingtradermonty3.6k

Canslim Screener

Screen US stocks using William O'Neil's CANSLIM growth stock methodology. Use when user requests CANSLIM stock screening, growth stock analysis, momentum stock identification, or…

Finance & Tradingtradermonty3.6k
See all →

Trader Alerts

Price Alerts. Rings when a price, a stop or the opening bell hits. Turns the trade plan into three alerts in one go (the stop, the target and "flat by close" at your flat-by…

Finance & TradingJake Schincariol5.2k

Trader Analyst

The Earnings Analyst. Reads a company's reported numbers straight from SEC EDGAR (XBRL company facts from its 10-Qs and 10-Ks, plus the latest earnings 8-K and its press release)…

Finance & TradingJake Schincariol5.2k

Trader Broker

Order Executor. Sends approved orders to your broker, paper trading by default, never without your yes. Shows each order as a plain ticket (a bracket shows its stop-loss…

Finance & TradingJake Schincariol5.2k

Trader Budget

Budget Manager. Sizes every position to your budget and your max loss per trade. Reads the trade plan from trader-exit (entry, stop, target), finds the whole shares that fit…

Finance & TradingJake Schincariol5.2k