pead-screener
Screen post-earnings gap-up stocks for PEAD (Post-Earnings Announcement Drift) patterns. Analyzes weekly candle formation to detect red candle pullbacks and…
от tradermonty★ 9 343 звезды на GitHub
Установить pead-screener в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
PEAD Screener - Post-Earnings Announcement Drift
Screen post-earnings gap-up stocks for PEAD (Post-Earnings Announcement Drift) patterns using weekly candle analysis to detect red candle pullbacks and breakout signals.
When to Use
- User asks for PEAD screening or post-earnings drift analysis
- User wants to find earnings gap-up stocks with follow-through potential
- User requests red candle breakout patterns after earnings
- User asks for weekly earnings momentum setups
- User provides earnings-trade-analyzer JSON output for further screening
Prerequisites
Missing price bars
Treat a PriceBarGap as an unavailable candidate, not a weak setup. Validate
the consumed earnings-gap endpoints, weekly OHLCV bars and latest 20 liquidity
bars without dropping sessions or substituting zero. Missing, non-finite,
boolean and non-positive prices are invalid; zero volume remains valid.
Exclude affected symbols before ranking or generating entry/stop levels, and
read the dated reasons in JSON metadata.price_bar_gap_exclusions and Markdown.
Ignore invalid pre-earnings OHLC when the earnings week is present. Validate
pre-earnings volume only when consumed by the red-candle surrounding-week average,
the breakout's prior-four-week baseline, or the latest 20 daily liquidity bars.
Continue screening healthy symbols. Healthy-data scores and report bytes are
unchanged; absent history retains the existing insufficient-data behavior.
API setup
- FMP API key (set
FMP_API_KEYenvironment variable or pass--api-key)export FMP_API_KEY=your_api_key_here - Free tier (250 calls/day) is sufficient for default screening
- For Mode B: earnings-trade-analyzer JSON output file with schema_version "1.0"
Workflow
Step 1: Prepare and Execute Screening
Run the PEAD screener script in one of two modes:
Mode A (FMP earnings calendar):
# Default: last 14 days of earnings, 5-week monitoring window
python3 skills/pead-screener/scripts/screen_pead.py --output-dir reports/
# Custom parameters
python3 skills/pead-screener/scripts/screen_pead.py \
--lookback-days 21 \
--watch-weeks 6 \
--min-gap 5.0 \
--min-market-cap 1000000000 \
--output-dir reports/
Mode B (earnings-trade-analyzer JSON input):
# From earnings-trade-analyzer output
python3 skills/pead-screener/scripts/screen_pead.py \
--candidates-json reports/earnings_trade_analyzer_YYYY-MM-DD_HHMMSS.json \
--min-grade B \
--output-dir reports/
Scheduled US-equity routine pitfall: Prefer Mode B for pre-market / US-equity cron briefs after running earnings-trade-analyzer. Mode A can pull the global FMP earnings calendar, spend the API budget on non-US symbols, and return weak/non-actionable foreign listings before reaching the intended US watchlist. If Mode A is used anyway and the script reports budget trimming or non-US symbols, mark PEAD output as degraded and treat it as manual-review only rather than a clean candidate source.
Step 2: Review Results
- Read the generated JSON and Markdown reports
- Load
references/pead_strategy.mdfor PEAD theory and pattern context - Load
references/entry_exit_rules.mdfor trade management rules
Step 3: Present Analysis
For each candidate, present:
- Stage classification (MONITORING, SIGNAL_READY, BREAKOUT, EXPIRED)
- Weekly candle pattern details (red candle location, breakout status)
- Composite score and rating
- Trade setup: entry, stop-loss, target, risk/reward ratio
- Liquidity metrics (ADV20, average volume)
Step 4: Provide Actionable Guidance
Based on stages and ratings:
- BREAKOUT + Strong Setup (85+): High-conviction PEAD trade, full position size
- BREAKOUT + Good Setup (70-84): Solid PEAD setup, standard position size
- SIGNAL_READY: Red candle formed, set alert for breakout above red candle high
- MONITORING: Post-earnings, no red candle yet, add to watchlist
- EXPIRED: Beyond monitoring window, remove from watchlist
Output
pead_screener_YYYY-MM-DD_HHMMSS.json- Structured results with stage classificationpead_screener_YYYY-MM-DD_HHMMSS.md- Human-readable report grouped by stage
Unknown earnings timing
FMP does not confirm a bmo/amc session for every earnings row; unconfirmed
rows carry earnings_timing: "unknown" in Mode A and the price gap
calculation assumes the AMC window as a fallback. The Mode A report shows
timing_unknown_count out of timing_candidates_total so this assumption
stays visible (Mode B reports n/a since timing is inherited from the input
JSON). timing_candidates_total is the post-budget-trim population that was
actually analyzed, not the raw earnings-calendar row count.
Resources
references/pead_strategy.md- PEAD theory and weekly candle approachreferences/entry_exit_rules.md- Entry, exit, and position sizing rules
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/entry_exit_rules.md
- references/pead_strategy.md
- requirements.txt
- scripts/_fmp_compat.py
- scripts/_price_bars.py
- scripts/calculators/__init__.py
- scripts/calculators/breakout_calculator.py
- scripts/calculators/liquidity_calculator.py
- scripts/calculators/risk_reward_calculator.py
- scripts/calculators/weekly_candle_calculator.py
- scripts/fmp_client.py
- scripts/price_bar_utils.py
- scripts/report_generator.py
- scripts/scorer.py
- scripts/screen_pead.py
FAQ
Что делает скилл pead-screener?
Screen post-earnings gap-up stocks for PEAD (Post-Earnings Announcement Drift) patterns. Analyzes weekly candle formation to detect red candle pullbacks and breakout signals. Supports two input modes - FMP earnings calendar (Mode A) or earnings-trade-analyzer JSON output (Mode B). Use when user asks about PEAD screening, post-earnings drift, earnings gap follow-through, red candle breakout patterns, or weekly earnings momentum setups.
Как установить скилл pead-screener?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pead-screener запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…