longbridge-finance-query
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineselongbridge-finance-query
longbridge-finance-query
Cross-market financial metrics batch query — revenue, net profit, ROE, debt ratio, free cash flow, gross margin, and other core KPIs for one or more symbols. Supports multi-symbol horizontal comparison.
Response language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
跨市场财务指标批量查询——支持查询一个或多个标的的营收、净利润、ROE、负债率、自由现金流、毛利率及其他核心KPI。支持多标的横向对比。
回复语言: 匹配用户输入语言——简体中文/繁体中文/英文。
When to use
使用场景
Trigger when the user asks about:
- Core financial metrics for one or more stocks — "NVDA 最新营收", "苹果净利润", "帮我查这几家公司的ROE"
- Cross-stock financial comparison — "TSLA 和 BYD 的毛利率对比", "科技股自由现金流排名"
- Specific financial line items — "资产负债率", "经营现金流", "每股收益"
- Natural-language financial screening — "哪些股票ROE超过20%" (note: Longbridge returns data for specified symbols; full market screening is not supported)
For a single company's full financial deep-dive, prefer . For segment-level operating breakdown, prefer .
longbridge-fundamentallongbridge-business-query当用户询问以下内容时触发:
- 一只或多只股票的核心财务指标——"NVDA 最新营收", "苹果净利润", "帮我查这几家公司的ROE"
- 跨股票财务对比——"TSLA 和 BYD 的毛利率对比", "科技股自由现金流排名"
- 特定财务项目——"资产负债率", "经营现金流", "每股收益"
- 自然语言财务筛选——"哪些股票ROE超过20%"(注意:Longbridge仅返回指定标的的数据;暂不支持全市场筛选)
若需对单一公司进行完整财务深度分析,优先使用。若需查询业务板块细分运营数据,优先使用。
longbridge-fundamentallongbridge-business-queryWorkflow
工作流程
- Extract all symbols from the prompt; normalise each to .
<CODE>.<MARKET> - Identify which financial statements are needed:
- Income statement (revenue, gross profit, net profit, EPS) →
--kind IS - Balance sheet (total assets, total liabilities, debt ratio, equity) →
--kind BS - Cash flow (operating CF, free CF) →
--kind CF
- Income statement (revenue, gross profit, net profit, EPS) →
- Run for each symbol and statement type.
longbridge financial-report - Run for computed ratios (PE, PB, ROE, ROA).
longbridge calc-index - Merge results by symbol; present as a comparison matrix when multiple symbols are requested.
- 从提示语中提取所有标的代码;将每个代码标准化为格式。
<CODE>.<MARKET> - 确定所需的财务报表类型:
- 利润表(营收、毛利润、净利润、EPS)→
--kind IS - 资产负债表(总资产、总负债、负债率、净资产)→
--kind BS - 现金流量表(经营现金流、自由现金流)→
--kind CF
- 利润表(营收、毛利润、净利润、EPS)→
- 针对每个标的和报表类型运行命令。
longbridge financial-report - 针对计算比率(PE、PB、ROE、ROA)运行命令。
longbridge calc-index - 按标的合并结果;当请求多个标的时,以对比矩阵形式呈现。
CLI
命令行界面(CLI)
bash
undefinedbash
undefinedIncome statement — revenue, gross profit, net profit, EPS
利润表 —— 营收、毛利润、净利润、EPS
longbridge financial-report <SYMBOL> --kind IS --format json
longbridge financial-report <SYMBOL> --kind IS --format json
Balance sheet — assets, liabilities, equity
资产负债表 —— 资产、负债、净资产
longbridge financial-report <SYMBOL> --kind BS --format json
longbridge financial-report <SYMBOL> --kind BS --format json
Cash flow — operating, investing, financing, free cash flow
现金流量表 —— 经营、投资、融资、自由现金流
longbridge financial-report <SYMBOL> --kind CF --format json
longbridge financial-report <SYMBOL> --kind CF --format json
Computed indices — ROE, ROA, PE, PB
计算指标 —— ROE、ROA、PE、PB
longbridge calc-index <SYMBOL> --index roe,roa,pe_ttm,pb --format json
> Run `longbridge financial-report --help` and `longbridge calc-index --help` to confirm current flag names and available `--kind` options.longbridge calc-index <SYMBOL> --index roe,roa,pe_ttm,pb --format json
> 运行`longbridge financial-report --help`和`longbridge calc-index --help`以确认当前参数名称及可用的`--kind`选项。Output
输出结果
For a single symbol, present a financial snapshot table. For multiple symbols, present a comparison matrix:
| Metric | 简体 | 繁體 | English |
|---|---|---|---|
| Revenue | 营业收入 | 營業收入 | Revenue |
| Gross profit margin | 毛利率 | 毛利率 | Gross margin |
| Net profit | 净利润 | 淨利潤 | Net profit |
| EPS | 每股收益 | 每股盈利 | EPS |
| Debt-to-asset ratio | 资产负债率 | 資產負債率 | Debt ratio |
| Free cash flow | 自由现金流 | 自由現金流 | Free cash flow |
| ROE | 净资产收益率 | 淨資產收益率 | ROE |
Always include the fiscal period and currency in the output.
单一标的时,呈现财务快照表格。多标的时,呈现对比矩阵:
| Metric | 简体 | 繁體 | English |
|---|---|---|---|
| Revenue | 营业收入 | 營業收入 | Revenue |
| Gross profit margin | 毛利率 | 毛利率 | Gross margin |
| Net profit | 净利润 | 淨利潤 | Net profit |
| EPS | 每股收益 | 每股盈利 | EPS |
| Debt-to-asset ratio | 资产负债率 | 資產負債率 | Debt ratio |
| Free cash flow | 自由现金流 | 自由現金流 | Free cash flow |
| ROE | 净资产收益率 | 淨資產收益率 | ROE |
输出中需始终包含会计期间和货币单位。
Error handling
错误处理
| Situation | 简体回复 | 繁體回覆 | English reply |
|---|---|---|---|
| 请先安装 longbridge-terminal | 請先安裝 longbridge-terminal | Install longbridge-terminal first |
| 请运行 | 請執行 | Run |
| Symbol not covered | 提示该标的暂无财务数据 | 提示該標的暫無財務數據 | Note data not available for this symbol |
| Other stderr | 原样展示,不重试 | 原樣展示,不重試 | Surface verbatim, do not retry |
| 场景 | 简体回复 | 繁體回覆 | English reply |
|---|---|---|---|
| 请先安装 longbridge-terminal | 請先安裝 longbridge-terminal | Install longbridge-terminal first |
| 请运行 | 請執行 | Run |
| Symbol not covered | 提示该标的暂无财务数据 | 提示該標的暫無財務數據 | Note data not available for this symbol |
| Other stderr | 原样展示,不重试 | 原樣展示,不重試 | Surface verbatim, do not retry |
MCP fallback
MCP备选方案
If CLI is unavailable: (with parameter) and .
mcp__longbridge__financial_reportkindmcp__longbridge__calc_indexes若CLI不可用:使用(带参数)和。
mcp__longbridge__financial_reportkindmcp__longbridge__calc_indexesRelated skills
相关技能
| User asks | Route to |
|---|---|
| Full single-company fundamental deep-dive | |
| Business segment breakdown | |
| 2–5 stock valuation comparison | |
| Analyst consensus / EPS estimates | |
| Institutional holders / insider trades | |
| 用户提问内容 | 路由至 |
|---|---|
| 单一公司完整基本面深度分析 | |
| 业务板块细分数据 | |
| 2–5只股票估值对比 | |
| 分析师共识/EPS预测 | |
| 机构持有者/内部交易 | |
File layout
文件结构
longbridge-finance-query/
└── SKILL.mdPrompt-only — no . Discover current CLI flags via .
scripts/longbridge <subcommand> --helplongbridge-finance-query/
└── SKILL.md仅需提示语——无目录。通过了解当前CLI参数。
scripts/longbridge <subcommand> --help