Stock Deep Analyzer
One-stop comprehensive stock analysis tool that generates professional-grade investment reports.
Features
- Real-time Market Data — Current price, volume, market cap, beta
- Value Investing Metrics — P/E, P/B, ROE, ROA, dividend yield, payout ratio
- Technical Indicators — MA5/20/60, RSI, MACD, Bollinger Bands, VWAP
- Growth Analysis — Revenue growth, earnings growth, profit margins
- Financial Health — Asset/liability ratio, liquidity ratio
- Investment Rating — Multi-dimensional scoring (value 35% / technical 25% / growth 25% / financial 15%)
- Trading Strategies — Long-term hold, swing trade, short-term speculation
- Risk Assessment — Key risks and price levels
Dependencies
Python packages (install once):
pip install yfinance pandas numpy
Usage
IMPORTANT: Always use the $SKILLS_ROOT environment variable to locate scripts.
Basic Analysis
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" 601288.SS
Specify Analysis Period
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" 000001.SZ --period 1y
US Stocks
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" AAPL
Parameters
| Parameter |
Description |
Example |
Default |
ticker |
Stock ticker symbol (required) |
601288.SS, AAPL |
- |
--period |
Analysis period |
1mo, 3mo, 6mo, 1y, 2y |
6mo |
--output |
Output format |
text, json |
text |
Stock Ticker Formats
- A-share (Shanghai):
600519.SS, 601288.SS
- A-share (Shenzhen):
000001.SZ, 002594.SZ
- US stocks:
AAPL, TSLA, NVDA
- HK stocks:
0700.HK, 9988.HK
Output Structure
The analysis report includes 8 sections:
- Real-time Market Overview
- Value Investing Indicators (Score /10)
- Technical Analysis (Score /10)
- Growth Indicators (Score /10)
- Financial Health (Score /10)
- Comprehensive Investment Rating (Overall /10)
- Recommended Trading Strategies
- Key Risk Warnings
Workflow
When user requests stock analysis:
Identify ticker symbol
- User may provide company name → use web-search to find ticker
- A-share: Shanghai =
.SS, Shenzhen = .SZ
Execute analysis
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" <ticker>
Interpret results
- Extract overall rating and key findings
- Highlight investment recommendation
- Emphasize risk warnings
- Provide actionable price levels
Limitations
- Yahoo Finance data quality varies by market
- Some metrics may be N/A for loss-making companies
- Historical data limited for newly listed stocks
- Real-time quotes may have 15-min delay
When to Use This Skill
- User requests "深度分析", "complete analysis", "comprehensive report"
- User wants multi-dimensional evaluation (value + growth + technical)
- User needs actionable trading strategies
- User asks for investment recommendations with risk assessment
1---
2name: stock-analyzer
3description: >-
4 A comprehensive stock deep analysis tool that combines real-time quotes, fundamental metrics,
5 technical indicators, and growth analysis into a single professional report.
6 Supports A-share, US stocks, HK stocks. Generates detailed investment recommendations
7 with risk assessment and actionable trading strategies.
8official: true
9metadata:
10 source: https://skillmd.com/skills/netease-youdao/stock-analyzer
11---
12
13# Stock Deep Analyzer
14
15One-stop comprehensive stock analysis tool that generates professional-grade investment reports.
16
17## Features
18
19- **Real-time Market Data** — Current price, volume, market cap, beta
20- **Value Investing Metrics** — P/E, P/B, ROE, ROA, dividend yield, payout ratio
21- **Technical Indicators** — MA5/20/60, RSI, MACD, Bollinger Bands, VWAP
22- **Growth Analysis** — Revenue growth, earnings growth, profit margins
23- **Financial Health** — Asset/liability ratio, liquidity ratio
24- **Investment Rating** — Multi-dimensional scoring (value 35% / technical 25% / growth 25% / financial 15%)
25- **Trading Strategies** — Long-term hold, swing trade, short-term speculation
26- **Risk Assessment** — Key risks and price levels
27
28## Dependencies
29
30Python packages (install once):
31
32```bash
33pip install yfinance pandas numpy
34```
35
36## Usage
37
38**IMPORTANT:** Always use the `$SKILLS_ROOT` environment variable to locate scripts.
39
40### Basic Analysis
41
42```bash
43export PYTHONIOENCODING=utf-8
44python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" 601288.SS
45```
46
47### Specify Analysis Period
48
49```bash
50export PYTHONIOENCODING=utf-8
51python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" 000001.SZ --period 1y
52```
53
54### US Stocks
55
56```bash
57export PYTHONIOENCODING=utf-8
58python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" AAPL
59```
60
61### Parameters
62
63| Parameter | Description | Example | Default |
64|-----------|-------------|---------|---------|
65| `ticker` | Stock ticker symbol (required) | 601288.SS, AAPL | - |
66| `--period` | Analysis period | 1mo, 3mo, 6mo, 1y, 2y | 6mo |
67| `--output` | Output format | text, json | text |
68
69## Stock Ticker Formats
70
71- **A-share (Shanghai)**: `600519.SS`, `601288.SS`
72- **A-share (Shenzhen)**: `000001.SZ`, `002594.SZ`
73- **US stocks**: `AAPL`, `TSLA`, `NVDA`
74- **HK stocks**: `0700.HK`, `9988.HK`
75
76## Output Structure
77
78The analysis report includes 8 sections:
79
801. Real-time Market Overview
812. Value Investing Indicators (Score /10)
823. Technical Analysis (Score /10)
834. Growth Indicators (Score /10)
845. Financial Health (Score /10)
856. Comprehensive Investment Rating (Overall /10)
867. Recommended Trading Strategies
878. Key Risk Warnings
88
89## Workflow
90
91When user requests stock analysis:
92
931. **Identify ticker symbol**
94 - User may provide company name → use web-search to find ticker
95 - A-share: Shanghai = `.SS`, Shenzhen = `.SZ`
96
972. **Execute analysis**
98 ```bash
99 export PYTHONIOENCODING=utf-8
100 python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" <ticker>
101 ```
102
1033. **Interpret results**
104 - Extract overall rating and key findings
105 - Highlight investment recommendation
106 - Emphasize risk warnings
107 - Provide actionable price levels
108
109## Limitations
110
111- Yahoo Finance data quality varies by market
112- Some metrics may be N/A for loss-making companies
113- Historical data limited for newly listed stocks
114- Real-time quotes may have 15-min delay
115
116## When to Use This Skill
117
118- User requests "深度分析", "complete analysis", "comprehensive report"
119- User wants multi-dimensional evaluation (value + growth + technical)
120- User needs actionable trading strategies
121- User asks for investment recommendations with risk assessment