longbridge-finance-query

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

longbridge-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
longbridge-fundamental
. For segment-level operating breakdown, prefer
longbridge-business-query
.
当用户询问以下内容时触发:
  • 一只或多只股票的核心财务指标——"NVDA 最新营收", "苹果净利润", "帮我查这几家公司的ROE"
  • 跨股票财务对比——"TSLA 和 BYD 的毛利率对比", "科技股自由现金流排名"
  • 特定财务项目——"资产负债率", "经营现金流", "每股收益"
  • 自然语言财务筛选——"哪些股票ROE超过20%"(注意:Longbridge仅返回指定标的的数据;暂不支持全市场筛选)
若需对单一公司进行完整财务深度分析,优先使用
longbridge-fundamental
。若需查询业务板块细分运营数据,优先使用
longbridge-business-query

Workflow

工作流程

  1. Extract all symbols from the prompt; normalise each to
    <CODE>.<MARKET>
    .
  2. 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
  3. Run
    longbridge financial-report
    for each symbol and statement type.
  4. Run
    longbridge calc-index
    for computed ratios (PE, PB, ROE, ROA).
  5. Merge results by symbol; present as a comparison matrix when multiple symbols are requested.
  1. 从提示语中提取所有标的代码;将每个代码标准化为
    <CODE>.<MARKET>
    格式。
  2. 确定所需的财务报表类型:
    • 利润表(营收、毛利润、净利润、EPS)→
      --kind IS
    • 资产负债表(总资产、总负债、负债率、净资产)→
      --kind BS
    • 现金流量表(经营现金流、自由现金流)→
      --kind CF
  3. 针对每个标的和报表类型运行
    longbridge financial-report
    命令。
  4. 针对计算比率(PE、PB、ROE、ROA)运行
    longbridge calc-index
    命令。
  5. 按标的合并结果;当请求多个标的时,以对比矩阵形式呈现。

CLI

命令行界面(CLI)

bash
undefined
bash
undefined

Income 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
command not found: longbridge
请先安装 longbridge-terminal請先安裝 longbridge-terminalInstall longbridge-terminal first
not logged in
请运行
longbridge auth login
請執行
longbridge auth login
Run
longbridge auth login
Symbol not covered提示该标的暂无财务数据提示該標的暫無財務數據Note data not available for this symbol
Other stderr原样展示,不重试原樣展示,不重試Surface verbatim, do not retry
场景简体回复繁體回覆English reply
command not found: longbridge
请先安装 longbridge-terminal請先安裝 longbridge-terminalInstall longbridge-terminal first
not logged in
请运行
longbridge auth login
請執行
longbridge auth login
Run
longbridge auth login
Symbol not covered提示该标的暂无财务数据提示該標的暫無財務數據Note data not available for this symbol
Other stderr原样展示,不重试原樣展示,不重試Surface verbatim, do not retry

MCP fallback

MCP备选方案

If CLI is unavailable:
mcp__longbridge__financial_report
(with
kind
parameter) and
mcp__longbridge__calc_indexes
.
若CLI不可用:使用
mcp__longbridge__financial_report
(带
kind
参数)和
mcp__longbridge__calc_indexes

Related skills

相关技能

User asksRoute to
Full single-company fundamental deep-dive
longbridge-fundamental
Business segment breakdown
longbridge-business-query
2–5 stock valuation comparison
longbridge-peer-comparison
Analyst consensus / EPS estimates
longbridge-insresearch
Institutional holders / insider trades
longbridge-flows
用户提问内容路由至
单一公司完整基本面深度分析
longbridge-fundamental
业务板块细分数据
longbridge-business-query
2–5只股票估值对比
longbridge-peer-comparison
分析师共识/EPS预测
longbridge-insresearch
机构持有者/内部交易
longbridge-flows

File layout

文件结构

longbridge-finance-query/
└── SKILL.md
Prompt-only — no
scripts/
. Discover current CLI flags via
longbridge <subcommand> --help
.
longbridge-finance-query/
└── SKILL.md
仅需提示语——无
scripts/
目录。通过
longbridge <subcommand> --help
了解当前CLI参数。