Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

ftd-detector

Skill by tradermonty

Detects Follow-Through Day signals that may confirm a market bottom, using an O'Neil-style technical model on the S&P 500 and Nasdaq Composite. Built for users checking re-entry timing after a market correction.

  • Score 91
  • 8.8k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install ftd-detector

Built from the published package, never by AI.

git clone --depth 1 https://github.com/tradermonty/claude-trading-skills /tmp/claude-trading-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-trading-skills/skills/ftd-detector ~/.claude/skills/ftd-detector

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install ftd-detector in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

FTD Detector is an agent skill that looks for Follow-Through Day signals, which the source describes as market bottom confirmation based on William O'Neil's methodology. It fetches S&P 500 (^GSPC) and Nasdaq Composite (^IXIC) history from the FMP API and replays it through a state machine covering correction, rally attempt, FTD window, FTD confirmed, and rally failed states. It produces a quality score from 0 to 100 and assesses post-FTD health, including distribution days and power trend.

The score is described as an uncalibrated technical heuristic, not a success probability, and exposure is not assessed. Output is written as JSON and Markdown reports. The skill is aimed at users asking whether a market bottom is forming, when to re-enter after a correction, or whether it is safe to add equity exposure. The source positions it as complementary to Market Top Detector, which is defensive.

Written from the project's SKILL.md and checked against it.

What it can do

  • FTD state machineTracks correction, rally attempt, FTD window, confirmed and failed states for both indices.
  • FTD qualificationChecks whether a follow-through day qualifies during Day 4 to Day 10 of a rally attempt.
  • Post-FTD health monitoringAssesses distribution days, invalidation and power trend after an FTD.
  • Quality scoreGives a 0 to 100 technical heuristic score for FTD quality, not a success probability.
  • Market status mappingMaps internal states onto IBD-style tiers: confirmed uptrend, under pressure, or in correction.
  • JSON and Markdown reportsWrites timestamped JSON and Markdown output files for each run.

What you need

  • FMP API key
  • Python 3.9 or later
  • requests Python library

Try asking

  • Is the market bottoming? Run the FTD detector.
  • Has a follow-through day confirmed after this correction?
  • Show the current rally attempt status for S&P 500 and Nasdaq.

Good to know

  • Portfolio exposure is not assessed; the quality score is uncalibrated.
  • Uses four logical FMP data requests per run; retries may add calls.
  • Nasdaq evidence defaults to ^IXIC; QQQ is used only when explicitly set as a labeled proxy.
  • State transition rules and thresholds are uncalibrated model choices.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/ftd-detector/SKILL.md, skills/ftd-detector/scripts/_market_calendar.py, skills/ftd-detector/scripts/_price_bars.py, skills/ftd-detector/scripts/fmp_client.py, skills/ftd-detector/scripts/ftd_detector.py, skills/ftd-detector/scripts/ftd_lifecycle.py, skills/ftd-detector/scripts/post_ftd_monitor.py, skills/ftd-detector/scripts/rally_tracker.py, skills/ftd-detector/scripts/report_generator.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md17 KB
  • references/ftd_methodology.md21 KB
  • references/post_ftd_guide.md8 KB
  • requirements.txt204 B
  • scripts/_market_calendar.py15 KB
Show all 37 files
  • scripts/_price_bars.py3 KB
  • scripts/fmp_client.py23 KB
  • scripts/ftd_detector.py14 KB
  • scripts/ftd_lifecycle.py3 KB
  • scripts/post_ftd_monitor.py25 KB
  • scripts/rally_tracker.py45 KB
  • scripts/report_generator.py21 KB
  • scripts/session_sequence.py4 KB
  • scripts/tests/conftest.py296 B
  • scripts/tests/fixtures/golden_clean_history.json27 KB
  • scripts/tests/fixtures/golden_expected.json7 KB
  • scripts/tests/fixtures/golden_expected.md4 KB
  • scripts/tests/helpers.py5 KB
  • scripts/tests/test_additional_review.py4 KB
  • scripts/tests/test_correction_parameters.py5 KB
  • scripts/tests/test_data_gap_reports.py10 KB
  • scripts/tests/test_early_close_volume.py8 KB
  • scripts/tests/test_fmp_client.py15 KB
  • scripts/tests/test_ftd_detector.py13 KB
  • scripts/tests/test_ftd_lifecycle.py3 KB
  • scripts/tests/test_golden_report.py3 KB
  • scripts/tests/test_history_dates.py4 KB
  • scripts/tests/test_market_calendar_contract.py6 KB
  • scripts/tests/test_post_ftd_monitor.py18 KB
  • scripts/tests/test_price_bar_gaps.py25 KB

And 7 more files on GitHub.

Alternatives to ftd-detector

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

ftd-detector: common questions

What does the FTD detector output?

It writes JSON and Markdown reports covering the current market state, a quality score, key watch levels and post-FTD health.

Does it tell me how much to invest?

No. The source says exposure range is not assessed in any state, and breadth, leadership and portfolio limits need separate inputs.

How is it different from Market Top Detector?

FTD Detector is offensive and looks for bottom confirmation, while Market Top Detector is defensive and looks for distribution and deterioration.

How do I install ftd-detector?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is ftd-detector free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is ftd-detector safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to ftd-detector?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

ftd-detector Install

Add to stack

Loading.