본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트37k · #7525

hk-connect-flow

하는 일

이 스킬은 중국 본토와 홍콩 사이 Stock Connect의 북향과 남향 자금 흐름을 설명합니다. 중국 시장 심리를 따라가는 투자자를 위한 스킬입니다.

사용하는 경우

  • ✓외국인 투자자가 중국 A주를 사고 있는지 팔고 있는지 알고 싶을 때.
  • ✓본토 투자자들이 자금을 홍콩 주식으로 옮기고 있는지 확인할 때.
  • ✓어느 업종에 Stock Connect 자금이 몰리는지 보고 싶은 경우.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/hk-connect-flow/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이번 주에 외국인 투자자들이 Stock Connect를 통해 중국 주식을 사고 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 상하이와 선전 채널을 통한 일일 순매수를 추적하고, 이를 각 채널의 일일 한도와 비교합니다. 규모가 크거나 꾸준한 흐름은 심리의 신호로 읽습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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:

# Daily Northbound net buy signals
def northbound_signal(daily_net_buy_rmb_billion):
    if daily_net_buy_rmb_billion > 10:
        return "strong_foreign_buying"    # Very large single-day inflow
    elif daily_net_buy_rmb_billion > 5:
        return "moderate_foreign_buying"
    elif daily_net_buy_rmb_billion > 0:
        return "mild_foreign_buying"
    elif daily_net_buy_rmb_billion > -5:
        return "mild_foreign_selling"
    elif daily_net_buy_rmb_billion > -10:
        return "moderate_foreign_selling"
    else:
        return "strong_foreign_selling"   # Panic outflow

# Cumulative flow trend (more important than single-day)
def northbound_trend(flows_20d, flows_5d):
    cum_20d = sum(flows_20d)
    cum_5d = sum(flows_5d)

    if cum_20d > 30 and cum_5d > 10:
        return "sustained_accumulation"   # Strong bullish for A-shares
    elif cum_20d < -30 and cum_5d < -10:
        return "sustained_distribution"   # Bearish for A-shares
    elif cum_20d > 0 and cum_5d < 0:
        return "accumulation_pausing"     # Watch for reversal
    elif cum_20d < 0 and cum_5d > 0:
        return "distribution_pausing"     # Possible bottom formation

Northbound sector allocation patterns:

Sector Preference Typical Holdings Signal
Consumer staples (Moutai, dairy) 30-35% of holdings Core allocation, low turnover
Financials (banks, insurance) 15-20% Cyclical allocation, rate-sensitive
Technology (semiconductors, software) 10-15% Growth allocation, high turnover
Healthcare (CXO, innovative pharma) 8-12% Structural growth bet
New energy (EV, solar) 5-10% Thematic, high volatility

Sector rotation signal:

  • When Northbound increases consumer staples weight → defensive positioning
  • When Northbound increases tech/new energy weight → risk-on, growth chasing
  • When Northbound reduces across all sectors → broad risk-off, usually FX-driven (CNY weakening)

3. Southbound Flow Analysis (Mainland into HK)

Why Southbound matters:

  • Mainland investors are the marginal buyer for many HK mid/small caps
  • Southbound flows are driven by: AH premium (A vs H discount arbitrage), dividend yield hunting, and tech platform allocation (Tencent, Alibaba, Meituan)
  • Insurance and pension funds increasingly use Southbound for international diversification

Southbound signal framework:

# Southbound focus areas
southbound_targets = {
    "tech_platforms": ["0700.HK", "9988.HK", "3690.HK", "9618.HK"],
    "high_dividend": ["0939.HK", "1398.HK", "0883.HK", "2628.HK"],
    "ah_discount": [],  # Dynamically calculated based on AH premium index
}

def southbound_signal(daily_net_buy_hkd_billion):
    if daily_net_buy_hkd_billion > 5:
        return "strong_mainland_buying"
    elif daily_net_buy_hkd_billion > 2:
        return "moderate_mainland_buying"
    elif daily_net_buy_hkd_billion < -2
자주 묻는 질문

북향 자금이란 무엇인가요?

Stock Connect를 통해 외국인 투자자가 중국 본토 A주를 사는 자금입니다.

남향 흐름은 무엇을 보여 주나요?

본토 투자자들이 홍콩 상장 주식을 사는 흐름을 보여 주며, 그들의 선호를 짐작하게 합니다.

어떤 주식을 사야 하는지 알려 주나요?

전체 흐름과 업종 추세에 초점을 맞추므로, 종목 추천보다는 시장 심리를 읽는 데 도움을 줍니다.

상세 정보

작성자의 원본 설명

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.

repo: HKUDS/Vibe-Trading

인기도

GitHub 스타
37k
순위
#7525
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬