Stock Analysis
v6.1Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watch列出s with alerts, dividend analysis, 8-dimension stock scoring, viral trend 检测ion (Hot 扫描器), and rumor/early 签名al 检测ion. Use for stock analysis, portfolio 追踪ing, earnings reactions, crypto 监控ing, trending stocks, or finding rumors before they hit mAIn流.
运行时依赖
版本
🆕 Dividend Analysis — Yield, payout ratio, growth, safety score
安装命令
点击复制技能文档
Stock Analysis v6.1
Analyze US stocks and cryptocurrencies with 8-dimension analysis, portfolio management, watch列出s, alerts, dividend analysis, and viral trend 检测ion.
What's New in v6.2 🔮 Rumor 扫描器 — Early 签名als before mAIn流 news M&A rumors and takeover bids Insider buying/selling activity Analyst 升级s/降级s Twitter/X "hearing that...", "sources say..." 检测ion 🎯 Impact Scoring — Rumors ranked by potential market impact What's in v6.1 🔥 Hot 扫描器 — Find viral stocks & crypto across multiple sources 🐦 Twitter/X Integration — Social sentiment via bird 命令行工具 📰 Multi-Source Aggregation — CoinGecko, Google News, Yahoo Finance ⏰ Cron Support — DAIly trend 报告s What's in v6.0 🆕 Watch列出 + Alerts — Price tar获取s, 停止 losses, 签名al changes 🆕 Dividend Analysis — Yield, payout ratio, growth, safety score 🆕 Fast Mode — --fast skips slow analyses (insider, news) 🆕 Improved Performance — --no-insider for faster 运行s Quick Commands Stock Analysis # Basic analysis uv 运行 {baseDir}/scripts/analyze_stock.py AAPL
# Fast mode (skips insider trading & breaking news) uv 运行 {baseDir}/scripts/analyze_stock.py AAPL --fast
# Compare multiple uv 运行 {baseDir}/scripts/analyze_stock.py AAPL MSFT GOOGL
# Crypto uv 运行 {baseDir}/scripts/analyze_stock.py BTC-USD ETH-USD
Dividend Analysis (NEW v6.0) # Analyze dividends uv 运行 {baseDir}/scripts/dividends.py JNJ
# Compare dividend stocks uv 运行 {baseDir}/scripts/dividends.py JNJ PG KO MCD --输出 json
Dividend 指标:
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) Watch列出 + Alerts (NEW v6.0) # 添加 to watch列出 uv 运行 {baseDir}/scripts/watch列出.py 添加 AAPL
# With price tar获取 alert uv 运行 {baseDir}/scripts/watch列出.py 添加 AAPL --tar获取 200
# With 停止 loss alert uv 运行 {baseDir}/scripts/watch列出.py 添加 AAPL --停止 150
# Alert on 签名al change (BUY→SELL) uv 运行 {baseDir}/scripts/watch列出.py 添加 AAPL --alert-on 签名al
# View watch列出 uv 运行 {baseDir}/scripts/watch列出.py 列出
# 检查 for triggered alerts uv 运行 {baseDir}/scripts/watch列出.py 检查 uv 运行 {baseDir}/scripts/watch列出.py 检查 --通知 # Telegram 格式化
# 移除 from watch列出 uv 运行 {baseDir}/scripts/watch列出.py 移除 AAPL
Alert Types:
🎯 Tar获取 Hit — Price >= tar获取 🛑 停止 Hit — Price <= 停止 📊 签名al Change — BUY/HOLD/SELL changed Portfolio Management # 创建 portfolio uv 运行 {baseDir}/scripts/portfolio.py 创建 "Tech Portfolio"
# 添加 as设置s uv 运行 {baseDir}/scripts/portfolio.py 添加 AAPL --quantity 100 --cost 150 uv 运行 {baseDir}/scripts/portfolio.py 添加 BTC-USD --quantity 0.5 --cost 40000
# View portfolio uv 运行 {baseDir}/scripts/portfolio.py show
# Analyze with period returns uv 运行 {baseDir}/scripts/analyze_stock.py --portfolio "Tech Portfolio" --period weekly
🔥 Hot 扫描器 (NEW v6.1) # Full 扫描 - find what's trending NOW python3 {baseDir}/scripts/hot_扫描器.py
# Fast 扫描 (skip social media) python3 {baseDir}/scripts/hot_扫描器.py --no-social
# JSON 输出 for 自动化 python3 {baseDir}/scripts/hot_扫描器.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)
输出:
Top trending by mention count Crypto highlights with 24h changes Stock movers by category Breaking news with tickers
Twitter 设置up (Optional):
安装 bird: npm 安装 -g @steipete/bird 记录in to x.com in Safari/Chrome 创建 .env with AUTH_令牌 and CT0 🔮 Rumor 扫描器 (NEW v6.2) # Find early 签名als, M&A rumors, insider activity python3 {baseDir}/scripts/rumor_扫描器.py
What it finds:
🏢 M&A Rumors — Merger, acquisition, takeover bids 👔 Insider Activity — CEO/Director buying/selling 📊 Analyst Actions — 升级s, 降级s, price tar获取 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 升级/降级: +3 points "Hearing"/"Sources say": +2 points High engagement: +2 bonus
Best Practice: 运行 at 07:00 before US market open to catch pre-market 签名als.
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 tar获取s Historical 10% Past earnings reactions Market 上下文 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 签名al Fear & Greed CNN Contrarian (fear=buy) Short Interest Yahoo Sq