longbridge-valuation-rank

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

longbridge-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) →
longbridge-valuation
.
For today's full sector comparison →
longbridge-industry-valuation
.
For 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-comparison

CLI

CLI 命令

Run
longbridge valuation-rank --help
to verify exact flags. Common calls:
bash
undefined
运行
longbridge valuation-rank --help
查看具体参数。常用调用示例:
bash
undefined

Past 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
undefined
longbridge valuation-rank --help
undefined

Workflow

工作流程

  1. Resolve symbol to
    <CODE>.<MARKET>
    format.
  2. Run
    longbridge valuation-rank <SYMBOL> --format json
    (add
    --start
    /
    --end
    if the user specifies a range; otherwise omit for the default 1-year window).
  3. Parse the time series. Each data point includes a
    timestamp
    and sub-objects for
    pe
    ,
    pb
    ,
    ps
    ,
    dvd
    — each containing
    rank
    and
    total
    .
  4. Compute trend for each indicator:
    • Direction: is rank rising (improving relative valuation) or falling (deteriorating)?
    • Percentile at each point:
      (total − rank + 1) / total × 100%
      → lower rank = lower PE = cheaper.
    • Identify any notable inflection points (large rank jumps).
  5. Present as a summary table + trend narrative; omit indicators where data is sparse.
  1. 解析标的代码
    <CODE>.<MARKET>
    格式。
  2. 执行
    longbridge valuation-rank <SYMBOL> --format json
    (若用户指定日期范围,添加
    --start
    /
    --end
    参数;否则使用默认的1年窗口期)。
  3. 解析时间序列数据。每个数据点包含
    timestamp
    (时间戳)以及
    pe
    pb
    ps
    dvd
    子对象——每个子对象包含
    rank
    (排名)和
    total
    (同行总数)。
  4. 计算各指标的趋势:
    • 方向:排名是上升(相对估值改善)还是下降(相对估值恶化)?
    • 每个时间点的百分位:
      (total − rank + 1) / total × 100%
      → 排名越低=PE越低=估值越便宜。
    • 识别显著的拐点(排名大幅波动)。
  5. 呈现为汇总表格+趋势说明;省略数据稀疏的指标。

Output

输出示例

AAPL.US — Industry valuation rank history (past 1 year)
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.
AAPL.US — 行业估值排名历史(过去1年)
数据来源: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.

Error handling

错误处理

Situation简体中文回复繁體中文 / English
command not found: longbridge
回退到 MCP;如也不可用,请安装 longbridge-terminal。回退到 MCP;如也不可用,請安裝 longbridge-terminal。/ Fall back to MCP; if unavailable, install longbridge-terminal.
valuation-rank
returns empty
"{symbol} 暂无行业估值排名数据,可能不支持该市场或标的。""{symbol} 暫無行業估值排名。" / "{symbol} has no industry valuation rank data."
total
= 0 or null
跳过该指标,注明无同行数据。跳過該指標,注明無同行數據。/ Skip the indicator and note no peer data.
Other stderr直接显示原始错误,不静默重试。顯示原始錯誤。/ Surface verbatim — do not retry silently.
场景简体中文回复繁体中文 / English
command not found: longbridge
回退至MCP;若MCP也不可用,请安装longbridge-terminal。回退至MCP;若MCP也不可用,請安裝longbridge-terminal。/ Fall back to MCP; if unavailable, install longbridge-terminal.
valuation-rank
返回空数据
"{symbol} 暂无行业估值排名数据,可能不支持该市场或标的。""{symbol} 暫無行業估值排名數據。" / "{symbol} has no industry valuation rank data."
total
= 0 或 null
跳过该指标,注明无同行数据。跳過該指標,註明無同行數據。/ Skip the indicator and note no peer data.
其他标准错误输出直接显示原始错误,不静默重试。顯示原始錯誤。/ Surface verbatim — do not retry silently.

MCP fallback

MCP fallback方案

If
longbridge
CLI is unavailable (
command not found
), use MCP tools:
MCP toolCLI equivalent
mcp__longbridge__valuation_rank
longbridge valuation-rank <SYMBOL>
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__valuation_rank
longbridge valuation-rank <SYMBOL>
MCP配置:
claude mcp add --transport http longbridge https://openapi.longbridge.com/mcp
(需
quote
权限范围)。

Related 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/目录