longbridge-financial-analysis
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineselongbridge-financial-analysis
longbridge-financial-analysis
Prompt-only analysis skill. Fetches complete three-statement financials via Longbridge CLI and performs deep in-LLM analysis: cross-statement reconciliation, DuPont decomposition, earnings-quality scoring, and fraud red-flag detection.
Response language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
纯Prompt分析技能。通过Longbridge CLI获取完整的三表财务数据,并在大语言模型中执行深度分析:跨报表勾稽、杜邦拆解、盈利质量评分以及造假红旗检测。
响应语言:匹配用户输入语言——简体中文 / 繁体中文 / 英文。
When to use
适用场景
- "TSLA 三表勾稽", "TSLA cross-statement reconciliation", "TSLA 三表勾稽"
- "茅台杜邦分析", "Maotai DuPont decomposition"
- "NVDA 盈利质量", "NVDA accrual ratio", "NVDA 盈利質量"
- "700.HK 有没有财务造假红旗", "700.HK financial fraud red flags"
- "AAPL 三表分析", "AAPL three-statement analysis"
For raw statement data only use . For health scoring use .
longbridge-financial-reportlongbridge-financial-checkup- "TSLA 三表勾稽", "TSLA cross-statement reconciliation", "TSLA 三表勾稽"
- "茅台杜邦分析", "Maotai DuPont decomposition"
- "NVDA 盈利质量", "NVDA accrual ratio", "NVDA 盈利質量"
- "700.HK 有没有财务造假红旗", "700.HK financial fraud red flags"
- "AAPL 三表分析", "AAPL three-statement analysis"
若仅需原始报表数据,请使用。若需健康评分,请使用。
longbridge-financial-reportlongbridge-financial-checkupCLI
CLI使用说明
Always run to verify exact flags. Primary call:
longbridge financial-report --helpbash
undefined请始终运行以确认准确参数。核心调用命令:
longbridge financial-report --helpbash
undefinedFetch all three statements — required for reconciliation and DuPont
获取全部三张报表——勾稽和杜邦分析必需
longbridge financial-report <SYMBOL> --kind ALL --format json
longbridge financial-report <SYMBOL> --kind ALL --format json
If unsure about period flags, run:
若不确定期间参数,请运行:
longbridge financial-report --help
undefinedlongbridge financial-report --help
undefinedWorkflow
工作流程
- Resolve symbol to (e.g.
<CODE>.<MARKET>,TSLA.US,700.HK).600519.SH - Call CLI with to retrieve IS, BS, and CF in one request.
--kind ALL - In-LLM analysis — perform all three layers:
- 解析标的代码为格式(例如
<CODE>.<MARKET>,TSLA.US,700.HK)。600519.SH - 调用CLI并添加参数,一次性获取IS(利润表)、BS(资产负债表)和CF(现金流量表)数据。
--kind ALL - 大语言模型内分析——执行以下三层分析:
Layer 1 — Cross-statement reconciliation (三表勾稽)
第一层——三表勾稽(Cross-statement reconciliation)
| Check | Formula |
|---|---|
| IS → BS | Net income (IS) ≈ ΔRetained earnings (BS); large gap flags earnings manipulation |
| IS → CF | Net income + non-cash items (depreciation, SBC, etc.) ≈ Operating CF (CF) |
| CF → BS | Net ΔCash (CF) = ΔCash & equivalents (BS) |
| 检查项 | 公式 |
|---|---|
| IS → BS | 净利润(IS)≈ 留存收益变动额(BS);差额过大可能预示盈余操纵 |
| IS → CF | 净利润 + 非现金项目(折旧、股权激励费用等)≈ 经营活动现金流(CF) |
| CF → BS | 现金净变动额(CF)= 现金及等价物变动额(BS) |
Layer 2 — DuPont decomposition (杜邦拆解)
第二层——杜邦拆解(DuPont decomposition)
ROE = Net margin × Asset turnover × Equity multiplier
Compute each driver; compare YoY to diagnose whether ROE change is quality-driven (margin/turnover) or leverage-driven.
ROE = 净利率 × 资产周转率 × 权益乘数
计算每个驱动因素;同比比较以判断ROE变化是由质量驱动(净利率/周转率)还是杠杆驱动。
Layer 3 — Earnings quality & fraud red flags
第三层——盈利质量与造假红旗检测
Accrual ratio = (Net income − Operating CF) / Avg total assets — lower is better; > 5% warrants scrutiny.
10 fraud red flags — flag each as present / absent:
-
Accounts receivable growth > Revenue growth
-
Inventory growth >> Revenue growth
-
Gross margin sharp unexpected change
-
Operating CF persistently below Net income (> 2 consecutive years)
-
Related-party receivables / revenue rising
-
Auditor change or qualified opinion
-
Large "other income" or non-recurring gains propping earnings
-
Revenue concentration spike (single customer > 50%)
-
Capex spike without revenue growth follow-through
-
Cash & equivalents declining while reported profit is rising
-
Output structured analysis report; cite Longbridge Securities; end with disclaimer.
应计比率 = (净利润 − 经营活动现金流) / 平均总资产 —— 数值越低越好;超过5%需谨慎。
10项造假红旗——标记每项是否存在:
-
应收账款增速 > 营收增速
-
存货增速远高于营收增速
-
毛利率出现大幅意外变动
-
经营活动现金流持续低于净利润(连续2年以上)
-
关联方应收账款/营收占比上升
-
更换审计师或出具保留意见
-
大额“其他收益”或非经常性收益支撑利润
-
营收集中度骤升(单一客户占比>50%)
-
资本支出激增但未带动营收增长
-
现金及等价物减少但报告利润上升
-
输出结构化分析报告;注明数据来源为Longbridge Securities;结尾添加免责声明。
Output
输出格式
{Symbol} Deep Financial Analysis — Source: Longbridge Securities
Period: {report_period}
[Cross-statement reconciliation]
- IS→BS: Net income {X} vs ΔRetained earnings {Y}: {Match / Gap of Z — flag}
- IS→CF: Net income + non-cash {X} vs Operating CF {Y}: {Match / Gap}
- CF→BS: Net ΔCash {X} vs ΔCash on BS {Y}: {Match / Gap}
[DuPont decomposition]
ROE {X%} = Net margin {Y%} × Asset turnover {Z×} × Equity multiplier {W×}
YoY: ROE {±Δ%} — driven by {margin / turnover / leverage / mix}
[Earnings quality]
Accrual ratio: {X%} ({Low <2% / Medium 2-5% / High >5%})
Assessment: {earnings are cash-backed / partly accrual-driven / accrual-heavy}
[Fraud red flags (10-item)]
✓ / ✗ 1. AR growth vs revenue growth: ...
✓ / ✗ 2. Inventory growth vs revenue: ...
... (all 10 items)
Red flags triggered: {N}/10
⚠️ 以上分析仅供参考,不构成投资建议。/ 以上分析僅供參考,不構成投資建議。/ For reference only. Not investment advice.{Symbol} 深度财务分析 — 数据来源:Longbridge Securities
报告期间:{report_period}
[三表勾稽]
- IS→BS:净利润 {X} vs 留存收益变动额 {Y}:{匹配 / 差额为Z——标记异常}
- IS→CF:净利润+非现金项目 {X} vs 经营活动现金流 {Y}:{匹配 / 差额}
- CF→BS:现金净变动额 {X} vs 资产负债表现金变动额 {Y}:{匹配 / 差额}
[杜邦拆解]
ROE {X%} = 净利率 {Y%} × 资产周转率 {Z次} × 权益乘数 {W倍}
同比变动:ROE {±Δ%} —— 驱动因素为{净利率 / 资产周转率 / 杠杆 / 综合因素}
[盈利质量]
应计比率:{X%} ({低 <2% / 中等 2-5% / 高 >5%})
评估:{盈利以现金支撑 / 部分应计驱动 / 高应计占比}
[造假红旗(10项)]
✓ / ✗ 1. 应收账款增速vs营收增速:...
✓ / ✗ 2. 存货增速vs营收增速:...
...(全部10项)
触发红旗数量:{N}/10
⚠️ 以上分析仅供参考,不构成投资建议。/ 以上分析僅供參考,不構成投資建議。/ For reference only. Not investment advice.Error handling
错误处理
| Situation | 简体中文回复 | 繁體中文 / English |
|---|---|---|
| 回退到 MCP;如 MCP 也不可用,请安装 longbridge-terminal。 | 回退到 MCP;如也不可用,請安裝 longbridge-terminal。/ Fall back to MCP; if also unavailable, install longbridge-terminal. |
stderr | 请运行 | 請執行 |
| Missing one or more statements | 跳过依赖缺失报表的分析层,注明原因。 | 跳過依賴缺失報表的分析層,注明原因。/ Skip analysis layers that depend on missing statements; note reason. |
| Returns empty / no data | "{symbol} 暂无财务报表数据。" | "{symbol} 暫無財務報表數據。" / "{symbol} has no financial statement data." |
| Other stderr | 直接显示原始错误,不静默重试。 | 顯示原始錯誤。/ Surface verbatim — do not retry silently. |
| 场景 | 简体中文回复 | 繁体中文 / 英文 |
|---|---|---|
| 回退至MCP;若MCP也不可用,请安装longbridge-terminal。 | 回退至MCP;若也不可用,請安裝longbridge-terminal。/ Fall back to MCP; if also unavailable, install longbridge-terminal. |
错误信息 | 请运行 | 請執行 |
| 缺失一张或多张报表 | 跳过依赖缺失报表的分析层,并注明原因。 | 跳過依賴缺失報表的分析層,註明原因。/ Skip analysis layers that depend on missing statements; note reason. |
| 返回空数据 / 无数据 | "{symbol} 暂无财务报表数据。" | "{symbol} 暫無財務報表數據。" / "{symbol} has no financial statement data." |
| 其他错误信息 | 直接显示原始错误,不静默重试。 | 顯示原始錯誤。/ Surface verbatim — do not retry silently. |
MCP fallback
MCP fallback方案
If CLI is not installed, use MCP tools:
longbridge| MCP tool | CLI equivalent |
|---|---|
| |
MCP setup: ( scope).
claude mcp add --transport http longbridge https://openapi.longbridge.com/mcpquote若未安装 CLI,请使用MCP工具:
longbridge| MCP工具 | CLI等效命令 |
|---|---|
| |
MCP配置:(需权限)。
claude mcp add --transport http longbridge https://openapi.longbridge.com/mcpquoteRelated skills
相关技能
- Raw three-statement data →
longbridge-financial-report - Health scoring (100-point) →
longbridge-financial-checkup - Quick KPI snapshot →
longbridge-fundamental - Valuation (PE / PB) →
longbridge-valuation
- 原始三表数据 →
longbridge-financial-report - 健康评分(100分制) →
longbridge-financial-checkup - 快速KPI快照 →
longbridge-fundamental - 估值分析(PE / PB) →
longbridge-valuation
File layout
文件结构
longbridge-financial-analysis/
└── SKILL.md # prompt-only, no scripts/longbridge-financial-analysis/
└── SKILL.md # 纯Prompt实现,无scripts/目录