npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

openclaw-research-analyst

v1.3.0

Published

AI-powered stock & crypto research with 8-dimension analysis, portfolio tracking, and trend detection

Readme

📈 OpenClaw Research Analyst v1.0

AI-powered stock & crypto research with 8-dimension analysis, portfolio tracking, and trend detection.

ClawHub Downloads OpenClaw Skill

Features

| Feature | Description | |---------|-------------| | 8-Dimension Analysis | Earnings, fundamentals, analysts, momentum, sentiment, sector, market, history | | Crypto Support | Top 20 cryptos with market cap, BTC correlation, momentum | | Portfolio Management | Track holdings, P&L, concentration warnings | | Watchlist + Alerts | Price targets, stop losses, signal changes | | Dividend Analysis | Yield, payout, growth, safety score | | Hot Scanner | Multi-source viral trend detection (CoinGecko, Google News, Twitter/X) | | Rumor Detector | Early signal detection for M&A, insider trades, analyst actions | | Risk Detection | Geopolitical, earnings timing, overbought, risk-off | | China Markets | A-share & Hong Kong stock data (东方财富, 新浪, 财联社, 腾讯, 同花顺) | | Breaking News | Crisis keyword scanning (last 24h) |

Quick Start

Analyze Stocks

uv run scripts/stock_analyzer.py AAPL
uv run scripts/stock_analyzer.py AAPL MSFT GOOGL
uv run scripts/stock_analyzer.py AAPL --fast  # Skip slow analyses

Analyze Crypto

uv run scripts/stock_analyzer.py BTC-USD
uv run scripts/stock_analyzer.py ETH-USD SOL-USD

Dividend Analysis

uv run scripts/dividend_analyzer.py JNJ PG KO

Watchlist

uv run scripts/watchlist_manager.py add AAPL --target 200 --stop 150
uv run scripts/watchlist_manager.py list
uv run scripts/watchlist_manager.py check --notify

Portfolio

uv run scripts/portfolio_manager.py create "My Portfolio"
uv run scripts/portfolio_manager.py add AAPL --quantity 100 --cost 150
uv run scripts/portfolio_manager.py show

🔥 Hot Scanner (NEW)

# Full scan with all sources
python3 scripts/trend_scanner.py

# Fast scan (skip social media)
python3 scripts/trend_scanner.py --no-social

# JSON output for automation
python3 scripts/trend_scanner.py --json

Analysis Dimensions

Stocks (8 dimensions)

  1. Earnings Surprise (30%) — EPS beat/miss
  2. Fundamentals (20%) — P/E, margins, growth, debt
  3. Analyst Sentiment (20%) — Ratings, price targets
  4. Historical Patterns (10%) — Past earnings reactions
  5. Market Context (10%) — VIX, SPY/QQQ trends
  6. Sector Performance (15%) — Relative strength
  7. Momentum (15%) — RSI, 52-week range
  8. Sentiment (10%) — Fear/Greed, shorts, insiders

Crypto (3 dimensions)

  • Market Cap & Category
  • BTC Correlation (30-day)
  • Momentum (RSI, range)

Dividend Metrics

| Metric | Description | |--------|-------------| | Yield | Annual dividend / price | | Payout Ratio | Dividend / EPS | | 5Y Growth | CAGR of dividend | | Consecutive Years | Years of increases | | Safety Score | 0-100 composite | | Income Rating | Excellent → Poor |

🔥 Hot Scanner

Find what's trending RIGHT NOW across stocks & crypto.

Data Sources

| Source | What it finds | |--------|---------------| | CoinGecko Trending | Top 15 trending coins | | CoinGecko Movers | Biggest gainers/losers (>3%) | | Google News | Breaking finance & crypto news | | Yahoo Finance | Top gainers, losers, most active | | Twitter/X | Social sentiment (requires auth) |

Output

📊 TOP TRENDING (by buzz):
   1. BTC      (6 pts) [CoinGecko, Google News] 📉 bearish (-2.5%)
   2. ETH      (5 pts) [CoinGecko, Twitter] 📉 bearish (-7.2%)
   3. NVDA     (3 pts) [Google News, Yahoo] 📰 Earnings beat...

🪙 CRYPTO HIGHLIGHTS:
   🚀 RIVER    River              +14.0%
   📉 BTC      Bitcoin             -2.5%

📈 STOCK MOVERS:
   🟢 NVDA (gainers)
   🔴 TSLA (losers)

📰 BREAKING NEWS:
   [BTC, ETH] Crypto crash: $2.5B liquidated...

Twitter/X Setup (Optional)

  1. Install bird CLI: npm install -g @steipete/bird
  2. Login to x.com in Safari/Chrome
  3. Create .env file:
AUTH_TOKEN=your_auth_token
CT0=your_ct0_token

Get tokens from browser DevTools → Application → Cookies → x.com

Automation

Set up a daily cron job for morning reports:

# Run at 8 AM daily
0 8 * * * python3 /path/to/hot_scanner.py --no-social >> /var/log/hot_scanner.log

Risk Detection

  • ⚠️ Pre-earnings warning (< 14 days)
  • ⚠️ Post-earnings spike (> 15% in 5 days)
  • ⚠️ Overbought (RSI > 70 + near 52w high)
  • ⚠️ Risk-off mode (GLD/TLT/UUP rising)
  • ⚠️ Geopolitical keywords (Taiwan, China, etc.)
  • ⚠️ Breaking news alerts

Performance Options

| Flag | Speed | Description | |------|-------|-------------| | (default) | 60-120s | Full analysis with all data sources | | --no-insider | 50-90s | Skip SEC EDGAR insider trading | | --fast | 45-75s | Skip insider trading + breaking news |

Data Sources

US & Global Markets

China Markets (A-Share & Hong Kong)

See CN_DATA_SOURCES.md for Chinese market integration details.

Storage

| Data | Location | |------|----------| | Portfolios | ~/.clawdbot/skills/stock-analysis/portfolios.json | | Watchlist | ~/.clawdbot/skills/stock-analysis/watchlist.json |

Testing

uv run pytest scripts/tests.py -v

Limitations

  • Yahoo Finance may lag 15-20 minutes
  • Short interest lags ~2 weeks (FINRA)
  • US markets only

Disclaimer

⚠️ NOT FINANCIAL ADVICE. For informational purposes only. Consult a licensed financial advisor before making investment decisions.


Built for OpenClaw 🦞 | ClawHub