# Hk Connect Flow

Stock Connect (Shanghai/Shenzhen-Hong Kong) fund flow analysis, Northbound (foreign...

- Repository: https://github.com/HKUDS/Vibe-Trading (37375 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add HKUDS/Vibe-Trading --skill hk-connect-flow -g -a claude-code -y`
Codex: `npx skills add HKUDS/Vibe-Trading --skill hk-connect-flow -g -a codex -y`
Cursor: `npx skills add HKUDS/Vibe-Trading --skill hk-connect-flow -g -a cursor -y`
Gemini CLI: `npx skills add HKUDS/Vibe-Trading --skill hk-connect-flow -g -a gemini-cli -y`

## Description

Stock Connect (Shanghai/Shenzhen-Hong Kong) fund flow analysis, Northbound (foreign into A-shares), Southbound (mainland into HK), sector allocation tracking, and cross-border arbitrage signals.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Stock Connect Fund Flow Analysis

## Overview

Analyze capital flows through the Shanghai-Hong Kong and Shenzhen-Hong Kong Stock Connect programs. Northbound flows (foreign capital into A-shares) are a key institutional sentiment indicator for the China market; Southbound flows (mainland capital into Hong Kong) reveal mainland investor preference for HK-listed assets. Together they provide a real-time cross-border capital positioning signal.

## Core Concepts

### 1. Stock Connect Architecture

| Channel | Direction | What It Measures |
|---------|-----------|------------------|
| Shanghai Connect Northbound | Foreign → A-shares (SSE) | Foreign institutional A-share appetite |
| Shenzhen Connect Northbound | Foreign → A-shares (SZSE) | Foreign institutional A-share appetite (growth bias) |
| Shanghai Connect Southbound | Mainland → HK (HKEX) | Mainland capital HK allocation |
| Shenzhen Connect Southbound | Mainland → HK (HKEX) | Mainland capital HK allocation |

**Daily quota**: Each channel has a daily net buy quota (~RMB 52B / HKD 42B). Quota utilization >50% = strong directional signal.

### 2. Northbound Flow Analysis (Foreign into A-shares)

**Why Northbound matters:**
- Foreign institutions (global funds, sovereign wealth funds, hedge funds) are considered "smart money" in A-shares
- Northbound holdings represent ~4-5% of A-share free-float market cap, small but marginal price-setters
- Northbound flow correlates with MSCI China index rebalancing and global EM allocation decisions

**Northbound signal framework:**

The rest: https://github.com/HKUDS/Vibe-Trading/blob/HEAD/agent/src/skills/hk-connect-flow/SKILL.md
