longbridge-peer-comparison

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

longbridge-peer-comparison

longbridge-peer-comparison

Prompt-only skill that takes 2–5 symbols, runs the same per-symbol orchestration concurrently, and renders one normalised matrix.
Response language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
仅基于提示词的技能,支持输入2-5个标的代码,并行执行针对每个标的的编排流程,生成标准化的对比矩阵。
响应语言:匹配用户输入语言——简体中文/繁体中文/英文。

When to use

使用场景

  • "茅台 五粮液 哪个便宜", "AAPL vs GOOG vs MSFT"
  • "NVDA AMD 哪个增速快", "科技七姐妹谁最强"
  • "茅台跟 700 谁估值低" (cross-currency + cross-industry — render with explicit disclaimer)
  • "茅台 五粮液 哪个便宜", "AAPL vs GOOG vs MSFT"
  • "NVDA AMD 哪个增速快", "科技七姐妹谁最强"
  • "茅台跟 700 谁估值低" (跨币种+跨行业——需显示明确免责声明)

Symbol-count rules

标的数量规则

CountBehaviour
0Ask: "Which symbols would you like to compare?"
1Reroute →
longbridge-valuation
(#14) or
longbridge-fundamental
(#15)
2–5Run normally
≥ 6Ask user to narrow to 3–5 ("matrix becomes unreadable beyond 5")
数量行为
0询问:"你想对比哪些标的?"
1重定向至
longbridge-valuation
(#14) 或
longbridge-fundamental
(#15)
2–5正常运行
≥ 6请用户缩减至3–5个("超过5个标的后矩阵会难以阅读")

Cross-cohort caveats

跨类别注意事项

  • Cross-currency (e.g.
    NVDA.US
    +
    600519.SH
    ) → render the matrix; add an explicit disclaimer at the top of the table: "cross-currency comparison shows relative levels only; no FX conversion is applied".
  • Cross-industry (e.g. tech + spirits) → render the matrix; add: "cross-industry comparison has limited meaning — valuation thresholds are not comparable".
  • Cross-market (different accounting standards: IFRS / US GAAP / CN GAAP) → add: "data uses different accounting standards; treat as a rough benchmark."
  • 跨币种 (例如
    NVDA.US
    +
    600519.SH
    ) → 生成矩阵;在表格顶部添加明确免责声明:"跨币种对比仅展示相对水平,未进行汇率转换"
  • 跨行业 (例如科技+白酒) → 生成矩阵;添加:"跨行业对比参考意义有限——估值阈值不具备可比性"
  • 跨市场 (不同会计准则:IFRS / US GAAP / CN GAAP) → 添加:"数据采用不同会计准则,仅作粗略参考基准。"

CLI

CLI

Run
longbridge <subcommand> --help
to verify exact flags. Per-symbol calls (run concurrently for all symbols):
bash
longbridge quote NVDA.US --format json
longbridge calc-index NVDA.US --format json
longbridge financial-report NVDA.US --format json   # headline KPIs only — no need for full IS/BS/CF
longbridge valuation NVDA.US --format json
运行
longbridge <subcommand> --help
查看具体参数。针对每个标的调用以下命令(所有标的并行执行):
bash
longbridge quote NVDA.US --format json
longbridge calc-index NVDA.US --format json
longbridge financial-report NVDA.US --format json   # 仅需关键指标——无需完整的利润表/资产负债表/现金流量表
longbridge valuation NVDA.US --format json

Workflow

工作流程

  1. Resolve every symbol to
    <CODE>.<MARKET>
    . Apply the count rules above.
  2. Concurrently per symbol, call CLI commands (see CLI section). If
    longbridge
    is not installed, fall back to MCP.
  3. Do not pull the full IS/BS/CF —
    financial-report
    headline fields are enough for the KPIs.
  4. Normalise (label currency on every figure; do not auto-convert FX). Render as a Markdown table — rows are dimensions, columns are symbols.
  5. Add the observations paragraph at the bottom (data-only, no winners).
  1. 将每个标的解析为
    <CODE>.<MARKET>
    格式。应用上述数量规则。
  2. 针对每个标的并行调用CLI命令(见CLI章节)。若未安装longbridge,则 fallback 至MCP。
  3. 请勿拉取完整的利润表/资产负债表/现金流量表——
    financial-report
    的关键字段已足够支撑所需指标。
  4. 标准化处理(为每个数值标注币种;请勿自动转换汇率)。以Markdown表格形式呈现——行代表维度,列代表标的。
  5. 在底部添加观察段落(仅基于数据,不推荐标的)。

Output template

输出模板

{symbol₁ vs symbol₂ vs ...} comparison — Source: Longbridge Securities
[If cross-currency / cross-industry / cross-market: disclaimer here]

| Dimension | Symbol₁ | Symbol₂ | Symbol₃ |
|---|---|---|---|
| Last (CCY) | ... | ... | ... |
| Today's change | ... | ... | ... |
| Market cap | ... | ... | ... |
| **Valuation** | | | |
| PE (TTM) | ... | ... | ... |
| PB | ... | ... | ... |
| PS | ... | ... | ... |
| Dividend yield | ... | ... | ... |
| **Financials (latest period)** | | | |
| Revenue YoY | ... | ... | ... |
| Net income YoY | ... | ... | ... |
| ROE | ... | ... | ... |

[Observations]
- Valuation: who is highest / lowest on PE / PB / PS
- Growth: who leads on revenue / net income YoY
- Dividend: highest yield
- Scale: market-cap ratios

⚠️ 以上数据仅供参考,不构成投资建议。/ 以上數據僅供參考,不構成投資建議。/ For reference only. Not investment advice.
(Translate into the user's language; keep numerics + ticker symbols verbatim.)
{symbol₁ vs symbol₂ vs ...} 对比 — 来源:Longbridge Securities
[若为跨币种/跨行业/跨市场:此处显示免责声明]

| 维度 | Symbol₁ | Symbol₂ | Symbol₃ |
|---|---|---|---|
| 最新价(币种) | ... | ... | ... |
| 今日涨跌幅 | ... | ... | ... |
| 市值 | ... | ... | ... |
| **估值** | | | |
| PE (TTM) | ... | ... | ... |
| PB | ... | ... | ... |
| PS | ... | ... | ... |
| 股息率 | ... | ... | ... |
| **财务数据(最新期)** | | | |
| 营收同比 | ... | ... | ... |
| 净利润同比 | ... | ... | ... |
| ROE | ... | ... | ... |

[观察]
- 估值:PE/PB/PS最高/最低的标的
- 增长:营收/净利润同比领先的标的
- 股息:股息率最高的标的
- 规模:市值对比

⚠️ 以上数据仅供参考,不构成投资建议。/ 以上數據僅供參考,不構成投資建議。/ For reference only. Not investment advice.
(翻译为用户使用的语言;保留数值和标的代码不变。)

Output constraints

输出约束

  • Must be a Markdown table, dimensions × symbols.
  • Must label currency on every numeric figure (CNY / USD / HKD / SGD); no auto-FX conversion.
  • Must end with not-investment-advice disclaimer.
  • Cross-currency / cross-industry / cross-market → must include the disclaimer at the top of the table.
  • 必须采用Markdown表格形式,维度×标的。
  • 必须为每个数值标注币种(CNY / USD / HKD / SGD);禁止自动转换汇率。
  • 必须以投资免责声明结尾。
  • 跨币种/跨行业/跨市场场景→必须在表格顶部添加相应免责声明。

Performance note

性能说明

2–5 symbols × 4 tools = 8–20 MCP calls. Latency may be visible. If the user gives 5 symbols, optionally tell them "comparing 5 symbols, fetching in parallel..." before delivering.
2–5个标的 × 4个工具 = 8–20次MCP调用。可能会有明显延迟。若用户输入5个标的,可在返回结果前告知用户*"正在对比5个标的,并行获取数据中..."*。

Error handling

错误处理

SituationReply
command not found: longbridge
Fall back to MCP; if MCP also unavailable, tell user to install longbridge-terminal.
Some symbols' data missingRender N/A in those rows; explain which symbol(s) failed
1 symbol onlyReroute to
longbridge-valuation
/
longbridge-fundamental
≥ 6 symbolsTrim to top 5; tell user the rest are dropped
stderr
not logged in
Tell user to run
longbridge auth login
.
场景回复
command not found: longbridge
Fallback至MCP;若MCP也不可用,告知用户安装longbridge-terminal。
部分标的数据缺失在对应行显示N/A;说明哪些标的获取数据失败
仅1个标的重定向至
longbridge-valuation
/
longbridge-fundamental
≥ 6个标的保留前5个;告知用户其余标的已被剔除
stderr
not logged in
告知用户执行
longbridge auth login

MCP fallback

MCP Fallback

If
longbridge
CLI is not installed (
command not found
), use MCP tools instead (per symbol):
MCP toolCLI equivalent
mcp__longbridge__quote
longbridge quote
mcp__longbridge__calc_indexes
longbridge calc-index
mcp__longbridge__latest_financial_report
longbridge financial-report
mcp__longbridge__valuation
longbridge valuation
MCP setup:
claude mcp add --transport http longbridge https://openapi.longbridge.com/mcp
(
quote
scope).
若未安装longbridge CLI(提示
command not found
),则改用MCP工具(针对每个标的):
MCP工具CLI等效命令
mcp__longbridge__quote
longbridge quote
mcp__longbridge__calc_indexes
longbridge calc-index
mcp__longbridge__latest_financial_report
longbridge financial-report
mcp__longbridge__valuation
longbridge valuation
MCP配置:
claude mcp add --transport http longbridge https://openapi.longbridge.com/mcp
quote
权限)。

Related skills

相关技能

  • Single-symbol valuation drill-down →
    longbridge-valuation
  • Single-symbol fundamentals drill-down →
    longbridge-fundamental
  • Recent news on a specific name →
    longbridge-news
  • 单标的估值深度分析 →
    longbridge-valuation
  • 单标的基本面深度分析 →
    longbridge-fundamental
  • 特定标的最新资讯 →
    longbridge-news

File layout

文件结构

longbridge-peer-comparison/
└── SKILL.md          # prompt-only, no scripts/
longbridge-peer-comparison/
└── SKILL.md          # 仅基于提示词,无scripts/目录