hk-connect-flow

Analyze cross-border capital flows between Shanghai, Shenzhen, and Hong Kong exchanges.

Updated Jun 30, 2026
One-click install
npx skills add https://github.com/20YN04/vibe-trading-macos --skill hk-connect-flow-20yn04
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hk-connect-flow
Source: https://github.com/20YN04/vibe-trading-macos/tree/main/agent/src/skills/hk-connect-flow
Command: npx skills add https://github.com/20YN04/vibe-trading-macos --skill hk-connect-flow-20yn04

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tushare, yfinance.

What problem does it solve?

This Skill solves the difficulty of tracking complex cross-border capital movements between mainland China and Hong Kong markets, which are critical indicators for institutional sentiment and market direction.

Core Features & Use Cases

  • Flow Analysis: Monitors Northbound (foreign into A-shares) and Southbound (mainland into HK) capital flows to identify institutional "smart money" trends.
  • Arbitrage & Sentiment: Calculates AH premium indices and sector rotation patterns to uncover cross-market valuation discrepancies.
  • Use Case: Use this tool to determine if foreign capital is accumulating A-shares or if mainland investors are rotating into HK-listed tech platforms, helping you time your market entries.

Quick Start

Analyze the latest Stock Connect fund flow data and provide a composite market signal for the current trading session.

Frequently Asked Questions about hk-connect-flow

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

FAQPage Schema
How do I track cross-border fund flow between Hong Kong and mainland China stock exchanges?

Track cross-border fund flow by analyzing Northbound and Southbound net buy volumes to identify institutional sentiment and market trends. This Skill evaluates daily market data and historical flow metrics between Shanghai, Shenzhen, and Hong Kong exchanges.

Can I use Tushare and yfinance to monitor Stock Connect capital flows?

Yes, Tushare and yfinance are required dependencies to process daily market data and historical flow metrics for Stock Connect. This integration enables the extraction of actionable investment signals from cross-border capital movements.

What is the best way to analyze AH premium indices for cross-market valuation discrepancies?

Analyze AH premium indices by calculating cross-market valuation discrepancies and sector rotation patterns. This approach uncovers arbitrage opportunities and institutional sentiment shifts between mainland A-shares and Hong Kong-listed stocks.

How does Northbound and Southbound capital flow indicate institutional smart money trends?

Northbound flow tracks foreign capital entering A-shares, while Southbound tracks mainland investors entering Hong Kong markets. Monitoring these net buy volumes reveals where institutional smart money is accumulating or rotating.

How do I generate actionable investment signals from Stock Connect sector allocation shifts?

Generate investment signals by evaluating sector allocation shifts alongside Northbound and Southbound net buy volumes and AH premium indices. This composite analysis helps time market entries based on institutional capital movements.

Do I need historical flow metrics to identify cross-border market trends?

Yes, processing historical flow metrics is required to accurately identify institutional sentiment and market direction over time. Daily market data combined with historical trends generates reliable composite investment signals.