Loading...
Loading...
Cross-symbol comparison (2–5 stocks) via Longbridge — valuation (PE / PB / PS / dividend yield), current price + change, latest financial KPIs (revenue / net income / ROE), market cap. Renders as a single matrix; flags cross-currency or cross-industry caveats. Triggers: "X 和 Y 哪个值得买", "X vs Y", "几只股票对比", "同行业谁最强", "X 跟 Y 谁更便宜", "几只哪个增速快", "科技七姐妹谁最强", "X 跟 Y 對比", "X 跟 Y 哪個便宜", "X vs Y", "compare X and Y", "peer comparison", "which is more expensive", "which has higher growth".
npx skill4agent add longbridge/skills longbridge-peer-comparisonResponse language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
| 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") |
NVDA.US600519.SHlongbridge <subcommand> --helplongbridge 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<CODE>.<MARKET>longbridgefinancial-report{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.| 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 |
longbridgecommand not found| MCP tool | CLI equivalent |
|---|---|
| |
| |
| |
| |
claude mcp add --transport http longbridge https://openapi.longbridge.com/mcpquotelongbridge-valuationlongbridge-fundamentallongbridge-newslongbridge-peer-comparison/
└── SKILL.md # prompt-only, no scripts/