longbridge-consensus

Original🇺🇸 English
Translated

Analyst consensus snapshot for listed companies via Longbridge — current revenue / EPS / target-price consensus estimates and analyst rating distribution. For revision direction, beat/miss tracking, and PEAD signals use longbridge-earnings-revision. Triggers: "一致预期", "分析师预期", "EPS预测", "目标价", "分析师评级分布", "买入评级", "卖出评级", "一致預期", "分析師預期", "EPS預測", "目標價", "分析師評級分佈", "買入評級", "賣出評級", "analyst consensus", "EPS forecast", "target price", "analyst rating distribution", "buy sell hold", "price target consensus", "TSLA.US consensus", "700.HK analyst estimates".

3installs
Added on

NPX Install

npx skill4agent add longbridge/skills longbridge-consensus

Tags

Translated version includes tags in frontmatter

longbridge-consensus

Prompt-only analysis skill. Orchestrates Longbridge CLI commands to surface analyst consensus estimates, estimate revision trends, beat/miss history, and post-earnings announcement drift (PEAD) signals.
Response language: match the user's input language — Simplified Chinese / Traditional Chinese / English.

When to use

  • "TSLA 分析师预期", "TSLA analyst consensus", "TSLA 分析師預期"
  • "NVDA 下季度 EPS 预期", "NVDA next-quarter EPS forecast"
  • "苹果最近预期修正了吗", "has AAPL had estimate revisions recently"
  • "700.HK 目标价共识", "700.HK price target consensus"
  • "TSLA 上季超预期了吗", "did TSLA beat last quarter", "TSLA 上季超預期嗎"
  • "NVDA PEAD 信号", "NVDA post-earnings drift"
For full fundamentals (revenue/margins/ROE) use
longbridge-fundamental
. For valuation use
longbridge-valuation
.

CLI

Run
longbridge <subcommand> --help
to verify exact flags. Call concurrently:
bash
# Core consensus — always run these
longbridge consensus TSLA.US --format json           # coverage count, buy/hold/sell, target price
longbridge analyst-estimates TSLA.US --format json   # revenue / EPS high / low / mean / median
longbridge forecast-eps TSLA.US --format json        # forward EPS by period
longbridge institution-rating TSLA.US --format json  # rating distribution + median target

# Revision & beat/miss history — add when user asks for revisions or beat/miss
longbridge institution-rating TSLA.US --history --format json   # rating + target price change history

# If unsure about any flag:
longbridge consensus --help
longbridge analyst-estimates --help
longbridge forecast-eps --help
longbridge institution-rating --help

Workflow

  1. Resolve symbol to
    <CODE>.<MARKET>
    format.
  2. Determine scope from the user prompt:
    Prompt intentCommands to run
    Consensus snapshot
    consensus
    +
    analyst-estimates
    +
    forecast-eps
    Rating distribution / target price
    institution-rating
    Revision trend
    institution-rating --history
    Beat / miss analysis
    analyst-estimates
    (compare actuals vs mean)
    PEAD signal
    analyst-estimates
    +
    consensus
    + price context
  3. In-LLM analysis:
    QuantityMethod
    Estimate revision directionCompare current mean EPS vs prior period from
    institution-rating --history
    ; rising / flat / falling
    Beat / missActual EPS (from
    analyst-estimates
    actuals field) vs consensus mean; beat threshold > +2%
    PEAD signalConsecutive beats + upward revisions → positive momentum; consecutive misses + downward revisions → negative momentum. Note: PEAD is a statistical tendency, not a guarantee.
    Surprise %`(Actual − Estimate) /
  4. Output structured report; cite Longbridge Securities; end with disclaimer.

Output template

{Symbol} ({code}) Analyst Consensus — Source: Longbridge Securities
As of: {date}

[Coverage & ratings]
- Analysts covering: N  |  Buy: X / Hold: Y / Sell: Z
- Median target price: {price} ({currency})  |  Upside from last: ±X%

[EPS consensus]
- Current-quarter estimate: mean {X}, range [{low} – {high}]
- Next-quarter estimate:    mean {X}, range [{low} – {high}]
- FY estimate:              mean {X}, range [{low} – {high}]

[Revenue consensus]
- Current-quarter estimate: mean {X}  YoY ±Y%
- FY estimate:              mean {X}  YoY ±Y%

[Estimate revision trend]
- Direction (past 30/90 days): {rising / flat / falling}
- Key revisions: {summary from institution-rating --history}

[Beat / miss history (last 4 quarters)]
| Quarter | Actual EPS | Estimate | Surprise % |
|---------|-----------|----------|-----------|
| {Q}     | {A}       | {E}      | {±X%}     |
...

[PEAD signal]
- Pattern: {N consecutive beats / misses / mixed}
- Revision bias: {upward / neutral / downward}
- PEAD inference: {positive momentum / neutral / negative momentum}
⚠️ PEAD is a statistical tendency, not a forecast.

⚠️ 以上数据仅供参考,不构成投资建议。/ 以上數據僅供參考,不構成投資建議。/ For reference only. Not investment advice.
(Omit sections where data is unavailable; state so explicitly.)

Error handling

Situation简体中文回复繁體中文 / English
command not found: longbridge
回退到 MCP;如 MCP 也不可用,请用户安装 longbridge-terminal。回退到 MCP;如也不可用,請安裝 longbridge-terminal。/ Fall back to MCP; if also unavailable, tell user to install longbridge-terminal.
stderr
not logged in
请运行
longbridge auth login
登录。
請執行
longbridge auth login
。/ Run
longbridge auth login
.
consensus
returns < 3 analysts
覆盖分析师不足 3 位,一致预期仅供参考。覆蓋分析師不足 3 位,僅供參考。/ Fewer than 3 analysts — consensus is indicative only.
analyst-estimates
returns empty
"{symbol} 暂无分析师预期数据。""{symbol} 暫無分析師預期。" / "{symbol} has no analyst estimates."
No actuals for beat/miss跳过超预期/低于预期分析,注明无历史实际值。跳過超預期分析,注明無歷史數據。/ Skip beat/miss analysis; note no historical actuals available.
Other stderr直接显示原始错误,不静默重试。顯示原始錯誤。/ Surface verbatim — do not retry silently.

MCP fallback

If
longbridge
CLI is not installed (
command not found
), use MCP tools:
MCP toolCLI equivalent
mcp__longbridge__consensus
longbridge consensus
mcp__longbridge__analyst_estimates
longbridge analyst-estimates
mcp__longbridge__forecast_eps
longbridge forecast-eps
mcp__longbridge__institution_rating
longbridge institution-rating
mcp__longbridge__institution_rating_history
longbridge institution-rating --history
MCP setup:
claude mcp add --transport http longbridge https://openapi.longbridge.com/mcp
(
quote
scope).

Related skills

  • Full fundamentals (revenue / ROE / margins) →
    longbridge-fundamental
  • Valuation (PE / PB / industry) →
    longbridge-valuation
  • Three-statement financials →
    longbridge-financial-report
  • News & market reaction →
    longbridge-news
  • Post-earnings deep-dive →
    longbridge-earnings

File layout

longbridge-consensus/
└── SKILL.md   # prompt-only, no scripts/