longbridge-northbound-flow

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

longbridge-northbound-flow

longbridge-northbound-flow

Stock Connect cross-border capital flow analysis. Identifies northbound (foreign → A-share) and southbound (mainland → HK) net flows, sector biases, and AH-premium arbitrage signals.
Response language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
沪深港通跨境资金流分析。识别北向(外资→A股)和南向(内地→港股)净流量、行业偏好以及AH溢价套利信号。
响应语言:匹配用户输入语言——简体中文/繁体中文/英文。

When to use

使用场景

  • "今天北向资金净买入多少", "northbound net inflow today", "今天北向資金淨買入多少"
  • "外资在加仓哪些板块", "which sectors are foreigners buying"
  • "南向资金今日动向", "southbound flow today"
  • "陆港通套利机会", "AH premium arbitrage signal"
  • "北向连续净流入天数", "consecutive northbound inflow days"
For single-stock capital flow (not cross-border context) route to
longbridge-capital-flow
. For AH premium detail route to
longbridge-ah-premium
.
  • "今天北向资金净买入多少", "northbound net inflow today", "今天北向資金淨買入多少"
  • "外资在加仓哪些板块", "which sectors are foreigners buying"
  • "南向资金今日动向", "southbound flow today"
  • "陆港通套利机会", "AH premium arbitrage signal"
  • "北向连续净流入天数", "consecutive northbound inflow days"
若为个股资金流(非跨境场景),请跳转至
longbridge-capital-flow
。若需AH溢价详情,请跳转至
longbridge-ah-premium

Data availability note

数据可用性说明

Longbridge CLI may not expose a dedicated northbound-fund endpoint. Always run
longbridge capital --help
and
longbridge broker-holding --help
first to discover available flags. If a dedicated northbound command is absent:
  1. Use
    longbridge capital <SYMBOL> --flow --format json
    for proxy signals (large-order / institutional net flow as a northbound proxy).
  2. Use
    longbridge ah-premium
    commands for AH arbitrage context.
  3. Inform the user that official daily northbound totals are published by Hong Kong Exchanges (hkex.com.hk) and the Shanghai/Shenzhen Stock Exchanges.
Longbridge CLI可能未提供专门的北向资金端点。请先运行
longbridge capital --help
longbridge broker-holding --help
以查看可用参数。若没有专门的北向资金命令:
  1. 使用
    longbridge capital <SYMBOL> --flow --format json
    获取代理信号(以大额订单/机构净流量作为北向资金代理指标)。
  2. 使用
    longbridge ah-premium
    命令获取AH套利相关信息。
  3. 告知用户官方每日北向资金总额由香港交易所(hkex.com.hk)及沪深交易所发布。

Workflow

工作流程

  1. Check available commands:
    bash
    longbridge capital --help
    longbridge broker-holding --help
  2. If a
    northbound
    or
    stock-connect
    subcommand exists
    , call it directly:
    bash
    longbridge northbound --format json
    longbridge northbound --sector --format json
  3. Otherwise, build a proxy analysis: a. For key dual-listed A+H stocks (e.g.
    601398.SH
    /
    939.HK
    ,
    600519.SH
    ,
    300750.SZ
    ), fetch capital flow:
    bash
    longbridge capital <SYMBOL> --flow --format json
    b. Fetch AH premium for cross-market arbitrage signals:
    bash
    longbridge calc-index <SYMBOL> --format json
    longbridge ah-premium <SYMBOL> --format json
    Run
    longbridge ah-premium --help
    to verify exact flags. c. Fetch today's quote for southbound-relevant HK stocks:
    bash
    longbridge quote <SYMBOL> --format json
  4. Aggregate and interpret:
    • Net inflow direction and magnitude per sector.
    • Consecutive net-buy / net-sell days.
    • Correlation with AH premium compression (northbound buying narrows premium).
  5. Output the flow summary (see Output section). Cite Longbridge Securities and note if official HKEX data is needed for exact totals.
  1. 检查可用命令:
    bash
    longbridge capital --help
    longbridge broker-holding --help
  2. 若存在
    northbound
    stock-connect
    子命令
    ,直接调用:
    bash
    longbridge northbound --format json
    longbridge northbound --sector --format json
  3. 否则,构建代理分析: a. 针对关键A+H两地上市股票(如
    601398.SH
    /
    939.HK
    600519.SH
    300750.SZ
    ),获取资金流数据:
    bash
    longbridge capital <SYMBOL> --flow --format json
    b. 获取AH溢价数据以捕捉跨市场套利信号:
    bash
    longbridge calc-index <SYMBOL> --format json
    longbridge ah-premium <SYMBOL> --format json
    运行
    longbridge ah-premium --help
    确认具体参数。 c. 获取南向相关港股的当日报价:
    bash
    longbridge quote <SYMBOL> --format json
  4. 汇总与解读:
    • 各行业的净流入方向及规模。
    • 连续净买入/净卖出天数。
    • 与AH溢价收窄的相关性(北向资金买入会缩小溢价)。
  5. 输出资金流汇总报告(见输出示例)。注明数据来源为Longbridge Securities,并提示如需精确总额可参考港交所官方数据。

CLI

CLI 命令

bash
undefined
bash
undefined

Discover available flags first

先查看可用参数

longbridge capital --help longbridge broker-holding --help
longbridge capital --help longbridge broker-holding --help

Capital flow proxy for key A-share stocks

获取关键A股的资金流代理数据

longbridge capital 601398.SH --flow --format json longbridge capital 600519.SH --flow --format json
longbridge capital 601398.SH --flow --format json longbridge capital 600519.SH --flow --format json

AH premium (arbitrage reference)

AH溢价(套利参考)

longbridge ah-premium 939.HK --format json
longbridge ah-premium 939.HK --format json

Southbound proxy: HK blue chips

南向代理数据:港股蓝筹

longbridge capital 700.HK --flow --format json longbridge quote 700.HK --format json
undefined
longbridge capital 700.HK --flow --format json longbridge quote 700.HK --format json
undefined

Output

输出示例

Stock Connect Flow Summary — Source: Longbridge Securities
Date: YYYY-MM-DD

[Northbound (foreign → A-share)]
- Proxy net flow (via large-order analysis): ¥ X bn
- Top sectors with net inflow: IT, Consumer Staples, Healthcare
- Key stocks being accumulated: 600519.SH (Maotai), 300750.SZ (CATL)
- Consecutive net-buy days: N (streak signal)

[Southbound (mainland → HK)]
- Proxy net flow: HK$ X bn
- Key HK stocks with strong mainland interest: 700.HK, 9988.HK

[AH Premium signal]
- 939.HK (ICBC) AH premium: +X% → narrowing → northbound buying signal
- Average AH premium trend: compressing / expanding

[Note] Official daily northbound quotas and exact totals: hkex.com.hk → Market Data → Stock Connect

⚠️ 数据仅供参考,不构成投资建议。/ 數據僅供參考,不構成投資建議。/ For reference only. Not investment advice.
沪深港通资金流汇总 — 来源:Longbridge Securities
日期:YYYY-MM-DD

[北向(外资→A股)]
- 代理净流量(基于大额订单分析):¥ X 亿元
- 净流入Top行业:信息技术、必需消费品、医疗健康
- 重点加仓个股:600519.SH(贵州茅台)、300750.SZ(宁德时代)
- 连续净买入天数:N(趋势信号)

[南向(内地→港股)]
- 代理净流量:HK$ X 亿港元
- 内地资金重点关注港股:700.HK、9988.HK

[AH溢价信号]
- 939.HK(工商银行)AH溢价:+X% → 收窄 → 北向资金买入信号
- 平均AH溢价趋势:收窄/扩大

[说明] 官方每日北向额度及精确总额:hkex.com.hk → 市场数据 → 沪深港通

⚠️ 数据仅供参考,不构成投资建议。/ 數據僅供參考,不構成投資建議。/ For reference only. Not investment advice.

Error handling

错误处理

Situation简体繁體English
command not found: longbridge
回退到 MCP;否则告知安装 longbridge-terminal回退到 MCP;否則告知安裝 longbridge-terminalFall back to MCP; otherwise tell user to install longbridge-terminal.
stderr
not logged in
请运行
longbridge auth login
請執行
longbridge auth login
Run
longbridge auth login
.
No dedicated northbound command使用资金流代理分析,并提示用户参考港交所官网获取官方数据使用資金流代理分析,並提示用戶參考港交所官網獲取官方數據Use capital-flow proxy; direct user to hkex.com.hk for official totals.
Other stderr原文显示错误原文顯示錯誤Surface verbatim.
场景简体繁體English
command not found: longbridge
回退到MCP;否则告知用户安装longbridge-terminal回退到MCP;否則告知用戶安裝longbridge-terminalFall back to MCP; otherwise tell user to install longbridge-terminal.
stderr
not logged in
请运行
longbridge auth login
請執行
longbridge auth login
Run
longbridge auth login
.
无专门北向资金命令使用资金流代理分析,并提示用户参考港交所官网获取官方数据使用資金流代理分析,並提示用戶參考港交所官網獲取官方數據Use capital-flow proxy; direct user to hkex.com.hk for official totals.
其他stderr错误原文显示错误原文顯示錯誤Surface verbatim.

MCP fallback

MCP 回退方案

CLI subcommandMCP tool
capital <SYMBOL> --flow
mcp__longbridge__capital_flow
ah-premium <SYMBOL>
mcp__longbridge__calc_indexes
(AH premium index)
quote <SYMBOL>
mcp__longbridge__quote
broker-holding <SYMBOL>
mcp__longbridge__broker_holding
CLI子命令MCP工具
capital <SYMBOL> --flow
mcp__longbridge__capital_flow
ah-premium <SYMBOL>
mcp__longbridge__calc_indexes
(AH溢价指数)
quote <SYMBOL>
mcp__longbridge__quote
broker-holding <SYMBOL>
mcp__longbridge__broker_holding

Related skills

相关技能

  • AH premium detail →
    longbridge-ah-premium
  • Single-stock capital flow →
    longbridge-capital-flow
  • Sector rotation →
    longbridge-sector-rotation
  • HK broker holdings (CCASS) →
    longbridge-flows
  • Real-time quote →
    longbridge-quote
  • AH溢价详情 →
    longbridge-ah-premium
  • 个股资金流 →
    longbridge-capital-flow
  • 行业轮动 →
    longbridge-sector-rotation
  • 港股券商持仓(CCASS) →
    longbridge-flows
  • 实时报价 →
    longbridge-quote

File layout

文件结构

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