longbridge-operating
Period-by-period operating and financial KPI breakdown for listed companies — quarterly or annual, sourced from Longbridge Securities.
Response language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
When to use
- "700.HK 分季度财务", "腾讯季度营收趋势", "Tencent quarterly revenue"
- "看一下 2388.HK 各季度利润", "700.HK annual operating data"
- "港股季报数据", "HK stock quarterly financials"
- Not suitable: US-listed (TSLA.US, NVDA.US) or A-share stocks — the
operatingendpoint returns empty for those markets; redirect tolongbridge-fundamentalinstead.
Workflow
- Resolve symbol to
<CODE>.<MARKET>. - Confirm it is an HK-listed stock (
.HK). If not, warn the user that operating data is currently HK-only and suggestlongbridge-fundamentalfor non-HK symbols. - Determine report filter from context: all periods (default), annual (
af), or specific quarters (q1,q2,q3,q4, comma-separated). - Call
longbridge operatingwith--format json. Run--helpfirst if unsure about flags. - Present results as a period table sorted newest-first; highlight YoY and QoQ changes where computable.
CLI
Run longbridge operating --help to verify exact flags before use.
# All reporting periods (default)
longbridge operating 700.HK --format json
# Annual reports only
longbridge operating 700.HK --report af --format json
# Specific quarters
longbridge operating 700.HK --report q1,q3 --format json
# Check available flags
longbridge operating --help
Output
Render as a table sorted newest period first. Include at minimum:
| Period | 简体 | 繁體 | English |
|---|---|---|---|
period | 报告期 | 報告期 | Period |
revenue | 营收 | 營收 | Revenue |
net_income | 净利润 | 淨利潤 | Net income |
eps | 每股收益 | 每股盈利 | EPS |
roe | 净资产收益率 | 股本回報率 | ROE |
gross_margin | 毛利率 | 毛利率 | Gross margin |
Where YoY / QoQ changes are computable from the returned data, add a Δ% column. Cite Longbridge Securities.
HK-only notice (always show when user asks for a non-HK symbol):
简体:
operating命令目前仅支持港股,{SYMBOL} 暂无数据,建议改用longbridge-fundamental。 繁體:operating命令目前僅支援港股,{SYMBOL} 暫無數據,建議改用longbridge-fundamental。 English: Theoperatingcommand currently returns data for HK-listed stocks only. No data for {SYMBOL} — trylongbridge-fundamentalinstead.
Error handling
| Situation | 简体 | 繁體 | English |
|---|---|---|---|
command not found: longbridge | 退回 MCP;如未配置,提示安装 longbridge-terminal | 退回 MCP;如未設定,提示安裝 longbridge-terminal | Fall back to MCP; if unavailable, ask user to install longbridge-terminal |
| Empty result (non-HK symbol) | 见 HK-only notice | 見 HK-only notice | See HK-only notice above |
not logged in | 请运行 longbridge auth login | 請執行 longbridge auth login | Run longbridge auth login |
| Other stderr | 原文转达 | 原文轉達 | Relay verbatim |
MCP fallback
If longbridge CLI is not installed, use:
When the CLI is unavailable, fall back to the MCP server. Discover available tools from the MCP server's tool list at runtime — do not rely on hardcoded tool names.
Related skills
- Snapshot KPIs (revenue / EPS / margins) →
longbridge-fundamental - Analyst consensus estimates →
longbridge-consensus - Earnings calendar →
longbridge-calendar
File layout
longbridge-operating/
└── SKILL.md # prompt-only, no scripts/