longbridge-capital-flow

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

longbridge-capital-flow

longbridge-capital-flow

Today's capital flow time-series and order-size distribution for a single security.
Response language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
单只证券的当日资金流时间序列及订单规模分布。
响应语言:匹配用户输入语言——简体中文/繁体中文/英文。

Subcommands

子命令

A single
capital
command handles both modes — distribution snapshot (default) and time-series (
--flow
). Run
longbridge capital --help
to confirm.
CLI commandReturns
longbridge capital <SYMBOL> --format json
Cross-section snapshot: large / medium / small / super-large order buy & sell amounts.
longbridge capital <SYMBOL> --flow --format json
Today's main-capital net inflow / outflow time series.
Single symbol per call. Today's data only — no historical range.
单个
capital
命令支持两种模式——分布快照(默认)和时间序列(
--flow
)。运行
longbridge capital --help
查看详情。
CLI 命令返回内容
longbridge capital <SYMBOL> --format json
截面快照:超大/大/中/小单的买卖金额。
longbridge capital <SYMBOL> --flow --format json
当日主力资金净流入/流出时间序列。
每次调用仅支持单个标的。仅提供当日数据——无历史区间。

When to use

使用场景

  • "今天 NVDA 主力净流入", "今日資金流"
    capital --flow
  • "看下 TSLA 大单分布", "大單/中單/小單"
    capital
    (default snapshot)
  • "看一下 700 资金面" (combined) → call both (with and without
    --flow
    ) and merge
  • "过去 30 天资金流" → unsupported; redirect to
    longbridge-kline
    (volume) or
    longbridge-quote
    (
    --index volume
    )
  • "今天哪些股票主力大幅流入" (screener) → unsupported; ask user for a specific symbol
  • "今天 NVDA 主力净流入", "今日資金流"
    capital --flow
  • "看下 TSLA 大单分布", "大單/中單/小單"
    capital
    (默认快照模式)
  • "看一下 700 资金面"(组合查询)→ 同时调用两种模式(带和不带
    --flow
    )并合并结果
  • "过去 30 天资金流" → 不支持;引导至
    longbridge-kline
    (成交量)或
    longbridge-quote
    --index volume
    参数)
  • "今天哪些股票主力大幅流入"(筛选器)→ 不支持;请用户提供具体标的代码

Workflow

工作流程

  1. Resolve a single symbol to
    <CODE>.<MARKET>
    .
  2. Decide which mode: distribution snapshot (default), time-series (
    --flow
    ), or both.
  3. Call the Longbridge CLI directly (preferred) or fall back to MCP.
  4. Summarise: net inflow direction (▲ / ▼), accumulated total, distribution skew. Cite Longbridge Securities.
  1. 将单个标的解析为
    <CODE>.<MARKET>
    格式。
  2. 确定使用模式:分布快照(默认)、时间序列(
    --flow
    )或两者结合。
  3. 直接调用Longbridge CLI(优先选择),或 fallback 至MCP。
  4. 总结内容:净流入方向(▲ / ▼)、累计总额、分布偏差。注明数据来源为Longbridge Securities。

CLI

CLI 示例

bash
longbridge capital NVDA.US                  --format json     # snapshot
longbridge capital TSLA.US --flow           --format json     # time series
bash
longbridge capital NVDA.US                  --format json     # 快照模式
longbridge capital TSLA.US --flow           --format json     # 时间序列模式

Combined view → call both and merge in the LLM

组合视图 → 调用两种模式并在LLM中合并结果

undefined
undefined

Output

输出格式

The default snapshot returns a cross-section object;
--flow
returns a time-series array.
Field translations (LLM should map):
Field (likely)简体繁體English
large_in / large_out
大单流入/流出大單流入/流出Large order in/out
medium_in / medium_out
中单流入/流出中單流入/流出Medium order in/out
small_in / small_out
小单流入/流出小單流入/流出Small order in/out
super_in / super_out
超大单流入/流出超大單流入/流出Super-large order in/out
(Field names follow Longbridge JSON; LLM maps to the user's language.)
默认快照模式返回截面数据对象;
--flow
模式返回时间序列数组。
字段翻译(LLM需进行映射):
字段(预期)简体繁體English
large_in / large_out
大单流入/流出大單流入/流出Large order in/out
medium_in / medium_out
中单流入/流出中單流入/流出Medium order in/out
small_in / small_out
小单流入/流出小單流入/流出Small order in/out
super_in / super_out
超大单流入/流出超大單流入/流出Super-large order in/out
(字段名称遵循Longbridge JSON格式;LLM需根据用户语言进行映射。)

Error handling

错误处理

If
longbridge
is missing, fall back to MCP. Other stderr messages get relayed verbatim (auth issues →
longbridge auth login
; invalid symbol → re-check format).
若未安装
longbridge
,则fallback至MCP。其他标准错误信息将原样转发(如认证问题→执行
longbridge auth login
;标的代码无效→请重新检查格式)。

MCP fallback

MCP 备选方案

CLI usageMCP tool
capital <SYMBOL>
(snapshot)
mcp__longbridge__capital_distribution
capital <SYMBOL> --flow
(time series)
mcp__longbridge__capital_flow
CLI 用法MCP 工具
capital <SYMBOL>
(快照模式)
mcp__longbridge__capital_distribution
capital <SYMBOL> --flow
(时间序列模式)
mcp__longbridge__capital_flow

Related skills

相关技能

  • Quote / change / volume →
    longbridge-quote
  • Candlesticks / volume history →
    longbridge-kline
  • Orderbook microstructure →
    longbridge-depth
  • 报价/涨跌幅/成交量 →
    longbridge-quote
  • K线/成交量历史 →
    longbridge-kline
  • 订单簿微观结构 →
    longbridge-depth

File layout

文件结构

longbridge-capital-flow/
└── SKILL.md          # prompt-only, no scripts/
longbridge-capital-flow/
└── SKILL.md          # 仅包含提示词,无scripts目录