hk-connect-flow
Was er macht
Dieser Skill erklärt die Nordwärts- und Südwärts-Kapitalflüsse über Stock Connect zwischen dem chinesischen Festland und Hongkong. Er ist für Anleger gedacht, die die Stimmung am chinesischen Markt verfolgen.
Wann du ihn nutzt
- ✓Wenn du wissen willst, ob ausländische Anleger A-Aktien kaufen oder verkaufen.
- ✓Wenn du prüfst, ob Anleger vom Festland Geld in Hongkonger Aktien verlagern.
- ✓Wenn du sehen willst, welche Sektoren Stock-Connect-Geld anziehen.
Link zum Skill
https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/hk-connect-flow/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Kaufen ausländische Anleger diese Woche chinesische Aktien über Stock Connect?”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Skill verfolgt die täglichen Nettokäufe über die Kanäle Shanghai und Shenzhen und vergleicht sie mit dem täglichen Kontingent jedes Kanals. Große oder stetige Zuflüsse gelten als Zeichen für Stimmung.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen
Was ist der Nordwärts-Fluss?
Nordwärts bedeutet Geld ausländischer Anleger, die über Stock Connect A-Aktien des Festlands kaufen.
Was zeigt der Südwärts-Fluss?
Er zeigt festlandchinesische Anleger, die Hongkonger Aktien kaufen, was auf ihre Vorlieben hindeutet.
Sagt er mir, welche Aktien ich kaufen soll?
Er konzentriert sich auf Gesamtflüsse und Sektortrends, hilft dir also, die Stimmung zu lesen, statt Aktientipps zu geben.
Details
Originalbeschreibung des Autors
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
Beliebtheit
- GitHub-Sterne
- 37k
- Platz im Ranking
- #7525
- Lizenz
- MIT
- Aktualisiert
- 1.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
vibe-trading
37kGibt deinem Agenten ein vollständiges Werkzeugset für Finanzrecherche, mit Backtests, Faktoranalysen, Optionspreisen und Marktdaten aus vielen Märkten.
adr-hshare
37kZeigt deinem Agenten, wie er den Preis eines chinesischen Unternehmens vergleicht, das an mehreren Börsen notiert ist, etwa einer US-ADR und einer Hongkong-Aktie.
akshare
37kLässt deinen Agenten kostenlose Marktdaten für chinesische und globale Aktien, Futures, Devisen und Wirtschaftsindikatoren abrufen, ganz ohne API-Schlüssel.
alpha-zoo
37kLässt deinen Agenten in einer Bibliothek fertiger Aktienfaktoren stöbern und testen, wie gut eine ganze Gruppe davon die Renditen auf einem gewählten Markt vorhersagt.
Ähnliche Skills
gitcrawl
394kLässt deinen Agenten ein gespeichertes Archiv von GitHub-Issues und Pull Requests durchsuchen, Duplikate gruppieren und ihren aktuellen Status auf GitHub prüfen.
slacrawl
394kLässt deinen Agenten Nachrichten in einem lokalen Slack-Archiv durchsuchen und zählen, dessen Aktualität prüfen und es bei Bedarf auffrischen.
goplaces
394kHilft deinem Agenten, mit Google Places nach Orten zu suchen, Details und Bewertungen abzurufen und Ortsnamen aufzulösen, mit JSON-Ausgabe für Skripte.