首页/探索/股票分析

Asset Detail

触发器v6.2.0

股票分析

udiedrichsen🎖️205GitHub41 次下载

📦 ClawHub: [udiedrichsen/stock-analysis](https://clawhub.ai/udiedrichsen/stock-analysis) 📂 Source: [openclaw/skills](https://github.com/openclaw/skills/tree/main/skills/udiedrichsen/stock-analysis) 🏷️ Version: 6.2.0 📅 Published: 2026-02-02

安装命令
openclawmp install trigger/@u-705047580956cf79/stock-analysis

标签

#stock#analysis

README

📈 Stock Analysis v6.1

AI-powered stock & crypto analysis with portfolio management, watchlists, dividend analysis, and viral trend detection.

ClawHub Downloads OpenClaw Skill

What's New 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 New in v6.0

  • 🆕 Watchlist + Alerts — Price targets, stop losses, signal change notifications
  • 🆕 Dividend Analysis — Yield, payout ratio, growth rate, safety score
  • 🆕 Fast Mode — Skip slow analyses for quick checks
  • 🆕 Improved Commands — Better OpenClaw/Telegram integration
  • 🆕 Test Suite — Unit tests for core functionality

Features

FeatureDescription
8-Dimension AnalysisEarnings, fundamentals, analysts, momentum, sentiment, sector, market, history
Crypto SupportTop 20 cryptos with market cap, BTC correlation, momentum
Portfolio ManagementTrack holdings, P&L, concentration warnings
Watchlist + AlertsPrice targets, stop losses, signal changes
Dividend AnalysisYield, payout, growth, safety score
Risk DetectionGeopolitical, earnings timing, overbought, risk-off
Breaking NewsCrisis keyword scanning (last 24h)

Quick Start

Analyze Stocks

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

Analyze Crypto

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

Dividend Analysis

uv run scripts/dividends.py JNJ PG KO

Watchlist

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

Portfolio

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

🔥 Hot Scanner (NEW)

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

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

# JSON output for automation
python3 scripts/hot_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

MetricDescription
YieldAnnual dividend / price
Payout RatioDividend / EPS
5Y GrowthCAGR of dividend
Consecutive YearsYears of increases
Safety Score0-100 composite
Income RatingExcellent → Poor

🔥 Hot Scanner

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

Data Sources

SourceWhat it finds
CoinGecko TrendingTop 15 trending coins
CoinGecko MoversBiggest gainers/losers (>3%)
Google NewsBreaking finance & crypto news
Yahoo FinanceTop gainers, losers, most active
Twitter/XSocial 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

FlagSpeedDescription
(default)5-10sFull analysis
--no-insider3-5sSkip SEC EDGAR
--fast2-3sSkip insider + news

Data Sources

Storage

DataLocation
Portfolios~/.clawdbot/skills/stock-analysis/portfolios.json
Watchlist~/.clawdbot/skills/stock-analysis/watchlist.json

Testing

uv run pytest scripts/test_stock_analysis.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

相关推荐