chris-stock-master
Original:🇨🇳 Chinese
Translated
13 scriptsChecked / no sensitive code detected
Analyze financial reports of listed companies (US, Japanese, Hong Kong, and A-share markets) and generate valuation analysis and investment reports
5installs
Sourcechaosjiang/chris-skills
Added on
NPX Install
npx skill4agent add chaosjiang/chris-skills chris-stock-masterTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →Stock Master
Analyze financial reports of listed companies worldwide and generate structured reports.
Trigger Conditions
Use this Skill when users make requests such as:
- "Analyze US stock AAPL" / "Analyze Apple Inc."
- "Check the financial report of Hong Kong stock Tencent" / "Analyze 0700.HK"
- "How is Moutai's valuation?" / "Analyze 600519.SH"
- Any requests related to stock financial reports, valuation, or financial analysis
Supported Markets
| Market | Code Format | Example |
|---|---|---|
| US Stocks | | AAPL, MSFT, GOOGL |
| Japanese Stocks | | 7203.T (Toyota) |
| A-shares | | 600519.SH (Moutai) |
| Hong Kong Stocks | | 0700.HK (Tencent) |
Execution Process
1. Environment Check (First-time Use)
bash
cd "$SKILL_DIR"
if [ ! -d "scripts/.venv" ]; then
python3 -m venv scripts/.venv
scripts/.venv/bin/pip install -r scripts/requirements.txt
fi2. Run Analysis
bash
cd "$SKILL_DIR"
scripts/.venv/bin/python scripts/run_report.py --symbol <SYMBOL>3. Read and Present Results
After analysis is completed, read the generated report file and present key information to users:
bash
SYMBOL="<SYMBOL>"
SYMBOL_SAFE="${SYMBOL//./_}"
cat output/${SYMBOL_SAFE}_*/report.mdParameter Description
| Parameter | Description | Default Value |
|---|---|---|
| Stock symbol | Required |
| Number of fiscal years | 1 |
| Root output directory (subdirectories for companies will be created automatically) | |
| Force refresh cache | false |
To modify the output location, explicitly pass the parameter to override the default value:
bash
cd "$SKILL_DIR"
scripts/.venv/bin/python scripts/run_report.py --symbol <SYMBOL> --output /path/to/outputOutput Files
Files for each company are stored in independent folders:
output/<SYMBOL>_<MARKET>/output/
└── AAPL_US/ # Company folder (symbol_market)
├── report.md # Main report (presented to users)
├── data.json # Raw data
├── analysis.json # Analysis results
├── valuation.json # Valuation data
└── analyst.json # Analyst expectationsPresentation Guidelines
When presenting results to users:
- First output the opening conclusion of the report (growth trend + valuation status)
- Present core information in the order of "Financial Highlights → Product Research → Competitive Landscape → Management Guidance"
- Valuation analysis must include quantile range and currency description
- Investment recommendations must give clear conclusions (Positive / Neutral / Cautious)
- Align with the style of : fewer metrics, more readable conclusions
report_example.md
Frequently Asked Questions
| Problem | Solution |
|---|---|
| Failed to obtain A-share data | Check network connection; AkShare requires access to domestic data sources |
| Cached data is outdated | Use |
Notes
- Data is cached for 24 hours; use to force update
--refresh - This Skill only provides analysis references and does not constitute investment advice
- A-shares use AkShare, other markets use yfinance