longbridge-valuation-rank
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineselongbridge-valuation-rank
longbridge-valuation-rank
Prompt-only skill. Fetches the time series of a stock's valuation rank within its industry — each data point shows where the stock sits among peers (e.g., rank 3 out of 28) for PE, PB, PS, and dividend yield.
Response language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
纯提示词技能。获取单只股票在行业内的估值排名时间序列——每个数据点展示该股票在同行中的位置(例如,28家公司中排名第3),涵盖PE、PB、PS和股息率指标。
回复语言:匹配用户输入语言——简体中文/繁体中文/英文。
When to use
使用场景
- "AAPL 在行业里 PE 排名怎么变化的", "AAPL industry PE rank over time", "AAPL 在行業裡 PE 排名怎麼變化"
- "茅台估值相对同业是在改善还是恶化", "is Maotai getting cheaper relative to peers"
- "NVDA PB 行业排名走势", "NVDA PB sector rank trend", "NVDA PB 行業排名走勢"
- "700.HK 股息率行业位置历史", "700.HK dividend yield rank history"
For a current single-stock snapshot (not a trend) → .
For today's full sector comparison →.
For multi-symbol comparison →.
longbridge-valuationFor today's full sector comparison →
longbridge-industry-valuationFor multi-symbol comparison →
longbridge-peer-comparison- "AAPL 在行业里 PE 排名怎么变化的", "AAPL industry PE rank over time", "AAPL 在行業裡 PE 排名怎麼變化"
- "茅台估值相对同业是在改善还是恶化", "is Maotai getting cheaper relative to peers"
- "NVDA PB 行业排名走势", "NVDA PB sector rank trend", "NVDA PB 行業排名走勢"
- "700.HK 股息率行业位置历史", "700.HK dividend yield rank history"
如需查看单只股票当前快照(非趋势)→ 。
如需查看当前全行业对比→。
如需多标的对比→。
longbridge-valuation如需查看当前全行业对比→
longbridge-industry-valuation如需多标的对比→
longbridge-peer-comparisonCLI
CLI 命令
Run to verify exact flags. Common calls:
longbridge valuation-rank --helpbash
undefined运行 查看具体参数。常用调用示例:
longbridge valuation-rank --helpbash
undefinedPast 1 year (default) — PE / PB / PS / dividend-yield ranks
过去1年(默认)——PE/PB/PS/股息率排名
longbridge valuation-rank AAPL.US --format json
longbridge valuation-rank AAPL.US --format json
Custom date range
自定义日期范围
longbridge valuation-rank AAPL.US --start 20250101 --end 20251231 --format json
longbridge valuation-rank 700.HK --start 20240101 --end 20251231 --format json
longbridge valuation-rank AAPL.US --start 20250101 --end 20251231 --format json
longbridge valuation-rank 700.HK --start 20240101 --end 20251231 --format json
Help — always verify flags
帮助——请始终确认参数
longbridge valuation-rank --help
undefinedlongbridge valuation-rank --help
undefinedWorkflow
工作流程
- Resolve symbol to format.
<CODE>.<MARKET> - Run (add
longbridge valuation-rank <SYMBOL> --format json/--startif the user specifies a range; otherwise omit for the default 1-year window).--end - Parse the time series. Each data point includes a and sub-objects for
timestamp,pe,pb,ps— each containingdvdandrank.total - Compute trend for each indicator:
- Direction: is rank rising (improving relative valuation) or falling (deteriorating)?
- Percentile at each point: → lower rank = lower PE = cheaper.
(total − rank + 1) / total × 100% - Identify any notable inflection points (large rank jumps).
- Present as a summary table + trend narrative; omit indicators where data is sparse.
- 解析标的代码为 格式。
<CODE>.<MARKET> - 执行 (若用户指定日期范围,添加
longbridge valuation-rank <SYMBOL> --format json/--start参数;否则使用默认的1年窗口期)。--end - 解析时间序列数据。每个数据点包含(时间戳)以及
timestamp、pe、pb、ps子对象——每个子对象包含dvd(排名)和rank(同行总数)。total - 计算各指标的趋势:
- 方向:排名是上升(相对估值改善)还是下降(相对估值恶化)?
- 每个时间点的百分位:→ 排名越低=PE越低=估值越便宜。
(total − rank + 1) / total × 100% - 识别显著的拐点(排名大幅波动)。
- 呈现为汇总表格+趋势说明;省略数据稀疏的指标。
Output
输出示例
AAPL.US — Industry valuation rank history (past 1 year)
Source: Longbridge Securities
Source: Longbridge Securities
Date | PE rank | PB rank | PS rank | Dvd rank | Peers (n)
2025-01-31 | 8 / 32 | 5 / 32 | 12 / 32 | 28 / 32 | 32
2025-02-28 | 9 / 32 | 5 / 32 | 11 / 32 | 27 / 32 | 32
…Trend summary: PE rank improved from 12→8 (valuation became relatively cheaper vs peers) over the period; dividend yield rank remained near bottom (low yield vs peers).
⚠️ 排名数据仅供参考,不构成投资建议。
⚠️ 排名數據僅供參考,不構成投資建議。
⚠️ For reference only. Not investment advice.
⚠️ 排名數據僅供參考,不構成投資建議。
⚠️ For reference only. Not investment advice.
AAPL.US — 行业估值排名历史(过去1年)
数据来源:Longbridge Securities
数据来源:Longbridge Securities
Date | PE rank | PB rank | PS rank | Dvd rank | Peers (n)
2025-01-31 | 8 / 32 | 5 / 32 | 12 / 32 | 28 / 32 | 32
2025-02-28 | 9 / 32 | 5 / 32 | 11 / 32 | 27 / 32 | 32
…趋势总结:报告期内,PE排名从12升至8(相对于同行,估值变得更便宜);股息率排名始终接近末尾(相对于同行,股息率较低)。
⚠️ 排名数据仅供参考,不构成投资建议。
⚠️ 排名數據僅供參考,不構成投資建議。
⚠️ For reference only. Not investment advice.
⚠️ 排名數據僅供參考,不構成投資建議。
⚠️ For reference only. Not investment advice.
Error handling
错误处理
| Situation | 简体中文回复 | 繁體中文 / English |
|---|---|---|
| 回退到 MCP;如也不可用,请安装 longbridge-terminal。 | 回退到 MCP;如也不可用,請安裝 longbridge-terminal。/ Fall back to MCP; if unavailable, install longbridge-terminal. |
| "{symbol} 暂无行业估值排名数据,可能不支持该市场或标的。" | "{symbol} 暫無行業估值排名。" / "{symbol} has no industry valuation rank data." |
| 跳过该指标,注明无同行数据。 | 跳過該指標,注明無同行數據。/ Skip the indicator and note no peer data. |
| Other stderr | 直接显示原始错误,不静默重试。 | 顯示原始錯誤。/ Surface verbatim — do not retry silently. |
| 场景 | 简体中文回复 | 繁体中文 / English |
|---|---|---|
| 回退至MCP;若MCP也不可用,请安装longbridge-terminal。 | 回退至MCP;若MCP也不可用,請安裝longbridge-terminal。/ Fall back to MCP; if unavailable, install longbridge-terminal. |
| "{symbol} 暂无行业估值排名数据,可能不支持该市场或标的。" | "{symbol} 暫無行業估值排名數據。" / "{symbol} has no industry valuation rank data." |
| 跳过该指标,注明无同行数据。 | 跳過該指標,註明無同行數據。/ Skip the indicator and note no peer data. |
| 其他标准错误输出 | 直接显示原始错误,不静默重试。 | 顯示原始錯誤。/ Surface verbatim — do not retry silently. |
MCP fallback
MCP fallback方案
If CLI is unavailable (), use MCP tools:
longbridgecommand not found| MCP tool | CLI equivalent |
|---|---|
| |
MCP setup: ( scope).
claude mcp add --transport http longbridge https://openapi.longbridge.com/mcpquote若 CLI不可用(提示),使用MCP工具:
longbridgecommand not found| MCP工具 | CLI等效命令 |
|---|---|
| |
MCP配置:(需权限范围)。
claude mcp add --transport http longbridge https://openapi.longbridge.com/mcpquoteRelated skills
相关技能
- Single-stock historical percentile (absolute) →
longbridge-valuation - Current sector snapshot (today's comparison) →
longbridge-industry-valuation - Multi-symbol comparison matrix →
longbridge-peer-comparison - Full fundamentals →
longbridge-fundamental
- 单只股票历史百分位(绝对估值)→
longbridge-valuation - 当前行业快照(当日对比)→
longbridge-industry-valuation - 多标的对比矩阵→
longbridge-peer-comparison - 完整基本面数据→
longbridge-fundamental
File layout
文件结构
longbridge-valuation-rank/
└── SKILL.md # prompt-only, no scripts/longbridge-valuation-rank/
└── SKILL.md # 纯提示词技能,无scripts/目录