본문으로 건너뛰기
cccskills
무료GitHub에 공개

ftd-detector

Track major US stock indexes for Follow-Through Days, price and volume signals used to assess a market recovery after a correction. Receive a quality score, suggested equity exposure, key price levels, and monitoring of subsequent market health.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Detects Follow-Through Day (FTD) signals for market bottom confirmation using William O'Neil's methodology. Dual-index tracking (S&P 500 + NASDAQ) with state machine for rally attempt, FTD qualification, and post-FTD health monitoring. Use when user asks about market bottom signals, follow-through days, rally attempts, re-entry timing after corrections, or whether it's safe to increase equity exposure. Complementary to market-top-detector (defensive) - this skill is offensive (bottom confirmation).

설치 방법 보기

이럴 때 유용합니다

  • Check for signs of a market bottom after a correction
  • Assess whether a recent market rebound is holding up
  • Review when to increase equity exposure
  • Monitor whether a confirmed recovery signal remains valid

포함된 파일(16)

  • SKILL.md5.5 KB
  • references/ftd_methodology.md7.2 KB
  • references/post_ftd_guide.md7.0 KB
  • requirements.txt128 B
  • scripts/fmp_client.py19.5 KB
  • scripts/ftd_detector.py10.0 KB
  • scripts/post_ftd_monitor.py13.3 KB
  • scripts/rally_tracker.py19.4 KB
  • scripts/report_generator.py16.1 KB
  • scripts/tests/conftest.py296 B
  • scripts/tests/helpers.py3.0 KB
  • scripts/tests/test_fmp_client.py15.2 KB
  • scripts/tests/test_ftd_detector.py8.7 KB
  • scripts/tests/test_post_ftd_monitor.py16.2 KB
  • scripts/tests/test_rally_tracker.py19.7 KB
  • scripts/tests/test_report_generator.py8.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

FTD Detector Skill

Purpose

Detect Follow-Through Day (FTD) signals that confirm a market bottom, using William O'Neil's proven methodology. Generates a quality score (0-100) with exposure guidance for re-entering the market after corrections.

Complementary to Market Top Detector:

  • Market Top Detector = defensive (detects distribution, rotation, deterioration)
  • FTD Detector = offensive (detects rally attempts, bottom confirmation)

When to Use This Skill

English:

  • User asks "Is the market bottoming?" or "Is it safe to buy again?"
  • User observes a market correction (3%+ decline) and wants re-entry timing
  • User asks about Follow-Through Days or rally attempts
  • User wants to assess if a recent bounce is sustainable
  • User asks about increasing equity exposure after a correction
  • Market Top Detector shows elevated risk and user wants bottom signals

Japanese:

  • 「底打ちした?」「買い戻して良い?」
  • 調整局面(3%以上の下落)からのエントリータイミング
  • フォロースルーデーやラリーアテンプトについて
  • 直近の反発が持続可能か評価したい
  • 調整後のエクスポージャー拡大の判断
  • Market Top Detectorが高リスク表示の後の底打ちシグナル確認

Difference from Market Top Detector

AspectFTD DetectorMarket Top Detector
FocusBottom confirmation (offensive)Top detection (defensive)
TriggerMarket correction (3%+ decline)Market at/near highs
SignalRally attempt → FTD → Re-entryDistribution → Deterioration → Exit
Score0-100 FTD quality0-100 top probability
ActionWhen to increase exposureWhen to reduce exposure

Execution Workflow

Phase 1: Execute Python Script

Run the FTD detector script:

python3 skills/ftd-detector/scripts/ftd_detector.py --api-key $FMP_API_KEY

The script will:

  1. Fetch S&P 500 and QQQ historical data (60+ trading days) from FMP API
  2. Fetch current quotes for both indices
  3. Run dual-index state machine (correction → rally → FTD detection)
  4. Assess post-FTD health (distribution days, invalidation, power trend)
  5. Calculate quality score (0-100)
  6. Generate JSON and Markdown reports

API Budget: 4 calls (well within free tier of 250/day)

Phase 2: Present Results

Present the generated Markdown report to the user, highlighting:

  • Current market state (correction, rally attempt, FTD confirmed, etc.)
  • Quality score and signal strength
  • Recommended exposure level
  • Key watch levels (swing low, FTD day low)
  • Post-FTD health (distribution days, power trend)

Phase 3: Contextual Guidance

Based on the market state, provide additional guidance:

If FTD Confirmed (score 60+):

  • Suggest looking at leading stocks in proper bases
  • Reference CANSLIM screener for candidate stocks
  • Remind about position sizing and stops

If Rally Attempt (Day 1-3):

  • Advise patience, do not buy ahead of FTD
  • Suggest building watchlists

If No Correction:

  • FTD analysis is not applicable in uptrend
  • Redirect to Market Top Detector for defensive signals

State Machine

NO_SIGNAL → CORRECTION → RALLY_ATTEMPT → FTD_WINDOW → FTD_CONFIRMED
                ↑              ↓               ↓              ↓
                └── RALLY_FAILED ←─────────────┘     FTD_INVALIDATED
StateDefinition
NO_SIGNALUptrend, no qualifying correction
CORRECTION3%+ decline with 3+ down days
RALLY_ATTEMPTDay 1-3 of rally from swing low
FTD_WINDOWDay 4-10, waiting for qualifying FTD
FTD_CONFIRMEDValid FTD signal detected
RALLY_FAILEDRally broke below swing low
FTD_INVALIDATEDClose below FTD day's low

Quality Score (0-100)

ScoreSignalExposure
80-100Strong FTD75-100%
60-79Moderate FTD50-75%
40-59Weak FTD25-50%
<40No FTD / Failed0-25%

Prerequisites

  • FMP API Key: Required. Set FMP_API_KEY environment variable or pass via --api-key flag.
  • Python 3.9+: With requests library installed.
  • API Budget: 4 calls per execution (well within FMP free tier of 250/day).

Output Files

  • JSON: ftd_detector_YYYY-MM-DD_HHMMSS.json
  • Markdown: ftd_detector_YYYY-MM-DD_HHMMSS.md

Reference Documents

skills/ftd-detector/references/ftd_methodology.md

  • O'Neil's FTD rules in detail
  • Rally attempt mechanics and day counting
  • Historical FTD examples (2020 March, 2022 October)

skills/ftd-detector/references/post_ftd_guide.md

  • Post-FTD distribution day failure rates
  • Power Trend definition and conditions
  • Success vs failure pattern comparison

When to Load References

  • First use: Load skills/ftd-detector/references/ftd_methodology.md for full understanding
  • Post-FTD questions: Load skills/ftd-detector/references/post_ftd_guide.md
  • Regular execution: References not needed - script handles analysis

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Plan and assess backtests, which test trading rules against historical data. Examine sensitivity to rule changes, trading costs, and data bias, then use supplied performance metrics to generate a structured evaluation with reasons that block adoption.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Define a backtesting plan for rule-based trading
  • Test sensitivity to parameters and trading costs
  • Investigate suspiciously strong backtest results
tradermonty/claude-trading-skills3.2천2026년 10월 21일 업데이트

Assess how broadly US stock market gains are shared across stocks using public CSV data and optional charts. Produce English reports covering market conditions, trading signals, scenarios, and positioning for different investment timeframes.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Checking how broadly US stocks are participating in a market rise
  • Reviewing medium- to long-term market positioning
  • Assessing short-term swing trading signals
tradermonty/claude-trading-skills3.2천2026년 10월 21일 업데이트

Analyze chart images showing how broadly US stocks are participating in market trends. Assess medium-term conditions and short-term signals, then produce an English report with positioning guidance, alternative scenarios, and risks based on the visible data.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Assessing the market cycle from an S&P 500 breadth chart
  • Checking short-term signals in an uptrend stock ratio chart
  • Comparing medium-term and short-term market signals
tradermonty/claude-trading-skills3.2천2026년 10월 21일 업데이트

Turn VCP screening results, which identify narrowing price swings, into breakout trade plans. Calculate entry, stop-loss, target prices, and position sizes using worst-case entries, while applying portfolio risk limits and producing Alpaca-compatible order templates.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Planning entries, stop-losses, and profit targets for VCP candidates
  • Calculating position sizes from account size and risk limits
  • Checking total portfolio risk and sector exposure
tradermonty/claude-trading-skills3.2천2026년 10월 21일 업데이트

Screen US growth stocks with William O'Neil's CANSLIM method, which evaluates seven factors including earnings, price strength, trading volume, and market direction. Receive ranked candidates with composite scores, factor breakdowns, market warnings, and data quality notes.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Find US stocks with earnings growth and price momentum
  • Compare a chosen list of stocks using CANSLIM scores
  • Screen a sector-focused stock list
tradermonty/claude-trading-skills3.2천2026년 10월 21일 업데이트

Combine three reports on crowded positions, failed reactions to news, and weekly price reversals into one trading setup status. Identify missing or invalid evidence and determine whether the setup is ready for planning.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Combine three contrarian strategy reports
  • Check which confirmations are still missing
  • Find stale or inconsistent input reports
tradermonty/claude-trading-skills3.2천2026년 10월 21일 업데이트

tradermonty의 스킬 모두 보기

이 스킬의 문제 신고