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.From its SKILL.md
npx -y skills add BaggaT236/AI-Trading-Skills --skill pead-screenerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- reads credentialsReads from 1 credential source: `FMP_API_KEY`.
- runs commandsInstructs the agent to run 3 commands, including `python3 skills/pead-screener/scripts/screen_pead.py --output-dir reports/` and 2 more.
SKILL.md
3.8 KB, 848 tokens by cl100k_base, as published. Nobody here has run it
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
- 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
Resources
references/pead_strategy.md- PEAD theory and weekly candle approachreferences/entry_exit_rules.md- Entry, exit, and position sizing rules
What ships with it: 14 files
133.5 KB alongside SKILL.md, 12 of them executable
references/
- entry_exit_rules.md3.8 KB
- pead_strategy.md5.3 KB
scripts/
- calculators/breakout_calculator.pyruns3.0 KB
- calculators/__init__.pyruns28 B
- calculators/liquidity_calculator.pyruns2.5 KB
- calculators/risk_reward_calculator.pyruns2.3 KB
- calculators/weekly_candle_calculator.pyruns10.4 KB
- fmp_client.pyruns16.3 KB
- _fmp_compat.pyruns4.9 KB
- report_generator.pyruns9.8 KB
- scorer.pyruns3.6 KB
- screen_pead.pyruns22.4 KB
- tests/conftest.pyruns181 B
- tests/test_pead_screener.pyruns48.9 KB