Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Fetch daily multi-ticker stock data with RSI, Bollinger Bands, Stochastic, and BUY/HOLD/SELL signals.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
README.md
1# Stock Analysis v5.023Analyze stocks and cryptocurrencies with portfolio management, periodic reports, and 8-dimension analysis.45## Features67| Feature | Description |8|---------|-------------|9| **Stock Analysis** | 8 dimensions: earnings, fundamentals, analysts, historical, market, sector, momentum, sentiment |10| **Crypto Analysis** | Top 20 cryptos: market cap, category, BTC correlation, momentum |11| **Portfolio Management** | Create portfolios, add/remove assets, track P&L |12| **Periodic Reports** | Daily, weekly, monthly, quarterly, yearly returns |13| **Risk Detection** | Geopolitical risk, breaking news alerts, concentration warnings |1415## Quick Start1617### Analyze Stocks18```bash19uv run scripts/analyze_stock.py AAPL20uv run scripts/analyze_stock.py AAPL MSFT GOOGL21```2223### Analyze Crypto24```bash25uv run scripts/analyze_stock.py BTC-USD26uv run scripts/analyze_stock.py ETH-USD SOL-USD27```2829### Portfolio Management30```bash31# Create and manage portfolios32uv run scripts/portfolio.py create "My Portfolio"33uv run scripts/portfolio.py add AAPL --quantity 100 --cost 15034uv run scripts/portfolio.py add BTC-USD --quantity 0.5 --cost 4000035uv run scripts/portfolio.py show3637# Analyze portfolio38uv run scripts/analyze_stock.py --portfolio "My Portfolio"39uv run scripts/analyze_stock.py --portfolio "My Portfolio" --period weekly40```4142## Supported Cryptocurrencies (Top 20)4344BTC, ETH, BNB, SOL, XRP, ADA, DOGE, AVAX, DOT, MATIC, LINK, ATOM, UNI, LTC, BCH, XLM, ALGO, VET, FIL, NEAR4546## Analysis Dimensions4748### Stocks (8 dimensions)491. **Earnings Surprise** - EPS beats/misses502. **Fundamentals** - P/E, margins, growth, debt513. **Analyst Sentiment** - Ratings, price targets524. **Historical Patterns** - Past earnings reactions535. **Market Context** - VIX, SPY/QQQ trends546. **Sector Performance** - Relative strength557. **Momentum** - RSI, 52-week range568. **Sentiment** - Fear/Greed, short interest, insider trading5758### Crypto (3 dimensions)591. **Crypto Fundamentals** - Market cap, category, BTC correlation602. **Momentum** - RSI, price range613. **Market Context** - General market regime6263## Risk Features6465- **Breaking News Alerts** - Scans for crisis keywords (war, recession, sanctions)66- **Geopolitical Risk** - Taiwan, China, Russia, Middle East, banking crisis detection67- **Safe-Haven Tracking** - GLD, TLT, UUP for risk-off detection68- **Concentration Warnings** - Alerts when >30% in single asset6970## Portfolio Storage7172Portfolios stored at: `~/.clawdbot/skills/stock-analysis/portfolios.json`7374## Version History7576- **v5.0.0** - Portfolio management, crypto support, periodic analysis77- **v4.1.0** - Insider trading via edgartools, market context caching78- **v4.0.0** - Geopolitical risk, breaking news, safe-haven detection79- **v3.0.0** - Sentiment analysis (5 indicators)80- **v2.0.0** - Market context, sector, momentum81- **v1.0.0** - Initial release8283## Data Sources8485- [Yahoo Finance](https://finance.yahoo.com) - Price, fundamentals, earnings86- [CNN Fear & Greed](https://money.cnn.com/data/fear-and-greed/) - Market sentiment87- [SEC EDGAR](https://www.sec.gov/edgar) - Insider trading (Form 4)88- [Google News RSS](https://news.google.com) - Breaking news8990---9192**Disclaimer:** This tool is for informational purposes only and does NOT constitute financial advice.93