longbridge-valuation

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

longbridge-valuation

longbridge-valuation

Prompt-only analysis skill. Orchestrates Longbridge CLI commands to answer "is X expensive?" across three dimensions: current snapshot, historical percentile, industry context.
Response language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
仅基于提示词的分析技能。协调Longbridge CLI命令,从三个维度回答“X是否估值过高?”的问题:当前快照、历史百分位、行业对比。
响应语言:匹配用户输入语言——简体中文/繁体中文/英文。

When to use

使用场景

  • "NVDA 估值贵不贵", "is NVDA expensive?", "NVDA 估值貴不貴"
  • "茅台是不是被低估了", "is Maotai undervalued?"
  • "700 估值在历史什么位置", "700 historical PE percentile"
  • "宁德时代相对行业贵多少", "how much does CATL trade above industry median"
  • "GOOG 现在适合买入吗"
For multi-symbol comparison route to
longbridge-peer-comparison
. For business-fundamentals questions route to
longbridge-fundamental
.
  • "NVDA 估值贵不贵", "is NVDA expensive?", "NVDA 估值貴不貴"
  • "茅台是不是被低估了", "is Maotai undervalued?"
  • "700 估值在历史什么位置", "700 historical PE percentile"
  • "宁德时代相对行业贵多少", "how much does CATL trade above industry median"
  • "GOOG 现在适合买入吗"
如需多标的对比,请使用
longbridge-peer-comparison
。如需业务基本面相关问题,请使用
longbridge-fundamental

CLI

CLI 命令

Run
longbridge <subcommand> --help
to verify exact flags. Primary calls (run concurrently):
bash
longbridge valuation TSLA.US --format json               # current snapshot + peer comparison
longbridge valuation TSLA.US --history --range 3 --format json   # 3-year historical series
longbridge valuation TSLA.US --history --indicator pb --range 5 --format json  # PB 5-year series
longbridge valuation-rank TSLA.US --format json          # daily PE/PB/PS industry percentile rank (past 1 year)
longbridge valuation-rank TSLA.US --start 20230101 --end 20251231 --format json  # custom date range
longbridge industry-valuation TSLA.US --format json      # industry median + distribution
longbridge industry-valuation dist TSLA.US --format json # percentile distribution
longbridge calc-index TSLA.US --format json              # optional intraday PE correction
运行
longbridge <subcommand> --help
查看具体参数。主要调用命令(并行执行):
bash
longbridge valuation TSLA.US --format json               # 当前快照 + 同行对比
longbridge valuation TSLA.US --history --range 3 --format json   # 3年历史数据序列
longbridge valuation TSLA.US --history --indicator pb --range 5 --format json  # PB 5年数据序列
longbridge valuation-rank TSLA.US --format json          # 近1年每日PE/PB/PS行业百分位排名
longbridge valuation-rank TSLA.US --start 20230101 --end 20251231 --format json  # 自定义日期范围
longbridge industry-valuation TSLA.US --format json      # 行业中位数 + 分布情况
longbridge industry-valuation dist TSLA.US --format json # 百分位分布
longbridge calc-index TSLA.US --format json              # 可选的盘中PE修正

Workflow

工作流程

  1. Resolve symbol to
    <CODE>.<MARKET>
    (rules in
    longbridge-quote
    ). Multiple symbols → route to
    longbridge-peer-comparison
    .
  2. Concurrently call CLI commands above. If
    longbridge
    is not installed, fall back to MCP (see MCP fallback section).
Optional intraday correction (only when needed):
longbridge calc-index
valuation
is often EOD;
calc-index
reflects the live mid-day price.
  1. Compute in the LLM:
    QuantityMethod
    Historical PE percentileprefer
    valuation-rank
    daily rank series; fallback: rank current PE against
    valuation --history
    series
    Historical PB percentilesame
    Industry premium
    (current PE − industry median PE) / industry median PE
    Industry rankbucket from
    industry-valuation dist
    If history is sparse (< 1y) or the industry has fewer than 5 peers, degrade gracefully — show snapshot + relative-to-industry only, drop the percentile claim.
  2. Output the three sections (template below). Cite Longbridge Securities.
  1. 解析标的代码
    <CODE>.<MARKET>
    (规则参考
    longbridge-quote
    )。若为多个标的,则跳转至
    longbridge-peer-comparison
  2. 并行调用上述CLI命令。若未安装
    longbridge
    ,则回退至MCP(详见MCP回退章节)。
可选盘中修正(仅必要时使用):
longbridge calc-index
——
valuation
通常为收盘数据;
calc-index
反映实时盘中价格。
  1. 通过LLM计算
    指标计算方法
    历史PE百分位优先使用
    valuation-rank
    每日排名序列;回退方案:将当前PE与
    valuation --history
    序列对比排名
    历史PB百分位同上
    行业溢价
    (当前PE − 行业中位数PE) / 行业中位数PE
    行业排名基于
    industry-valuation dist
    进行分组
    若历史数据不足1年,或行业同行少于5家,则优雅降级——仅展示快照及行业对比数据,取消百分位相关表述。
  2. 输出三个部分内容(模板如下)。标注Longbridge Securities来源。

Output template

输出模板

{Symbol} ({code}) valuation snapshot — Source: Longbridge Securities

[Current snapshot]
- PE (TTM): X
- PB:        X
- PS:        X
- EV/EBITDA: X (if available)
- Dividend yield: X%

[Historical (past 3y)]
- PE in N-th percentile (low / mid / high)
- PB in N-th percentile

[Industry (N peers)]
- Industry median PE: X → currently {premium/discount} of N%
- Industry rank: {position} / N (high / mid / low bucket)

[Combined]
From historical + industry views, valuation is {low / neutral / high} — historical N-th pct, {N% above/below} industry median.

⚠️ 以上数据仅供参考,不构成投资建议。/ 以上數據僅供參考,不構成投資建議。/ For reference only. Not investment advice.
(Translate into the user's language; keep numeric values as-is.)
{Symbol} ({code}) 估值快照 — 来源: Longbridge Securities

[当前快照]
- PE (TTM): X
- PB:        X
- PS:        X
- EV/EBITDA: X(如有)
- 股息率: X%

[历史数据(近3年)]
- PE处于第N百分位(低/中/高区间)
- PB处于第N百分位

[行业对比(共N家同行)]
- 行业中位数PE: X → 当前{溢价/折价}N%
- 行业排名: {排名} / N(高/中/低区间)

[综合判断]
从历史及行业视角来看,估值{偏低/适中/偏高}——处于历史第N百分位,较行业中位数{高出/低于}N%。

⚠️ 以上数据仅供参考,不构成投资建议。/ 以上數據僅供參考,不構成投資建議。/ For reference only. Not investment advice.
(翻译为用户输入的语言;数值保持原样。)

Cyclical industries — special handling

周期性行业——特殊处理

Energy / chemicals / steel / shipping / banks / property are cyclical: PE inverts (high PE near troughs because earnings are depressed; low PE near peaks may signal a top). When the symbol is in such an industry, add the caveat: "Cyclical industry — PE percentile must be interpreted alongside industry cycle position; do not read 'high PE = expensive' mechanically."
能源/化工/钢铁/航运/银行/地产属于周期性行业:PE呈现反向特征(业绩低迷时PE偏高,接近周期谷底;PE偏低时可能接近周期峰值,预示顶部)。当标的属于此类行业时,需添加提示"周期性行业——PE百分位需结合行业周期位置解读,请勿机械地认为'高PE=估值过高'。"

Output constraints

输出约束

  • Must include three dimensions (snapshot + historical + industry); state "data unavailable" if a dimension fails.
  • Must cite "Longbridge Securities" / "数据来源:长桥证券" / "數據來源:長橋證券".
  • Must end with the not-investment-advice disclaimer.
  • May characterise combinations like "high-historical + high-industry" and give a view; qualify with data.
  • 必须包含三个维度(快照+历史+行业);若某维度数据缺失,需标注“数据不可用”。
  • 必须标注“Longbridge Securities” / "数据来源:长桥证券" / "數據來源:長橋證券"。
  • 必须以“不构成投资建议”的免责声明结尾。
  • 可以结合“历史高+行业高”等情况给出判断,但需以数据为依据。

Error handling

错误处理

SituationReply
command not found: longbridge
Fall back to MCP; if MCP also unavailable, tell user to install longbridge-terminal.
stderr
not logged in
Tell user to run
longbridge auth login
.
valuation
returns empty
"{symbol} has no valuation data (likely an obscure or newly listed name)."
history < 1 yearDegrade to snapshot + industry-only
Industry < 5 peersCaveat: "industry sample sparse; industry percentile is indicative only"
场景回复
command not found: longbridge
回退至MCP;若MCP也不可用,告知用户安装longbridge-terminal。
stderr 返回
not logged in
告知用户运行
longbridge auth login
登录。
valuation
返回空数据
"{symbol}无估值数据(可能为小众或新上市标的)。"
历史数据不足1年降级为仅展示快照+行业对比
行业同行少于5家添加提示:"行业样本量较少;行业百分位仅作参考"

MCP fallback

MCP回退方案

If
longbridge
CLI is not installed (
command not found
), use MCP tools instead:
MCP toolCLI equivalent
mcp__longbridge__valuation
longbridge valuation
mcp__longbridge__valuation_history
longbridge valuation --history --range 3
mcp__longbridge__valuation_rank
longbridge valuation-rank
mcp__longbridge__industry_valuation
longbridge industry-valuation
mcp__longbridge__industry_valuation_dist
longbridge industry-valuation dist
mcp__longbridge__latest_financial_report
longbridge financial-report --latest
mcp__longbridge__calc_indexes
longbridge calc-index
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
longbridge valuation
mcp__longbridge__valuation_history
longbridge valuation --history --range 3
mcp__longbridge__valuation_rank
longbridge valuation-rank
mcp__longbridge__industry_valuation
longbridge industry-valuation
mcp__longbridge__industry_valuation_dist
longbridge industry-valuation dist
mcp__longbridge__latest_financial_report
longbridge financial-report --latest
mcp__longbridge__calc_indexes
longbridge calc-index
MCP配置:
claude mcp add --transport http longbridge https://openapi.longbridge.com/mcp
(需
quote
权限)。

Related skills

相关技能

  • 2–5 symbol valuation comparison →
    longbridge-peer-comparison
  • Business fundamentals (revenue, ROE, margins) →
    longbridge-fundamental
  • News / market reaction →
    longbridge-news
  • Real-time price alert →
    longbridge-alert
  • 2–5个标的估值对比 →
    longbridge-peer-comparison
  • 业务基本面(营收、ROE、利润率)→
    longbridge-fundamental
  • 新闻/市场反应 →
    longbridge-news
  • 实时价格预警 →
    longbridge-alert

File layout

文件结构

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