All skills
tradermonty avatar

/ibd-distribution-day-monitor

@840883e

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.

Use this Skill: https://skilld.dev/gh/tradermonty/claude-trading-skills/ibd-distribution-day-monitor

This session only. Nothing lands on disk.

referencestqqq_exposure_policy.md

≈642 tokens on demand. Your agent reads this file only when SKILL.md points to it.

TQQQ / QQQ Exposure Policy

Why TQQQ Needs A Different Policy

TQQQ targets 3x daily returns of the Nasdaq-100. Two structural facts make it more dangerous in distribution clusters than QQQ:

  1. Daily compounding decay. In choppy or trending-down markets, 3x daily reset compounds losses geometrically. A -1% / -1% Nasdaq sequence translates to roughly -5.91% TQQQ, not -6%.
  2. Larger drawdowns from the same correction. A 10% Nasdaq pullback typically produces a 25-35% TQQQ drawdown depending on path.

The IBD distribution day signal warns of institutional selling pressure that is not yet captured by trend/MA filters alone. When that signal fires, exposure should be cut faster on TQQQ than on QQQ.

Policy Mapping

TQQQ

Risk Recommended Action Target Exposure Trailing Stop Cap
NORMAL HOLD_OR_FOLLOW_BASE_STRATEGY 100% base
CAUTION AVOID_NEW_ADDS 75% min(base, 7%)
HIGH REDUCE_EXPOSURE 50% min(base, 5%)
SEVERE CLOSE_TQQQ_OR_HEDGE 25% min(base, 3%)

Alternative actions surfaced for TQQQ:

  • HIGH → SWITCH_PARTIAL_TO_QQQ
  • SEVERE → SWITCH_TO_QQQ_OR_CASH

QQQ

Risk Recommended Action Target Exposure Trailing Stop Cap
NORMAL HOLD_OR_FOLLOW_BASE_STRATEGY 100% base
CAUTION AVOID_NEW_ADDS 100% (no cut) min(base, 8%)
HIGH REDUCE_EXPOSURE 75% min(base, 6%)
SEVERE REDUCE_EXPOSURE_OR_HEDGE 50% min(base, 5%)

QQQ does not need to drop to 25-50% at SEVERE because daily compounding hurts it less than TQQQ.

Trailing Stop Cap Rule

The skill always uses the tighter of the user's base_trailing_stop_pct and the policy cap. It never widens the trailing stop. If the user provides a base stop already tighter than the policy cap (e.g. base 4%, policy cap 5% at HIGH), the user's value wins.

What's Out Of Scope

  • Position sizing in shares: use position-sizer.
  • Tax-aware lot selection: not addressed by this skill.
  • Hedge instrument selection: the action is named (CLOSE_TQQQ_OR_HEDGE) but instrument choice is up to the operator.

Operator Notes

  • The policy is deterministic. Adjust risk_thresholds in config/default.yaml to change the bands; changing exposure targets requires editing exposure_policy.py (deliberate, since the bands are calibrated to TQQQ leverage characteristics).
  • The recommendation is just that — a recommendation. The skill never executes orders.

Source: SKILL.md on GitHub

No alerts11d3 checks · Risk SAFE
  • Gen Agent Trust Hub11d

    This skill is a financial monitoring tool that implements IBD-style Distribution Day detection for market indexes. It follows security best practices, including robust API key redaction and safe YAML parsing. No malicious patterns or security risks were identified.

  • Socket11d

    No alerts

  • Snyk11d

    Risk: LOW · No issues

Signed by skilld at 840883e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 20 hours ago.

Activeupdated 5 months ago

README badge

README badge for tradermonty/claude-trading-skills/ibd-distribution-day-monitor