---
name: longbridge-stock-research
description: |
  Comprehensive equity research snapshot — integrates analyst consensus estimates, company fundamentals (revenue / profit / valuation), 60-day price history, and recent major news to produce an investment research snapshot similar to a sell-side equity research brief. Triggers: "股票研究", "个股分析", "研究报告", "个股快照", "综合分析", "股票调研", "股票深度", "個股分析", "研究報告", "個股快照", "綜合分析", "股票研究", "stock research", "equity research", "stock analysis", "research snapshot", "investment brief", "stock deep dive", "comprehensive analysis", "NVDA research", "700.HK analysis".
license: MIT
metadata:
  author: longbridge
  version: "1.0.0"
  risk_level: read_only
  requires_login: false
  default_install: true
  requires_mcp: false
  tier: read
---

# longbridge-stock-research

Generates a concise equity research snapshot for a single stock by aggregating analyst consensus, key financials, valuation, 60-day price performance, and recent news — structured like a sell-side research brief.

> **Response language**: match the user's input language — Simplified Chinese / Traditional Chinese / English.

## When to use

Trigger when the user asks for a holistic view of a stock combining multiple data sources:

- *"给我做一个 NVDA 的研究报告"* / *"幫我分析一下 700.HK"* / *"Do a research brief on TSLA"*
- *"个股快照"*, *"综合分析 AAPL"*, *"stock deep dive into ARM"*

For single-datatype queries (price only, valuation only, news only), prefer the dedicated skill instead.

## Workflow

1. Parse the symbol and normalise to `<CODE>.<MARKET>` (see symbol format below).
2. Run all five CLI commands (parallel is fine):
   - Analyst consensus estimates
   - Income statement (latest 4 quarters or annual)
   - Valuation snapshot
   - Recent news (latest 10 items)
   - 60-day daily candlestick
3. Synthesise into a structured research brief (see Output section).
4. Cite data source as **Longbridge Securities** / **数据来源：长桥证券** / **數據來源：長橋證券**.

## Symbol format

`<CODE>.<MARKET>` — e.g. `NVDA.US`, `700.HK`, `600519.SH`, `300750.SZ`, `D05.SG`. If the market is ambiguous, ask the user.

## CLI

> If you're unsure of exact flag names or defaults, run `longbridge <subcommand> --help` first.

```bash
# Analyst consensus (target price, EPS estimates, rating distribution)
longbridge consensus <SYMBOL> --format json

# Income statement (revenue, net income, EPS — quarterly)
longbridge financial-report <SYMBOL> --kind IS --format json

# Valuation snapshot (PE / PB / PS / EV-EBITDA)
longbridge valuation <SYMBOL> --format json

# Recent news (latest 10 items)
longbridge news <SYMBOL> --format json

# 60-day daily OHLCV
longbridge kline <SYMBOL> --period day --count 60 --format json
```

## Output

Structure the response as a research brief with these sections:

1. **Company snapshot** — name, market, sector, market cap, current price + 60-day change
2. **Financial highlights** — revenue / net income / EPS (last reported + YoY growth)
3. **Valuation** — PE / PB / PS vs industry median (if available)
4. **Analyst consensus** — avg target price, buy/hold/sell count, implied upside
5. **Price performance** — 60-day return, high/low range
6. **Key news** — top 3–5 items with date and one-line summary
7. **Investment considerations** — balanced bull/bear summary (2–3 points each)

## Error handling

| Situation | Simplified Chinese | Traditional Chinese / English |
|---|---|---|
| `command not found: longbridge` | 回退到 MCP；否则提示用户安装 longbridge-terminal | 回退到 MCP；否則提示安裝 / Fall back to MCP; otherwise prompt to install longbridge-terminal |
| `not logged in` / `unauthorized` | 请运行 `longbridge auth login` | 請運行 `longbridge auth login` / Run `longbridge auth login` |
| Invalid symbol / `param_error` | 请确认股票代码格式，例如 NVDA.US | 請確認股票代碼格式 / Check symbol format e.g. NVDA.US |
| Other stderr | 原样展示错误信息，不重试 | 原樣展示錯誤，不重試 / Surface verbatim, no silent retry |

## Related skills

| User asks | Route to |
|---|---|
| Price only | `longbridge-quote` |
| Valuation percentile history | `longbridge-valuation` |
| Peer comparison | `longbridge-peer-comparison` |
| News only | `longbridge-news` |
| Earnings-focused analysis | `longbridge-fundamental` |
| Post-earnings update report | `longbridge-earnings` |
| Pre-earnings preview | `longbridge-earnings-preview` |

## File layout

```
longbridge-stock-research/
└── SKILL.md
```

Prompt-only — no `scripts/`. Discover the latest CLI flags via `longbridge <subcommand> --help`.
