longbridge-northbound-flow
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineselongbridge-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 . For AH premium detail route to .
longbridge-capital-flowlongbridge-ah-premium- "今天北向资金净买入多少", "northbound net inflow today", "今天北向資金淨買入多少"
- "外资在加仓哪些板块", "which sectors are foreigners buying"
- "南向资金今日动向", "southbound flow today"
- "陆港通套利机会", "AH premium arbitrage signal"
- "北向连续净流入天数", "consecutive northbound inflow days"
若为个股资金流(非跨境场景),请跳转至。若需AH溢价详情,请跳转至。
longbridge-capital-flowlongbridge-ah-premiumData availability note
数据可用性说明
Longbridge CLI may not expose a dedicated northbound-fund endpoint. Always run and first to discover available flags. If a dedicated northbound command is absent:
longbridge capital --helplongbridge broker-holding --help- Use for proxy signals (large-order / institutional net flow as a northbound proxy).
longbridge capital <SYMBOL> --flow --format json - Use commands for AH arbitrage context.
longbridge ah-premium - 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 --helplongbridge broker-holding --help- 使用获取代理信号(以大额订单/机构净流量作为北向资金代理指标)。
longbridge capital <SYMBOL> --flow --format json - 使用命令获取AH套利相关信息。
longbridge ah-premium - 告知用户官方每日北向资金总额由香港交易所(hkex.com.hk)及沪深交易所发布。
Workflow
工作流程
- Check available commands:
bash
longbridge capital --help longbridge broker-holding --help - If a or
northboundsubcommand exists, call it directly:stock-connectbashlongbridge northbound --format json longbridge northbound --sector --format json - Otherwise, build a proxy analysis:
a. For key dual-listed A+H stocks (e.g. /
601398.SH,939.HK,600519.SH), fetch capital flow:300750.SZb. Fetch AH premium for cross-market arbitrage signals:bashlongbridge capital <SYMBOL> --flow --format jsonRunbashlongbridge calc-index <SYMBOL> --format json longbridge ah-premium <SYMBOL> --format jsonto verify exact flags. c. Fetch today's quote for southbound-relevant HK stocks:longbridge ah-premium --helpbashlongbridge quote <SYMBOL> --format json - 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).
- Output the flow summary (see Output section). Cite Longbridge Securities and note if official HKEX data is needed for exact totals.
- 检查可用命令:
bash
longbridge capital --help longbridge broker-holding --help - 若存在或
northbound子命令,直接调用:stock-connectbashlongbridge northbound --format json longbridge northbound --sector --format json - 否则,构建代理分析:
a. 针对关键A+H两地上市股票(如/
601398.SH、939.HK、600519.SH),获取资金流数据:300750.SZb. 获取AH溢价数据以捕捉跨市场套利信号:bashlongbridge capital <SYMBOL> --flow --format json运行bashlongbridge calc-index <SYMBOL> --format json longbridge ah-premium <SYMBOL> --format json确认具体参数。 c. 获取南向相关港股的当日报价:longbridge ah-premium --helpbashlongbridge quote <SYMBOL> --format json - 汇总与解读:
- 各行业的净流入方向及规模。
- 连续净买入/净卖出天数。
- 与AH溢价收窄的相关性(北向资金买入会缩小溢价)。
- 输出资金流汇总报告(见输出示例)。注明数据来源为Longbridge Securities,并提示如需精确总额可参考港交所官方数据。
CLI
CLI 命令
bash
undefinedbash
undefinedDiscover 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
undefinedlongbridge capital 700.HK --flow --format json
longbridge quote 700.HK --format json
undefinedOutput
输出示例
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 |
|---|---|---|---|
| 回退到 MCP;否则告知安装 longbridge-terminal | 回退到 MCP;否則告知安裝 longbridge-terminal | Fall back to MCP; otherwise tell user to install longbridge-terminal. |
stderr | 请运行 | 請執行 | Run |
| No dedicated northbound command | 使用资金流代理分析,并提示用户参考港交所官网获取官方数据 | 使用資金流代理分析,並提示用戶參考港交所官網獲取官方數據 | Use capital-flow proxy; direct user to hkex.com.hk for official totals. |
| Other stderr | 原文显示错误 | 原文顯示錯誤 | Surface verbatim. |
| 场景 | 简体 | 繁體 | English |
|---|---|---|---|
| 回退到MCP;否则告知用户安装longbridge-terminal | 回退到MCP;否則告知用戶安裝longbridge-terminal | Fall back to MCP; otherwise tell user to install longbridge-terminal. |
stderr | 请运行 | 請執行 | Run |
| 无专门北向资金命令 | 使用资金流代理分析,并提示用户参考港交所官网获取官方数据 | 使用資金流代理分析,並提示用戶參考港交所官網獲取官方數據 | Use capital-flow proxy; direct user to hkex.com.hk for official totals. |
| 其他stderr错误 | 原文显示错误 | 原文顯示錯誤 | Surface verbatim. |
MCP fallback
MCP 回退方案
| CLI subcommand | MCP tool |
|---|---|
| |
| |
| |
| |
| CLI子命令 | MCP工具 |
|---|---|
| |
| |
| |
| |
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/目录