longbridge-anomaly
Original:🇺🇸 English
Translated
Market anomaly scanner and price-by-volume distribution via Longbridge Securities — `anomaly` lists unusual price/volume movements across a market (HK / US / CN / SG) or for a specific symbol; `trade-stats` returns a single stock's intraday price-volume profile (where volume sat in the day's range). Read-only. Triggers: "异动", "今天哪些股票异动", "市场异动榜", "成交分布", "价格分布", "筹码分布", "今日筹码", "成交密集区", "盘中异动", "拉升", "跳水", "閃崩", "異動", "今天哪些股票異動", "市場異動榜", "成交分佈", "價格分佈", "籌碼分佈", "今日籌碼", "成交密集區", "盤中異動", "拉昇", "跳水", "anomaly", "unusual movements", "intraday alerts", "volume spike", "price spike", "price by volume", "trade distribution", "volume profile", "VWAP zone", "where the volume sat", "TSLA anomaly", "700.HK anomaly".
9installs
Sourcelongbridge/skills
Added on
NPX Install
npx skill4agent add longbridge/skills longbridge-anomalyTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →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.
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-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. |
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.
CLI
bash
# Market-wide anomaly board
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
# Price-by-volume distribution
longbridge trade-stats 700.HK --format json
longbridge trade-stats AAPL.US --format jsonIf shows newer flags, follow the help output rather than hard-coding here.
--helpOutput
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.
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. |
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.
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/