Loading...
Loading...
Analyze financial reports of listed companies (US, Japanese, Hong Kong, and A-share markets) and generate valuation analysis and investment reports
npx skill4agent add chaosjiang/chris-skills chris-stock-master| 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) |
cd "$SKILL_DIR"
if [ ! -d "scripts/.venv" ]; then
python3 -m venv scripts/.venv
scripts/.venv/bin/pip install -r scripts/requirements.txt
ficd "$SKILL_DIR"
scripts/.venv/bin/python scripts/run_report.py --symbol <SYMBOL>SYMBOL="<SYMBOL>"
SYMBOL_SAFE="${SYMBOL//./_}"
cat output/${SYMBOL_SAFE}_*/report.md| 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 |
cd "$SKILL_DIR"
scripts/.venv/bin/python scripts/run_report.py --symbol <SYMBOL> --output /path/to/outputoutput/<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 expectationsreport_example.md| Problem | Solution |
|---|---|
| Failed to obtain A-share data | Check network connection; AkShare requires access to domestic data sources |
| Cached data is outdated | Use |
--refresh