Agent skill

Ibd Distribution Day Monitor

by tradermonty in tradermonty/claude-trading-skills

Detect IBD-style Distribution Days for QQQ/SPY (close down at least 0.2% on higher volume), track 25-session expiration and 5% invalidation, count d5/d15/d25 clusters, classify market risk…

MITAuto-check passedBusiness, Finance & HR

Install Ibd Distribution Day Monitor

skills CLI
$ npx skills add tradermonty/claude-trading-skills --skill ibd-distribution-day-monitor -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tradermonty/claude-trading-skills ibd-distribution-day-monitor --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tradermonty/claude-trading-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ibd-distribution-day-monitor .claude/skills/ibd-distribution-day-monitor && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ibd-distribution-day-monitor
GitHub stars
3k
Used in
1 other repo
Token cost
~1.3k tokens
SKILL.md length
585 words
Files
26 (incl. scripts, references)
Skills in repo
74
Repo updated
First seen
Licence
MIT

At a glance

Detect IBD-style Distribution Days for QQQ/SPY (close down at least 0.2% on higher volume), track 25-session expiration and 5% invalidation, count d5/d15/d25 clusters, classify market risk…

  • Works in 2 steps: Today's close is at least 0.2% below… → Today's volume is greater than…
  • Business, Finance & HR work in your project
  • SKILL.md covers Purpose, When to Use, Inputs and Core Rules, plus 9 more sections
  • Runs Python scripts from its folder; calls python3; needs FMP_API_KEY

What it does

Ibd Distribution Day Monitor is an agent skill from tradermonty/claude-trading-skills. Detect IBD-style Distribution Days for QQQ/SPY (close down at least 0.2% on higher volume), track 25-session expiration and 5% invalidation, count d5/d15/d25 clusters, classify market risk (NORMAL/CAUTION/HIGH/SEVERE), and emit TQQQ/QQQ exposure recommendations. Use after market close, before TQQQ exposure changes, or as input to FTD/market-state frameworks. Does not execute trades.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 29 other files, including scripts and reference files (for example `config/default.yaml`, `references/ibd_distribution_methodology.md` and `references/tqqq_exposure_policy.md`).

It sits in Business, Finance & HR. The repository describes itself as: Claude Code skills for equity investors and traders — market analysis, technical charting, economic calendars, screeners, and trading strategy development. The licence is MIT.

When your agent uses it

  • Business, Finance & HR work in your project

Example prompts

  • “/ibd-distribution-day-monitor”

Requirements

  • Python 3
  • A credential in FMP_API_KEY

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Today's close is at least 0.2% below yesterday's close.
  2. Today's volume is greater than yesterday's volume.

What it can do on your machine

Read from SKILL.md and the folder at commit c8d58f0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 12 files in scripts/ (Python, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • FMP_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ibd Distribution Day Monitor loads about 1.3k tokens when it runs, and up to ~3.1k if it reads all its reference files. Until then it costs about 104 tokens; SKILL.md has 585 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~104
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from tradermonty/claude-trading-skills at commit c8d58f0, republished under its MIT licence (© tradermonty). 585 words, ~1,310 tokens.

Download SKILL.mdSave it as .claude/skills/ibd-distribution-day-monitor/SKILL.md (or your agent's skills folder). This skill also uses 25 other files; get the full folder from GitHub.
name
ibd-distribution-day-monitor
description
Detect IBD-style Distribution Days for QQQ/SPY (close down at least 0.2% on higher volume), track 25-session expiration and 5% invalidation, count d5/d15/d25 clusters, classify market risk (NORMAL/CAUTION/HIGH/SEVERE), and emit TQQQ/QQQ exposure recommendations. Use after market close, before TQQQ exposure changes, or as input to FTD/market-state frameworks. Does not execute trades.

IBD Distribution Day Monitor

Purpose

Detect IBD-style Distribution Days for major market ETFs (QQQ as Nasdaq proxy, SPY as S&P 500 proxy) and produce a daily market deterioration signal plus a TQQQ/QQQ exposure recommendation. Designed for post-market review.

When to Use

Invoke this skill:

  • Daily after the US market close.
  • Before increasing TQQQ exposure or rebalancing leveraged positions.
  • When evaluating whether an uptrend is becoming vulnerable to a correction.
  • As an upstream input to FTD (Follow-Through Day) detection or other market-state frameworks.

Do NOT use this skill to:

  • Execute trades or modify orders.
  • Generate discretionary market predictions outside of the IBD ruleset.

Inputs

  • Symbols (default: QQQ, SPY) and lookback (default 80 trading sessions).
  • Optional --as-of YYYY-MM-DD for backtesting against a historical session.
  • Strategy context: instrument (TQQQ or QQQ), current exposure %, base trailing stop %.
  • FMP API key via --api-key, config.data.api_key, or FMP_API_KEY env var (in that priority order).

Core Rules

A Distribution Day is detected when:

  1. Today's close is at least 0.2% below yesterday's close.
  2. Today's volume is greater than yesterday's volume.

A Distribution Day is removed from the active count when either:

  • More than 25 trading sessions have elapsed since the DD.
  • The index has gained 5% from the DD close (using post-DD high by default; configurable to close-source).

Today's DD is never invalidated immediately because there are no post-DD sessions to evaluate the 5% gain against.

Counting Conventions

  • d5_count / d15_count / d25_count count active records with age_sessions <= N.
  • This means N+1 sessions are inspected (age 0..N inclusive). Reports therefore say "within N elapsed sessions" rather than "直近 N 取引日" to avoid ambiguity.

Risk Classification

RiskTrigger
NORMALd25 <= 2
CAUTIONd25 >= 3
HIGHd25 >= 5 OR d15 >= 3 OR d5 >= 2
SEVEREd25 >= 6 OR d15 >= 4 OR (market_below_21ema_or_50ma AND d25 >= 5)

When both QQQ and SPY are loaded, QQQ-weighted overall logic applies (TQQQ-aware): a single SEVERE escalates to SEVERE; QQQ HIGH escalates to overall HIGH; QQQ NORMAL + SPY HIGH still escalates to HIGH (broad-market spillover).

TQQQ Exposure Policy

RiskActionTarget ExposureTrailing Stop
NORMALHOLD_OR_FOLLOW_BASE_STRATEGY100%base
CAUTIONAVOID_NEW_ADDS75%min(base, 7%)
HIGHREDUCE_EXPOSURE50%min(base, 5%)
SEVERECLOSE_TQQQ_OR_HEDGE25%min(base, 3%)

QQQ uses a less aggressive policy (HIGH=75%, SEVERE=50%) since it lacks 3x leverage.

Show full SKILL.md (216 more words)Show less

Workflow

  1. Load OHLCV for the configured symbols via FMP (get_historical_prices).
  2. Validate data quality; record skipped sessions in audit.
  3. Rebase via prepare_effective_history so effective_history[0] is the evaluation session.
  4. Detect raw Distribution Days; enrich with high_since, invalidation event, and status.
  5. Count d5 / d15 / d25 active records.
  6. Compute 21EMA and 50SMA filters; flag market_below_21ema_or_50ma (None if data insufficient).
  7. Classify each index, then combine using QQQ-weighted policy.
  8. Generate portfolio action for the configured instrument.
  9. Write JSON + Markdown reports to --output-dir with API keys redacted.

Outputs

Saved to reports/ (or --output-dir):

  • ibd_distribution_day_monitor_YYYY-MM-DD_HHMMSS.json
  • ibd_distribution_day_monitor_YYYY-MM-DD_HHMMSS.md

JSON is UTF-8 with ensure_ascii=False (Japanese explanations preserved). Sensitive keys (api_key, fmp_api_key, token, etc.) are redacted automatically.

Operating Principles

  • Do not override the IBD rule definitions unless config/default.yaml is changed deliberately.
  • Always explain which dates contributed to the active count.
  • Treat missing or unreliable volume data as a warning (audit_flag), not as a Distribution Day.
  • Do not place trades. The portfolio action is a risk-management suggestion, not an execution instruction.

CLI

bash
python3 skills/ibd-distribution-day-monitor/scripts/ibd_monitor.py \
  --symbols QQQ,SPY \
  --lookback-days 80 \
  --instrument TQQQ \
  --current-exposure 100 \
  --base-trailing-stop 10 \
  --output-dir reports/

API Requirements

FMP API key required. Free tier (250 calls/day) is sufficient for daily QQQ + SPY runs.

  • ftd-detector: Bottom confirmation via Follow-Through Days (counterpart of this top-side signal).
  • market-top-detector: Composite 0-100 top probability score using O'Neil distribution + other components.
  • position-sizer: Convert risk-management recommendations into share counts.

© tradermonty, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 25 other files (scripts, references) in skills/ibd-distribution-day-monitor of tradermonty/claude-trading-skills.

  • SKILL.md
  • config/default.yaml
  • references/ibd_distribution_methodology.md
  • references/tqqq_exposure_policy.md
  • requirements.txt
  • scripts/_fmp_compat.py
  • scripts/data_loader.py
  • scripts/distribution_day_tracker.py
  • scripts/exposure_policy.py
  • scripts/fmp_client.py
  • scripts/history_utils.py
  • scripts/ibd_monitor.py
  • scripts/math_utils.py
  • scripts/models.py
  • scripts/report_generator.py
  • scripts/risk_classifier.py
  • scripts/tests/conftest.py
  • … and 9 more

Open the folder on GitHubat commit c8d58f0

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in tradermonty/claude-trading-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Ibd Distribution Day Monitor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ibd Distribution Day Monitor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ibd Distribution Day Monitor this skilltradermonty/claude-trading-skills3k1 repos~1.3kAutomated safety check: PassMIT
Creating Financial ModelsChen-zexi/open-ptc-agent7293 repos~1.3kAutomated safety check: PassMIT
Stock APIzhangxiangliang/stock-api2k—~507Automated safety check: PassMIT
Itr Walakaranb192/itr-wala871—~3.6kAutomated safety check: PassMIT
Tushare Datazillionare/zillionare3222 repos~2.3kAutomated safety check: PassNone
Cc Sdd New Agentgotalab/cc-sdd3.7k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Creating Financial Models

    Chen-zexi/open-ptc-agent

    This skill provides an advanced financial modeling suite with DCF analysis, sensitivity testing, Monte Carlo simulations, and scenario planning for investment decisions

    729 GitHub starsUsed in 3 repos~1.3k tokens
    Business, Finance & HRAuto-check passed
  • Stock API

    zhangxiangliang/stock-api

    Fetch real-time stock quotes, K-line (candlestick) history, and search symbols for China A-shares, Hong Kong, and US markets.

    2k GitHub stars~507 tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Itr Wala

    karanb192/itr-wala

    File Indian income tax returns (ITR) for FY 2025-26 / AY 2026-27.

    871 GitHub stars~3.6k tokensUpdated 7 days ago
    Business, Finance & HRAuto-check passed
  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    322 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed
  • Cc Sdd New Agent

    gotalab/cc-sdd

    Add or extend coding-agent support in cc-sdd by executing the SOP in docs/cc-sdd/sop-new-agent.md end-to-end.

    3.7k GitHub stars~1.1k tokensUpdated 18 days ago
    Business, Finance & HRAuto-check passed
  • DBS Business Toolkit Entry

    dontbesilent2025/dbskill

    Chinese-language entry skill for the dontbesilent business toolkit: onboards new users, orchestrates tasks across sub-skills, runs numbered prompts and lists hidden ones.

    11k GitHub stars~2k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed

More from tradermonty/claude-trading-skills

All 74 skills in this repo
  • Technical Analyst

    tradermonty/claude-trading-skills

    This skill should be used when analyzing weekly price charts for stocks, stock indices, cryptocurrencies, or forex pairs.

    3k GitHub starsUsed in 4 repos~4.6k tokens
    Auto-check passed
  • Theme Detector

    tradermonty/claude-trading-skills

    Detect and analyze trending market themes across sectors. An agent skill from tradermonty/claude-trading-skills.

    3k GitHub starsUsed in 2 repos~4.9k tokens
    Auto-check passed
  • Trader Memory Core

    tradermonty/claude-trading-skills

    Track investment theses across their lifecycle — from screening idea to closed position with postmortem.

    3k GitHub starsUsed in 2 repos~4.3k tokens
    Auto-check passed
  • Edge Strategy Reviewer

    tradermonty/claude-trading-skills

    Critically review strategy drafts from edge-strategy-designer for edge plausibility, overfitting risk, sample size adequacy, and execution realism.

    3k GitHub starsUsed in 1 repo~988 tokens
    Auto-check passed
  • Sector Analyst

    tradermonty/claude-trading-skills

    This skill should be used when analyzing sector rotation patterns and market cycle positioning.

    3k GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Stanley Druckenmiller Investment

    tradermonty/claude-trading-skills

    Druckenmiller Strategy Synthesizer - Integrates 8 upstream skill outputs (Market Breadth, Uptrend Analysis, Market Top, Macro Regime, FTD Detector, VCP Screener, Theme Detector, CANSLIM Screener)…

    3k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed

Questions about Ibd Distribution Day Monitor

What does Ibd Distribution Day Monitor do?

Detect IBD-style Distribution Days for QQQ/SPY (close down at least 0.2% on higher volume), track 25-session expiration and 5% invalidation, count d5/d15/d25 clusters, classify market risk…. Ibd Distribution Day Monitor is an agent skill from tradermonty/claude-trading-skills.2% on higher volume), track 25-session expiration and 5% invalidation, count d5/d15/d25 clusters, classify market risk (NORMAL/CAUTION/HIGH/SEVERE), and emit TQQQ/QQQ exposure recommendations.

When should I use Ibd Distribution Day Monitor?

Ibd Distribution Day Monitor fits situations like: business, Finance & HR work in your project.

How do I install Ibd Distribution Day Monitor in Claude Code?

Run `npx skills add tradermonty/claude-trading-skills --skill ibd-distribution-day-monitor -a claude-code`. Or copy the skill folder (skills/ibd-distribution-day-monitor in tradermonty/claude-trading-skills) into .claude/skills/ibd-distribution-day-monitor in your project. Claude Code loads it when a task matches its description.

How do I install Ibd Distribution Day Monitor in Codex?

Run `npx skills add tradermonty/claude-trading-skills --skill ibd-distribution-day-monitor -a codex`. Or copy the skill folder (skills/ibd-distribution-day-monitor in tradermonty/claude-trading-skills) into .agents/skills/ibd-distribution-day-monitor in your project. Codex loads it when a task matches its description.

Can I use Ibd Distribution Day Monitor in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tradermonty/claude-trading-skills --skill ibd-distribution-day-monitor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ibd-distribution-day-monitor, .gemini/skills/ibd-distribution-day-monitor, .github/skills/ibd-distribution-day-monitor and .opencode/skills/ibd-distribution-day-monitor in your project.

What does Ibd Distribution Day Monitor need to run?

Going by SKILL.md and its folder, Ibd Distribution Day Monitor needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named FMP_API_KEY. Our summary lists: Python 3; A credential in FMP_API_KEY.

Does Ibd Distribution Day Monitor access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ibd Distribution Day Monitor safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Ibd Distribution Day Monitor use?

Ibd Distribution Day Monitor is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ibd Distribution Day Monitor use?

About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.8k tokens, read only when the agent opens those files.

What are the alternatives to Ibd Distribution Day Monitor?

Skills that share tags, products or a category with Ibd Distribution Day Monitor: Creating Financial Models (Chen-zexi/open-ptc-agent, 729 stars), Stock API (zhangxiangliang/stock-api, 2k stars), Itr Wala (karanb192/itr-wala, 871 stars) and Tushare Data (zillionare/zillionare, 322 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ibd Distribution Day Monitor?

tradermonty (a GitHub user) maintains it in tradermonty/claude-trading-skills, which has 2,982 GitHub stars. The repository holds 74 skills in this directory. The repository was last updated on October 11, 2026.

Source: tradermonty/claude-trading-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.