Stock Analysis v6.1
Analyze US stocks and cryptocurrencies with 8-dimension analysis, portfolio management, watchlists, alerts, dividend analysis, and viral trend detection.
What's New in v6.2
- 🔮 Rumor Scanner — Early signals before mainstream news
- M&A rumors and takeover bids
- Insider buying/selling activity
- Analyst upgrades/downgrades
- Twitter/X "hearing that...", "sources say..." detection
- 🎯 Impact Scoring — Rumors ranked by potential market impact
What's in v6.1
- 🔥 Hot Scanner — Find viral stocks & crypto across multiple sources
- 🐦 Twitter/X Integration — Social sentiment via bird CLI
- 📰 Multi-Source Aggregation — CoinGecko, Google News, Yahoo Finance
- ⏰ Cron Support — Daily trend reports
What's in v6.0
- 🆕 Watchlist + Alerts — Price targets, stop losses, signal changes
- 🆕 Dividend Analysis — Yield, payout ratio, growth, safety score
- 🆕 Fast Mode —
--fast skips slow analyses (insider, news)
- 🆕 Improved Performance —
--no-insider for faster runs
Quick Commands
Stock Analysis
# Basic analysis
uv run {baseDir}/scripts/analyze_stock.py AAPL
# Fast mode (skips insider trading & breaking news)
uv run {baseDir}/scripts/analyze_stock.py AAPL --fast
# Compare multiple
uv run {baseDir}/scripts/analyze_stock.py AAPL MSFT GOOGL
# Crypto
uv run {baseDir}/scripts/analyze_stock.py BTC-USD ETH-USD
Dividend Analysis (NEW v6.0)
# Analyze dividends
uv run {baseDir}/scripts/dividends.py JNJ
# Compare dividend stocks
uv run {baseDir}/scripts/dividends.py JNJ PG KO MCD --output json
Dividend Metrics:
- Dividend Yield & Annual Payout
- Payout Ratio (safe/moderate/high/unsustainable)
- 5-Year Dividend Growth (CAGR)
- Consecutive Years of Increases
- Safety Score (0-100)
- Income Rating (excellent/good/moderate/poor)
Watchlist + Alerts (NEW v6.0)
# Add to watchlist
uv run {baseDir}/scripts/watchlist.py add AAPL
# With price target alert
uv run {baseDir}/scripts/watchlist.py add AAPL --target 200
# With stop loss alert
uv run {baseDir}/scripts/watchlist.py add AAPL --stop 150
# Alert on signal change (BUY→SELL)
uv run {baseDir}/scripts/watchlist.py add AAPL --alert-on signal
# View watchlist
uv run {baseDir}/scripts/watchlist.py list
# Check for triggered alerts
uv run {baseDir}/scripts/watchlist.py check
uv run {baseDir}/scripts/watchlist.py check --notify # Telegram format
# Remove from watchlist
uv run {baseDir}/scripts/watchlist.py remove AAPL
Alert Types:
- 🎯 Target Hit — Price >= target
- 🛑 Stop Hit — Price <= stop
- 📊 Signal Change — BUY/HOLD/SELL changed
Portfolio Management
# Create portfolio
uv run {baseDir}/scripts/portfolio.py create "Tech Portfolio"
# Add assets
uv run {baseDir}/scripts/portfolio.py add AAPL --quantity 100 --cost 150
uv run {baseDir}/scripts/portfolio.py add BTC-USD --quantity 0.5 --cost 40000
# View portfolio
uv run {baseDir}/scripts/portfolio.py show
# Analyze with period returns
uv run {baseDir}/scripts/analyze_stock.py --portfolio "Tech Portfolio" --period weekly
🔥 Hot Scanner (NEW v6.1)
# Full scan - find what's trending NOW
python3 {baseDir}/scripts/hot_scanner.py
# Fast scan (skip social media)
python3 {baseDir}/scripts/hot_scanner.py --no-social
# JSON output for automation
python3 {baseDir}/scripts/hot_scanner.py --json
Data Sources:
- 📊 CoinGecko Trending — Top 15 trending coins
- 📈 CoinGecko Movers — Biggest gainers/losers
- 📰 Google News — Finance & crypto headlines
- 📉 Yahoo Finance — Gainers, losers, most active
- 🐦 Twitter/X — Social sentiment (requires auth)
Output:
- Top trending by mention count
- Crypto highlights with 24h changes
- Stock movers by category
- Breaking news with tickers
Twitter Setup (Optional):
- Install bird:
npm install -g @steipete/bird
- Login to x.com in Safari/Chrome
- Create
.env with AUTH_TOKEN and CT0
🔮 Rumor Scanner (NEW v6.2)
# Find early signals, M&A rumors, insider activity
python3 {baseDir}/scripts/rumor_scanner.py
What it finds:
- 🏢 M&A Rumors — Merger, acquisition, takeover bids
- 👔 Insider Activity — CEO/Director buying/selling
- 📊 Analyst Actions — Upgrades, downgrades, price target changes
- 🐦 Twitter Whispers — "hearing that...", "sources say...", "rumor"
- ⚖️ SEC Activity — Investigations, filings
Impact Scoring:
- Each rumor is scored by potential market impact (1-10)
- M&A/Takeover: +5 points
- Insider buying: +4 points
- Upgrade/Downgrade: +3 points
- "Hearing"/"Sources say": +2 points
- High engagement: +2 bonus
Best Practice: Run at 07:00 before US market open to catch pre-market signals.
Analysis Dimensions (8 for stocks, 3 for crypto)
Stocks
| Dimension |
Weight |
Description |
| Earnings Surprise |
30% |
EPS beat/miss |
| Fundamentals |
20% |
P/E, margins, growth |
| Analyst Sentiment |
20% |
Ratings, price targets |
| Historical |
10% |
Past earnings reactions |
| Market Context |
10% |
VIX, SPY/QQQ trends |
| Sector |
15% |
Relative strength |
| Momentum |
15% |
RSI, 52-week range |
| Sentiment |
10% |
Fear/Greed, shorts, insiders |
Crypto
- Market Cap & Category
- BTC Correlation (30-day)
- Momentum (RSI, range)
Sentiment Sub-Indicators
| Indicator |
Source |
Signal |
| Fear & Greed |
CNN |
Contrarian (fear=buy) |
| Short Interest |
Yahoo |
Squeeze potential |
| VIX Structure |
Futures |
Stress detection |
| Insider Trades |
SEC EDGAR |
Smart money |
| Put/Call Ratio |
Options |
Sentiment extreme |
Risk Detection
- ⚠️ Pre-Earnings — Warns if < 14 days to earnings
- ⚠️ Post-Spike — Flags if up >15% in 5 days
- ⚠️ Overbought — RSI >70 + near 52w high
- ⚠️ Risk-Off — GLD/TLT/UUP rising together
- ⚠️ Geopolitical — Taiwan, China, Russia, Middle East keywords
- ⚠️ Breaking News — Crisis keywords in last 24h
Performance Options
| Flag |
Effect |
Speed |
| (default) |
Full analysis |
5-10s |
--no-insider |
Skip SEC EDGAR |
3-5s |
--fast |
Skip insider + news |
2-3s |
Supported Cryptos (Top 20)
BTC, ETH, BNB, SOL, XRP, ADA, DOGE, AVAX, DOT, MATIC, LINK, ATOM, UNI, LTC, BCH, XLM, ALGO, VET, FIL, NEAR
(Use -USD suffix: BTC-USD, ETH-USD)
Data Storage
| File |
Location |
| Portfolios |
~/.clawdbot/skills/stock-analysis/portfolios.json |
| Watchlist |
~/.clawdbot/skills/stock-analysis/watchlist.json |
Limitations
- Yahoo Finance may lag 15-20 minutes
- Short interest lags ~2 weeks (FINRA)
- Insider trades lag 2-3 days (SEC filing)
- US markets only (non-US incomplete)
- Breaking news: 1h cache, keyword-based
Disclaimer
⚠️ NOT FINANCIAL ADVICE. For informational purposes only. Consult a licensed financial advisor before making investment decisions.
1---2name: stock-analysis-43description: Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.4version: 6.2.05homepage: https://finance.yahoo.com6commands:7 - /stock - Analyze a stock or crypto (e.g., /stock AAPL)8 - /stock_compare - Compare multiple tickers9 - /stock_dividend - Analyze dividend metrics10 - /stock_watch - Add/remove from watchlist11 - /stock_alerts - Check triggered alerts12 - /stock_hot - Find trending stocks & crypto (Hot Scanner)13 - /stock_rumors - Find early signals, M&A rumors, insider activity (Rumor Scanner)14 - /portfolio - Show portfolio summary15 - /portfolio_add - Add asset to portfolio16metadata:17 source: https://skillmd.com/skills/modbender/stock-analysis-418 clawdbot:19 emoji: 📈20 requires:21 bins:22 - uv23 env: []24 install:25 - id: uv-brew26 kind: brew27 formula: uv28 bins:29 - uv30 label: Install uv (brew)31---3233# Stock Analysis v6.13435Analyze US stocks and cryptocurrencies with 8-dimension analysis, portfolio management, watchlists, alerts, dividend analysis, and **viral trend detection**.3637## What's New in v6.23839- 🔮 **Rumor Scanner** — Early signals before mainstream news40 - M&A rumors and takeover bids41 - Insider buying/selling activity42 - Analyst upgrades/downgrades43 - Twitter/X "hearing that...", "sources say..." detection44- 🎯 **Impact Scoring** — Rumors ranked by potential market impact4546## What's in v6.14748- 🔥 **Hot Scanner** — Find viral stocks & crypto across multiple sources49- 🐦 **Twitter/X Integration** — Social sentiment via bird CLI50- 📰 **Multi-Source Aggregation** — CoinGecko, Google News, Yahoo Finance51- ⏰ **Cron Support** — Daily trend reports5253## What's in v6.05455- 🆕 **Watchlist + Alerts** — Price targets, stop losses, signal changes56- 🆕 **Dividend Analysis** — Yield, payout ratio, growth, safety score57- 🆕 **Fast Mode** — `--fast` skips slow analyses (insider, news)58- 🆕 **Improved Performance** — `--no-insider` for faster runs5960## Quick Commands6162### Stock Analysis63```bash64# Basic analysis65uv run {baseDir}/scripts/analyze_stock.py AAPL6667# Fast mode (skips insider trading & breaking news)68uv run {baseDir}/scripts/analyze_stock.py AAPL --fast6970# Compare multiple71uv run {baseDir}/scripts/analyze_stock.py AAPL MSFT GOOGL7273# Crypto74uv run {baseDir}/scripts/analyze_stock.py BTC-USD ETH-USD75```7677### Dividend Analysis (NEW v6.0)78```bash79# Analyze dividends80uv run {baseDir}/scripts/dividends.py JNJ8182# Compare dividend stocks83uv run {baseDir}/scripts/dividends.py JNJ PG KO MCD --output json84```8586**Dividend Metrics:**87- Dividend Yield & Annual Payout88- Payout Ratio (safe/moderate/high/unsustainable)89- 5-Year Dividend Growth (CAGR)90- Consecutive Years of Increases91- Safety Score (0-100)92- Income Rating (excellent/good/moderate/poor)9394### Watchlist + Alerts (NEW v6.0)95```bash96# Add to watchlist97uv run {baseDir}/scripts/watchlist.py add AAPL9899# With price target alert100uv run {baseDir}/scripts/watchlist.py add AAPL --target 200101102# With stop loss alert103uv run {baseDir}/scripts/watchlist.py add AAPL --stop 150104105# Alert on signal change (BUY→SELL)106uv run {baseDir}/scripts/watchlist.py add AAPL --alert-on signal107108# View watchlist109uv run {baseDir}/scripts/watchlist.py list110111# Check for triggered alerts112uv run {baseDir}/scripts/watchlist.py check113uv run {baseDir}/scripts/watchlist.py check --notify # Telegram format114115# Remove from watchlist116uv run {baseDir}/scripts/watchlist.py remove AAPL117```118119**Alert Types:**120- 🎯 **Target Hit** — Price >= target121- 🛑 **Stop Hit** — Price <= stop122- 📊 **Signal Change** — BUY/HOLD/SELL changed123124### Portfolio Management125```bash126# Create portfolio127uv run {baseDir}/scripts/portfolio.py create "Tech Portfolio"128129# Add assets130uv run {baseDir}/scripts/portfolio.py add AAPL --quantity 100 --cost 150131uv run {baseDir}/scripts/portfolio.py add BTC-USD --quantity 0.5 --cost 40000132133# View portfolio134uv run {baseDir}/scripts/portfolio.py show135136# Analyze with period returns137uv run {baseDir}/scripts/analyze_stock.py --portfolio "Tech Portfolio" --period weekly138```139140### 🔥 Hot Scanner (NEW v6.1)141```bash142# Full scan - find what's trending NOW143python3 {baseDir}/scripts/hot_scanner.py144145# Fast scan (skip social media)146python3 {baseDir}/scripts/hot_scanner.py --no-social147148# JSON output for automation149python3 {baseDir}/scripts/hot_scanner.py --json150```151152**Data Sources:**153- 📊 CoinGecko Trending — Top 15 trending coins154- 📈 CoinGecko Movers — Biggest gainers/losers155- 📰 Google News — Finance & crypto headlines156- 📉 Yahoo Finance — Gainers, losers, most active157- 🐦 Twitter/X — Social sentiment (requires auth)158159**Output:**160- Top trending by mention count161- Crypto highlights with 24h changes162- Stock movers by category163- Breaking news with tickers164165**Twitter Setup (Optional):**1661. Install bird: `npm install -g @steipete/bird`1672. Login to x.com in Safari/Chrome1683. Create `.env` with `AUTH_TOKEN` and `CT0`169170### 🔮 Rumor Scanner (NEW v6.2)171```bash172# Find early signals, M&A rumors, insider activity173python3 {baseDir}/scripts/rumor_scanner.py174```175176**What it finds:**177- 🏢 **M&A Rumors** — Merger, acquisition, takeover bids178- 👔 **Insider Activity** — CEO/Director buying/selling179- 📊 **Analyst Actions** — Upgrades, downgrades, price target changes180- 🐦 **Twitter Whispers** — "hearing that...", "sources say...", "rumor"181- ⚖️ **SEC Activity** — Investigations, filings182183**Impact Scoring:**184- Each rumor is scored by potential market impact (1-10)185- M&A/Takeover: +5 points186- Insider buying: +4 points187- Upgrade/Downgrade: +3 points188- "Hearing"/"Sources say": +2 points189- High engagement: +2 bonus190191**Best Practice:** Run at 07:00 before US market open to catch pre-market signals.192193## Analysis Dimensions (8 for stocks, 3 for crypto)194195### Stocks196| Dimension | Weight | Description |197|-----------|--------|-------------|198| Earnings Surprise | 30% | EPS beat/miss |199| Fundamentals | 20% | P/E, margins, growth |200| Analyst Sentiment | 20% | Ratings, price targets |201| Historical | 10% | Past earnings reactions |202| Market Context | 10% | VIX, SPY/QQQ trends |203| Sector | 15% | Relative strength |204| Momentum | 15% | RSI, 52-week range |205| Sentiment | 10% | Fear/Greed, shorts, insiders |206207### Crypto208- Market Cap & Category209- BTC Correlation (30-day)210- Momentum (RSI, range)211212## Sentiment Sub-Indicators213214| Indicator | Source | Signal |215|-----------|--------|--------|216| Fear & Greed | CNN | Contrarian (fear=buy) |217| Short Interest | Yahoo | Squeeze potential |218| VIX Structure | Futures | Stress detection |219| Insider Trades | SEC EDGAR | Smart money |220| Put/Call Ratio | Options | Sentiment extreme |221222## Risk Detection223224- ⚠️ **Pre-Earnings** — Warns if < 14 days to earnings225- ⚠️ **Post-Spike** — Flags if up >15% in 5 days226- ⚠️ **Overbought** — RSI >70 + near 52w high227- ⚠️ **Risk-Off** — GLD/TLT/UUP rising together228- ⚠️ **Geopolitical** — Taiwan, China, Russia, Middle East keywords229- ⚠️ **Breaking News** — Crisis keywords in last 24h230231## Performance Options232233| Flag | Effect | Speed |234|------|--------|-------|235| (default) | Full analysis | 5-10s |236| `--no-insider` | Skip SEC EDGAR | 3-5s |237| `--fast` | Skip insider + news | 2-3s |238239## Supported Cryptos (Top 20)240241BTC, ETH, BNB, SOL, XRP, ADA, DOGE, AVAX, DOT, MATIC, LINK, ATOM, UNI, LTC, BCH, XLM, ALGO, VET, FIL, NEAR242243(Use `-USD` suffix: `BTC-USD`, `ETH-USD`)244245## Data Storage246247| File | Location |248|------|----------|249| Portfolios | `~/.clawdbot/skills/stock-analysis/portfolios.json` |250| Watchlist | `~/.clawdbot/skills/stock-analysis/watchlist.json` |251252## Limitations253254- Yahoo Finance may lag 15-20 minutes255- Short interest lags ~2 weeks (FINRA)256- Insider trades lag 2-3 days (SEC filing)257- US markets only (non-US incomplete)258- Breaking news: 1h cache, keyword-based259260## Disclaimer261262⚠️ **NOT FINANCIAL ADVICE.** For informational purposes only. Consult a licensed financial advisor before making investment decisions.