longbridge-peer-comparison
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineselongbridge-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
标的数量规则
| Count | Behaviour |
|---|---|
| 0 | Ask: "Which symbols would you like to compare?" |
| 1 | Reroute → |
| 2–5 | Run normally |
| ≥ 6 | Ask user to narrow to 3–5 ("matrix becomes unreadable beyond 5") |
| 数量 | 行为 |
|---|---|
| 0 | 询问:"你想对比哪些标的?" |
| 1 | 重定向至 |
| 2–5 | 正常运行 |
| ≥ 6 | 请用户缩减至3–5个("超过5个标的后矩阵会难以阅读") |
Cross-cohort caveats
跨类别注意事项
- Cross-currency (e.g. +
NVDA.US) → 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".600519.SH - 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 to verify exact flags. Per-symbol calls (run concurrently for all symbols):
longbridge <subcommand> --helpbash
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> --helpbash
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 jsonWorkflow
工作流程
-
Resolve every symbol to. Apply the count rules above.
<CODE>.<MARKET> -
Concurrently per symbol, call CLI commands (see CLI section). Ifis not installed, fall back to MCP.
longbridge -
Do not pull the full IS/BS/CF —headline fields are enough for the KPIs.
financial-report -
Normalise (label currency on every figure; do not auto-convert FX). Render as a Markdown table — rows are dimensions, columns are symbols.
-
Add the observations paragraph at the bottom (data-only, no winners).
-
将每个标的解析为格式。应用上述数量规则。
<CODE>.<MARKET> -
针对每个标的并行调用CLI命令(见CLI章节)。若未安装longbridge,则 fallback 至MCP。
-
请勿拉取完整的利润表/资产负债表/现金流量表——的关键字段已足够支撑所需指标。
financial-report -
标准化处理(为每个数值标注币种;请勿自动转换汇率)。以Markdown表格形式呈现——行代表维度,列代表标的。
-
在底部添加观察段落(仅基于数据,不推荐标的)。
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
错误处理
| Situation | Reply |
|---|---|
| Fall back to MCP; if MCP also unavailable, tell user to install longbridge-terminal. |
| Some symbols' data missing | Render N/A in those rows; explain which symbol(s) failed |
| 1 symbol only | Reroute to |
| ≥ 6 symbols | Trim to top 5; tell user the rest are dropped |
stderr | Tell user to run |
| 场景 | 回复 |
|---|---|
| Fallback至MCP;若MCP也不可用,告知用户安装longbridge-terminal。 |
| 部分标的数据缺失 | 在对应行显示N/A;说明哪些标的获取数据失败 |
| 仅1个标的 | 重定向至 |
| ≥ 6个标的 | 保留前5个;告知用户其余标的已被剔除 |
stderr | 告知用户执行 |
MCP fallback
MCP Fallback
If CLI is not installed (), use MCP tools instead (per symbol):
longbridgecommand not found| MCP tool | CLI equivalent |
|---|---|
| |
| |
| |
| |
MCP setup: ( scope).
claude mcp add --transport http longbridge https://openapi.longbridge.com/mcpquote若未安装longbridge CLI(提示),则改用MCP工具(针对每个标的):
command not found| MCP工具 | CLI等效命令 |
|---|---|
| |
| |
| |
| |
MCP配置:(权限)。
claude mcp add --transport http longbridge https://openapi.longbridge.com/mcpquoteRelated 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/目录