Skip to main content

financial-snapshot

快速财务体检。给任意A股/港股/美股出标准化三年财务表(营收/利润/ROE/负债率)+ 简评,结合Alpha派基本面背景。

Jump to install

Source facts

Repository
WupfAGI/claude-investment-skills
Last source activity
March 28, 2026 at 02:40
Detected SKILL.md language
Chinese
Stars
14
Forks
3

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
financial-snapshot
description
快速财务体检。给任意A股/港股/美股出标准化三年财务表(营收/利润/ROE/负债率)+ 简评,结合Alpha派基本面背景。
argument-hint
<股票名称或代码> — 例:financial-snapshot 欣旺达 或 financial-snapshot 300207
allowed-tools
Bash
财务体检。参数:$ARGUMENTS ## 执行步骤 ### Step 1 — 确认股票信息 从参数提取股票名称/代码,判断市场类型: - A股:`600xxx.XSHG` / `000xxx.XSHE` / `300xxx.XSHE` → 用米筐 - 港股:`xxxxx.XHKG` → 用米筐港股接口 - 美股/其他 → 用 yfinance --- ### Step 2A — A股/港股财务数据(米筐) ```bash /usr/bin/python3 -c " import sys; sys.path.insert(0, '/Users/wupfagi/Cloude Code') from chanlun.data import init_rq; init_rq() import rqdatac as rq code = '{代码}' # 近3年财务数据 income = rq.financials.get_income_statement(code, start_date='2021-01-01', end_date='2024-12-31', quarter=4) balance = rq.financials.get_balance_sheet(code, start_date='2021-01-01', end_date='2024-12-31', quarter=4) cashflow = rq.financials.get_cash_flow_statement(code, start_date='2021-01-01', end_date='2024-12-31', quarter=4) print('=== 损益表 ===') print(income[['revenue','net_profit','gross_profit']].tail(4) if income is not None else 'N/A') print('=== 资产负债表 ===') print(balance[['total_assets','total_liabilities','equity']].tail(4) if balance is not None else 'N/A') " ``` --- ### Step 2B — 美股/港股(yfinance 备用) ```bash /usr/bin/python3 -c " import yfinance as yf ticker = yf.Ticker('{yfinance代码}') income = ticker.financials.T balance = ticker.balance_sheet.T cashflow = ticker.cashflow.T print('Income:', income[['Total Revenue','Net Income','Gross Profit']].to_string()) print('Balance:', balance[['Total Assets','Total Liabilities Net Minority Interest','Stockholders Equity']].to_string()) print('Cashflow:', cashflow[['Operating Cash Flow','Free Cash Flow']].to_string()) " ``` --- ### Step 3 — Alpha派基本面背景 ```bash /usr/bin/python3 /Users/wupfagi/.claude/skills/alphapai-research/scripts/alphapai_client.py \ qa --mode Flash \ --question "{股票名称}的核心业务、近三年业绩趋势(营收/利润增速)、ROE水平、负债情况和主要竞争对手是什么?请给出估值是否合理的简要判断(PE/PB历史分位)。" ``` --- ### Step 4 — 输出标准化财务体检报告 ``` # {股票名称}({代码})财务体检 — {TODAY} ## 核心财务指标(近3年) | 年份 | 营收(亿) | YoY | 净利润(亿) | YoY | 毛利率 | 净利率 | ROE | 资产负债率 | |------|---------|-----|----------|-----|-------|-------|-----|---------| | 20XX | | | | | | | | | | 20XX | | | | | | | | | | 20XX | | | | | | | | | ## 现金流健康度 | 年份 | 经营现金流(亿) | 自由现金流(亿) | 净利润/经营现金流 | |------|-------------|-------------|----------------| (净利润/经营现金流 > 1 = 利润质量高;< 0.5 = 应收账款堆积风险) ## 关键指标解读 - **成长性**:营收/利润增速趋势(加速/稳定/放缓/下滑) - **盈利质量**:毛利率趋势 + 现金流覆盖情况 - **财务健康**:负债率水平 + 偿债能力 - **ROE分析**:水平高低 + 驱动因素(利润率/周转率/杠杆) ## 估值参考(Alpha派) [当前PE/PB vs 历史分位,行业对比,是否高估/低估] ## 综合评分 | 维度 | 评分 | 说明 | |------|------|------| | 成长性 | ⭐⭐⭐/⭐⭐/⭐ | | | 盈利质量 | ⭐⭐⭐/⭐⭐/⭐ | | | 财务健康 | ⭐⭐⭐/⭐⭐/⭐ | | | 估值合理性 | ⭐⭐⭐/⭐⭐/⭐ | | **总结**:[2-3句核心结论,是否值得进一步缠论分析] ``` 保存到:`/Users/wupfagi/Documents/投研数据/财务体检_{股票名称}_{TODAY}.md` --- 声明:本分析仅供参考,不构成投资建议。
View on GitHub