stock-alert-workflow

Automated earnings surprise alerts with analyst rating lookup and WhatsApp push. Triggers when EPS surprise exceeds a configurable threshold (default 10%), searches 30-day analyst ratings, and sends a formatted WhatsApp alert via wacli.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "stock-alert-workflow" with this command: npx skills add terrycarter1985/stock-alert-workflow

Stock Alert Workflow

Automated earnings surprise → analyst rating → WhatsApp alert pipeline.

What It Does

  1. Fetches recent earnings data from Yahoo Finance (or local scraper output)
  2. Filters for EPS surprises exceeding a threshold (default 10%)
  3. Searches analyst ratings for qualifying tickers (last 30 days: consensus, target prices, upgrades/downgrades)
  4. Pushes a formatted WhatsApp alert via wacli

Quick Start

Full scan (all tracked tickers):

python3 {baseDir}/scripts/earnings_surprise_alert.py

Single ticker:

python3 {baseDir}/scripts/earnings_surprise_alert.py --ticker NVDA

Custom threshold:

python3 {baseDir}/scripts/earnings_surprise_alert.py --threshold 15

Dry run (print without sending):

python3 {baseDir}/scripts/earnings_surprise_alert.py --dry-run

Specific WhatsApp recipient:

python3 {baseDir}/scripts/earnings_surprise_alert.py --recipient "+1234567890"

Alert Format

🚨 *Earnings Surprise Alert*

📈 *NVDA* (NVIDIA Corporation)
   EPS Est: 2.07
   EPS Actual: 2.70
   Surprise: 🟢 +30.43%

📊 *Analyst Ratings (30d)*
   Consensus: 🟢32 🟡6 🔴0
   Target: $175.00 (↑+12.3%)
   Goldman Sachs: Upgrade → Buy (2026-04-28)
   Morgan Stanley: Reiterate → Overweight (2026-04-25)

_⚠️ Not financial advice_

Data Sources

SourceData
Yahoo Finance APIEarnings history, EPS estimates vs actuals
Yahoo Finance APIRecommendation trends, target prices, upgrade/downgrade history
Local scraper outputFallback: stock_analysis/data/earnings_{date}.json

Configuration

  • Threshold: --threshold flag (default 10%)
  • WhatsApp recipient: --recipient flag or wacli_configs/config.yaml default
  • Scraper config: scrapers/yahoo_finance_earnings.yaml
  • Search config: search/google_search_config.yaml

Scheduling

Run daily via cron after market close:

# Example: 5 PM ET on weekdays
0 17 * * 1-5 python3 /path/to/earnings_surprise_alert.py

Limitations

  • Yahoo Finance unofficial API may require rate limiting
  • Analyst rating data depends on Yahoo Finance coverage
  • WhatsApp delivery requires wacli to be configured and authenticated
  • US-listed stocks only

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Stock Price Alert

股价异动实时提醒,支持行情接口、邮件通知和 Sonos 语音播报

Registry SourceRecently Updated
1750Profile unavailable
Web3

Veroq

Provide verified AI intelligence on markets, assets, sentiment, and economic data with live prices, signals, analysis, and fact-checking from 1,000+ tickers...

Registry SourceRecently Updated
1640Profile unavailable
Research

EarningsFinancialsAgent

An autonomous agent for monitoring corporate earnings and analyzing financial statements using yfinance.

Registry SourceRecently Updated
1891Profile unavailable
Research

us

Delivers structured US equity research including snapshots, earnings analysis, valuation scenarios, catalysts, risks, and actionable trade or monitoring plans.

Registry SourceRecently Updated
4100Profile unavailable