longbridge-anomaly
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineselongbridge-anomaly
longbridge-anomaly
Two complementary intraday lenses: market-wide unusual movements () and a single stock's price-by-volume distribution ().
anomalytrade-statsResponse language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
两个互补的日内分析视角:全市场异常变动()和单只股票的量价分布()。
anomalytrade-stats响应语言:匹配用户输入语言——简体中文/繁体中文/英文。
When to use
使用场景
- "今天港股有什么异动", "US anomaly today", "市场异动榜" →
anomaly --market <MKT> - "TSLA 今天有没有异动", "700.HK 异动" →
anomaly --market <MKT> --symbol <SYMBOL> - "AAPL 今日筹码分布", "成交密集区", "price by volume", "volume profile" →
trade-stats <SYMBOL> - "X 拉升的位置在哪", "成交都堆在哪个价位" →
trade-stats
For tick-by-tick trade ribbon → (). For intraday capital flow (large/medium/small orders) → . For market-level mood → .
longbridge-depthtradeslongbridge-capital-flowlongbridge-market-temp- "今天港股有什么异动"、"US anomaly today"、"市场异动榜" →
anomaly --market <MKT> - "TSLA 今天有没有异动"、"700.HK 异动" →
anomaly --market <MKT> --symbol <SYMBOL> - "AAPL 今日筹码分布"、"成交密集区"、"price by volume"、"volume profile" →
trade-stats <SYMBOL> - "X 拉升的位置在哪"、"成交都堆在哪个价位" →
trade-stats
如需逐笔成交数据,请使用 ()。如需日内资金流向(大/中/单),请使用 。如需市场情绪指标,请使用 。
longbridge-depthtradeslongbridge-capital-flowlongbridge-market-tempSubcommands
子命令
Runandlongbridge anomaly --helpif unsure of current flags. The CLI's built-in help is the canonical source.longbridge trade-stats --help
| CLI command | Returns |
|---|---|
| List of unusual movements in that market (default |
| Anomalies filtered to a specific symbol. |
| Intraday price-by-volume distribution for the symbol — bucketed price levels with the volume traded at each. |
若不确定当前可用参数,请运行和longbridge anomaly --help。CLI内置帮助为权威参考来源。longbridge trade-stats --help
| CLI命令 | 返回内容 |
|---|---|
| 该市场的异常变动列表(默认市场为 |
| 筛选特定标的后的异常变动情况。 |
| 该标的的日内量价分布数据——按价格区间划分,显示每个区间的成交量。 |
Workflow
工作流程
- Decide the lens:
- Market scan → . Default to
anomaly --marketif the user does not specify.HK - Single-symbol scan → .
anomaly --market <MKT> --symbol - Volume profile → .
trade-stats <SYMBOL>
- Market scan →
- Resolve symbol → and infer market for
<CODE>.<MARKET>.--market - Call the CLI; render a structured summary (see Output).
- Cite Longbridge Securities and the data timestamp.
- 选择分析视角:
- 全市场扫描 → 。若用户未指定市场,默认使用
anomaly --market。HK - 单标的扫描 → 。
anomaly --market <MKT> --symbol - 量价分布 → 。
trade-stats <SYMBOL>
- 全市场扫描 →
- 解析标的代码为 ,并推断
<CODE>.<MARKET>参数对应的市场。--market - 调用CLI工具;生成结构化摘要(见输出部分)。
- 标注数据来源为Longbridge Securities及数据时间戳。
CLI
CLI示例
bash
undefinedbash
undefinedMarket-wide anomaly board
全市场异动榜
longbridge anomaly --market HK --format json
longbridge anomaly --market US --count 100 --format json
longbridge anomaly --market HK --format json
longbridge anomaly --market US --count 100 --format json
Single-symbol anomaly
单标的异动查询
longbridge anomaly --market US --symbol TSLA.US --format json
longbridge anomaly --market US --symbol TSLA.US --format json
Price-by-volume distribution
量价分布查询
longbridge trade-stats 700.HK --format json
longbridge trade-stats AAPL.US --format json
If `--help` shows newer flags, follow the help output rather than hard-coding here.longbridge trade-stats 700.HK --format json
longbridge trade-stats AAPL.US --format json
若`--help`显示了更新的参数,请以帮助输出为准,而非本文硬编码内容。Output
输出格式
Render in the user's language.
anomalytrade-stats{Symbol} ({code}) intraday price-by-volume — Source: Longbridge Securities
Total volume: V | Total turnover: T | VWAP: P
Top 5 volume buckets (where the volume sat):
- price [a–b]: vol X (Y% of day) ▇▇▇▇▇
- ...
Day high / low: H / L
Most-traded zone: [a–b] (this is the heaviest range, not "support / resistance")Do not call any range "support" or "resistance" — that is interpretive. Stick to "heaviest-traded zone". State the timestamp.
When a result is empty (no anomalies, or no volume data yet), state so explicitly.
以用户使用的语言展示结果。
anomalytrade-stats{标的名称} ({代码}) 日内量价分布 —— 数据来源:Longbridge Securities
总成交量:V | 总成交额:T | VWAP:P
成交量Top5区间(成交量集中区域):
- 价格区间[a–b]:成交量X(占当日总成交量Y%) ▇▇▇▇▇
- ...
当日最高价/最低价:H / L
成交最活跃区间:[a–b] (此为成交量最密集的区间,并非“支撑位/阻力位”)请勿将任何区间称为“支撑位”或“阻力位”——这属于主观解读。请使用“成交最活跃区间”表述。同时标注数据时间戳。
当结果为空(无异动或暂无成交量数据)时,请明确告知用户。
Error handling
错误处理
| Situation | Reply |
|---|---|
Shell | Fall back to MCP if configured; otherwise tell the user to install longbridge-terminal. |
stderr | Hint |
Empty | "No anomalies detected for this market/symbol right now." |
| "No intraday volume data yet — try after the session opens." |
| Symbol mapping fails | Ask for |
| Other stderr | Relay verbatim — never silently retry. |
| 场景 | 回复内容 |
|---|---|
Shell提示 | 若已配置MCP则 fallback 至MCP;否则告知用户安装longbridge-terminal。 |
stderr提示 | 提示用户执行 |
| "当前该市场/标的未检测到异动情况。" |
| "暂无日内成交量数据——请在交易时段开始后重试。" |
| 标的代码解析失败 | 请求用户提供 |
| 其他stderr输出 | 直接转发内容——切勿静默重试。 |
MCP fallback
MCP fallback方案
When the CLI binary is missing, fall back via the equivalent MCP tool. Tool names typically mirror CLI subcommand names (snake_case).
| CLI subcommand | MCP tool |
|---|---|
| |
| |
If a name above does not resolve, fall back via the equivalent MCP tool when CLI is missing.
当CLI二进制文件缺失时,通过等效的MCP工具进行 fallback。工具名称通常与CLI子命令名称一致(蛇形命名法)。
| CLI子命令 | MCP工具 |
|---|---|
| |
| |
若上述名称无法解析,当CLI缺失时仍需通过等效的MCP工具进行 fallback。
Related skills
相关技能
| Skill | Why |
|---|---|
| Live price + change behind the anomaly. |
| Whose money drove the move (large / medium / small orders). |
| Tick-by-tick trades and orderbook microstructure. |
| News / filings that could explain the spike. |
| Watchlist-scoped briefings that aggregate anomalies. |
| 技能 | 用途 |
|---|---|
| 查看异动背后的实时价格及涨跌幅。 |
| 了解推动价格变动的资金类型(大/中/单)。 |
| 查看逐笔成交数据及订单簿微观结构。 |
| 查看可能导致异动的新闻/公告。 |
| 基于自选股的异动汇总简报。 |
File layout
文件结构
longbridge-anomaly/
└── SKILL.md # prompt-only, no scripts/longbridge-anomaly/
└── SKILL.md # 仅包含提示信息,无scripts/目录