stock-analysis

26
0
Source

Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management (create, add, remove assets), crypto analysis (Top 20 by market cap), and periodic performance reports (daily/weekly/monthly/quarterly/yearly). 8 analysis dimensions for stocks, 3 for crypto. Use for stock analysis, portfolio tracking, earnings reactions, or crypto monitoring.

Install

mkdir -p .claude/skills/stock-analysis && curl -L -o skill.zip "https://mcp.directory/api/skills/download/1235" && unzip -o skill.zip -d .claude/skills/stock-analysis && rm skill.zip

Installs to .claude/skills/stock-analysis

About this skill

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):

  1. Install bird: npm install -g @steipete/bird
  2. Login to x.com in Safari/Chrome
  3. 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

DimensionWeightDescription
Earnings Surprise30%EPS beat/miss
Fundamentals20%P/E, margins, growth
Analyst Sentiment20%Ratings, price targets
Historical10%Past earnings reactions
Market Context10%VIX, SPY/QQQ trends
Sector15%Relative strength
Momentum15%RSI, 52-week range
Sentiment10%Fear/Greed, shorts, insiders

Crypto

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

Sentiment Sub-Indicators

IndicatorSourceSignal
Fear & GreedCNNContrarian (fear=buy)
Short InterestYahooSqueeze potential
VIX StructureFuturesStress detection
Insider TradesSEC EDGARSmart money
Put/Call RatioOptionsSentiment 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

FlagEffectSpeed
(default)Full analysis5-10s
--no-insiderSkip SEC EDGAR3-5s
--fastSkip insider + news2-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

FileLocation
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.

More by openclaw

View all โ†’

seedream-image-gen

openclaw

Generate images via Seedream API (doubao-seedream models). Synchronous generation.

1357

nano-pdf

openclaw

Edit PDFs with natural-language instructions using the nano-pdf CLI.

6911

a-stock-analysis

openclaw

A่‚กๅฎžๆ—ถ่กŒๆƒ…ไธŽๅˆ†ๆ—ถ้‡่ƒฝๅˆ†ๆžใ€‚่Žทๅ–ๆฒชๆทฑ่‚ก็ฅจๅฎžๆ—ถไปทๆ ผใ€ๆถจ่ทŒใ€ๆˆไบค้‡๏ผŒๅˆ†ๆžๅˆ†ๆ—ถ้‡่ƒฝๅˆ†ๅธƒ๏ผˆๆ—ฉ็›˜/ๅฐพ็›˜ๆ”พ้‡๏ผ‰ใ€ไธปๅŠ›ๅŠจๅ‘๏ผˆๆŠข็ญน/ๅ‡บ่ดงไฟกๅท๏ผ‰ใ€ๆถจๅœๅฐๅ•ใ€‚ๆ”ฏๆŒๆŒไป“็ฎก็†ๅ’Œ็›ˆไบๅˆ†ๆžใ€‚Use when: (1) ๆŸฅ่ฏขA่‚กๅฎžๆ—ถ่กŒๆƒ…, (2) ๅˆ†ๆžไธปๅŠ›่ต„้‡‘ๅŠจๅ‘, (3) ๆŸฅ็œ‹ๅˆ†ๆ—ถๆˆไบค้‡ๅˆ†ๅธƒ, (4) ็ฎก็†่‚ก็ฅจๆŒไป“, (5) ๅˆ†ๆžๆŒไป“็›ˆไบใ€‚

479

openai-whisper

openclaw

Local speech-to-text with the Whisper CLI (no API key).

578

trello

openclaw

Manage Trello boards, lists, and cards via the Trello REST API.

478

ui-audit

openclaw

AI skill for automated UI audits. Evaluate interfaces against proven UX principles for visual hierarchy, accessibility, cognitive load, navigation, and more. Based on Making UX Decisions by Tommy Geoco.

187

You might also like

flutter-development

aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

289790

drawio-diagrams-enhanced

jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

213415

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

213296

nano-banana-pro

garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

219234

ui-ux-pro-max

nextlevelbuilder

"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."

172200

rust-coding-skill

UtakataKyosui

Guides Claude in writing idiomatic, efficient, well-structured Rust code using proper data modeling, traits, impl organization, macros, and build-speed best practices.

166173

Stay ahead of the MCP ecosystem

Get weekly updates on new skills and servers.