hk-connect-flow

Analyze Stock Connect northbound and southbound flows with AH premium signals.

30.4k|4.9k|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/HKUDS/Vibe-Trading --skill hk-connect-flow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hk-connect-flow
Source: https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/hk-connect-flow
Command: npx skills add https://github.com/HKUDS/Vibe-Trading --skill hk-connect-flow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Stock Connect net flows and AH premium signals are scattered across APIs and tables, so this Skill turns quota utilization, foreign northbound buying, and mainland southbound allocations into a clear narrative for A-share vs Hong Kong positioning.

Core Features & Use Cases

  • Northbound and Southbound Signal Frameworks: Translate daily net buy thresholds and 20-day cumulatives into categorical signals (strong/moderate/mild buying or selling) and contextualize them with sector rotation cues.
  • AH Premium & Composite Scoring: Monitor dual-listed price spreads alongside FX direction to compute a -10 to +10 cross-border score that guides risk-on versus risk-off posture and arbitrage bias.
  • Data Integration & Guidance: Pull Tushare moneyflow and HKEX quota data plus yfinance Hang Seng proxies to summarize institutional appetite, and use the narrative to explain implications for sectors, dividends, and thematic tech allocations.

Quick Start

Ask hk-connect-flow to evaluate today’s northbound and southbound flows plus the AH premium composite so you can compare A-share and Hong Kong market outlooks.

Frequently Asked Questions about hk-connect-flow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze northbound and southbound Stock Connect capital flows?

To analyze Stock Connect capital flows, this Skill translates daily net buy thresholds and 20-day cumulative totals into categorical strong, moderate, or mild buying and selling signals. It contextualizes quota utilization data with sector rotation cues for institutional investors.

What is the AH premium indicator and how does it guide cross-border arbitrage?

The AH premium indicator tracks dual-listed price spreads alongside FX direction to compute a -10 to +10 cross-border score. This composite scoring guides your risk-on versus risk-off posture and determines your cross-border arbitrage bias between A-shares and Hong Kong stocks.

How do I calculate a composite cross-border score for A-share and Hong Kong positioning?

You calculate a composite cross-border score by monitoring dual-listed AH premium price spreads and FX direction. The resulting -10 to +10 score guides your risk-on versus risk-off posture and cross-border arbitrage bias for A-share versus Hong Kong market positioning.

Does this Skill require Tushare and HKEX data for capital flow analysis?

Yes, this Skill requires daily Tushare moneyflow and HKEX quota data to perform capital flow analysis. It also integrates yfinance Hang Seng proxies to summarize institutional appetite and explain implications for sectors, dividends, and thematic tech allocations.

Can I use this to monitor institutional appetite for thematic tech allocations?

Yes, you can monitor institutional appetite for thematic tech allocations by pulling Tushare moneyflow and HKEX quota data combined with yfinance Hang Seng proxies. The Skill uses the resulting narrative to explain specific implications for sectors, dividends, and thematic tech allocations.