
flyinheartlee/openclaw-stock-analyzer
API developmentThis page was translated automatically. Technical details may differ from the original. View the original
Stock Intelligence Analysis Skill - Integrating the Buffett + Duan Yongping investment framework
Overview
A Claude Code skill plugin—enter stock codes to automatically generate professional-grade decision dashboards. Supports three major markets: A-share, Hong Kong, and US stocks. 1. → Never give a buy signal (overbought risk) 2. → Never give a buy signal (do not chase highs) 3. → Best time to buy 4. → Based on MA20 or recent lows 5. → Based on recent resistance levels or MA60 - — Simple moving average - Bullish alignment (MA5>MA10>MA20) = Uptrend - Bearish alignment (MA5<MA10<MA20) = Downtrend - = EMA12 - EMA26 - = EMA9 (DIF) - = (DIF - DEA) × 2 - Golden Cross (DIF crossing above DEA) = Buy signal - Death cross (DIF crossing below DEA) = Sell signal - Volume ratio = Today's trading volume / Average volume over the past 5 days - Volume rises with increased volume (>1.5x + gains) | Shrinking volume pullback (1.5x + down) The core analysis logic of this project references daily_stock_analysis project and undergoes the following modifications: - — The original project called Gemini/OpenAI via LiteLLM, this skill analyzes directly with Claude itself — can be called with a single command — retains high-quality data sources like Tushare/Tavily, automatically downgraded to free sources without API keys — streamlined from 50+ files to 4 core files
Overview (machine translated)
A Claude Code skill plugin—enter stock codes to automatically generate professional-grade decision dashboards. Supports A-share, Hong Kong, and US stock markets.
Core Features
| Features | Description |
|---|---|
| Three Major Markets | A-shares (600519), Hong Kong stocks (HK00700), US stocks (TSLA) |
| Intelligent Data Source | Tiered and downgrade strategy, supporting Tushare/efinance/akshare/yfinance |
| Complete Technical Analysis | MA / MACD / RSI / Volume / Deviation Rate / Support |
| 100-point scoring system | Comprehensive scoring across 6 dimensions, automatically generating buy and sell signals |
| AI In-Depth Analysis | Claude itself acts as an analysis engine, combining technical aspects + news |
| Zero configuration available | Free data source ready to use out of the box, with more accurate data after configuring API Key |
| Aggressive Strategy | Do not chase highs (do not buy at a divergence rate of 5% >), prefer shrinking volume and pullbacks, and precise stop-loss |
Get Started Quickly
Installation
Clone this project to Claude Code’s skills directory:
Python dependencies are automatically installed on the first runtime:
Usage
Enter directly in Claude Code:
Or use natural language:
Working Principle
Output example
Scoring System
The comprehensive score is out of 100 points and consists of six dimensions:
| Dimensions | Full Score | Best Case | Worst Case |
|---|---|---|---|
| Trend (MA Alignment) | 30 | Strong Bulls = 30 | Strong Bears = 0 |
| Deviation Rate | 20 | Slightly below MA5=20 | Far above MA5 (>5%) = 4 |
| MACD | 15 | On the zero axis, golden cross = 15 | Death cross = 0 |
| RSI | 10 | Oversold = 10 | Overbought = 0 |
| Support | 10 | MA5+MA10 double support = 10 | No support = 0 |
Signal mapping
| Rating | Conditions | Signal |
|---|---|---|
| ≥75 | Long Alignment | 🟢 Strong Buy |
| ≥60 | Long/Weak Long Alignment | 🔵 Buy |
| ≥45 | Any | 🟡 Hold |
| ≥30 | Arbitrary | ⚪ Wait and see |
| 80** → Never give a buy signal (overbought risk) |
- Deviation Rate MA5 > 5% → Never give buy signals (do not chase highs)
- Preference for shrinking pullbacks → Best buying time
This page was translated automatically. Technical details may differ from the original.
Recommended Tools
Try a different keyword or remove a filter.
Install
npx skillfish add flyinheartlee/openclaw-stock-analyzer