longbridge-valuation
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineselongbridge-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 . For business-fundamentals questions route to .
longbridge-peer-comparisonlongbridge-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-comparisonlongbridge-fundamentalCLI
CLI 命令
Run to verify exact flags. Primary calls (run concurrently):
longbridge <subcommand> --helpbash
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> --helpbash
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
工作流程
- Resolve symbol to (rules in
<CODE>.<MARKET>). Multiple symbols → route tolongbridge-quote.longbridge-peer-comparison - Concurrently call CLI commands above. If is not installed, fall back to MCP (see MCP fallback section).
longbridge
Optional intraday correction (only when needed): — is often EOD; reflects the live mid-day price.
longbridge calc-indexvaluationcalc-index-
Compute in the LLM:
Quantity Method Historical PE percentile prefer daily rank series; fallback: rank current PE againstvaluation-rankseriesvaluation --historyHistorical PB percentile same Industry premium (current PE − industry median PE) / industry median PEIndustry rank bucket from industry-valuation distIf history is sparse (< 1y) or the industry has fewer than 5 peers, degrade gracefully — show snapshot + relative-to-industry only, drop the percentile claim. -
Output the three sections (template below). Cite Longbridge Securities.
- 解析标的代码为(规则参考
<CODE>.<MARKET>)。若为多个标的,则跳转至longbridge-quote。longbridge-peer-comparison - 并行调用上述CLI命令。若未安装,则回退至MCP(详见MCP回退章节)。
longbridge
可选盘中修正(仅必要时使用):——通常为收盘数据;反映实时盘中价格。
longbridge calc-indexvaluationcalc-index-
通过LLM计算:
指标 计算方法 历史PE百分位 优先使用 每日排名序列;回退方案:将当前PE与valuation-rank序列对比排名valuation --history历史PB百分位 同上 行业溢价 (当前PE − 行业中位数PE) / 行业中位数PE行业排名 基于 进行分组industry-valuation dist若历史数据不足1年,或行业同行少于5家,则优雅降级——仅展示快照及行业对比数据,取消百分位相关表述。 -
输出三个部分内容(模板如下)。标注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
错误处理
| Situation | Reply |
|---|---|
| Fall back to MCP; if MCP also unavailable, tell user to install longbridge-terminal. |
stderr | Tell user to run |
| "{symbol} has no valuation data (likely an obscure or newly listed name)." |
| history < 1 year | Degrade to snapshot + industry-only |
| Industry < 5 peers | Caveat: "industry sample sparse; industry percentile is indicative only" |
| 场景 | 回复 |
|---|---|
| 回退至MCP;若MCP也不可用,告知用户安装longbridge-terminal。 |
stderr 返回 | 告知用户运行 |
| "{symbol}无估值数据(可能为小众或新上市标的)。" |
| 历史数据不足1年 | 降级为仅展示快照+行业对比 |
| 行业同行少于5家 | 添加提示:"行业样本量较少;行业百分位仅作参考" |
MCP fallback
MCP回退方案
If CLI is not installed (), use MCP tools instead:
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
相关技能
- 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/目录