hk-connect-flow

Analyze Northbound and Southbound Stock Connect capital flows using Tushare and Yahoo Finance data.

15|2|Updated May 1, 2026
One-click install
npx skills add https://github.com/OpenSucker/OpenSucker --skill hk-connect-flow-opensucker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hk-connect-flow
Source: https://github.com/OpenSucker/OpenSucker/tree/main/skills/vibe_skills/hk-connect-flow
Command: npx skills add https://github.com/OpenSucker/OpenSucker --skill hk-connect-flow-opensucker

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tushare, yfinance, and includes scripts (resource) components.

What problem does it solve?

This Skill provides detailed analysis of Stock Connect capital flows, helping traders and analysts understand cross-border investment movements and investor sentiment.

Core Features & Use Cases

  • Flow Pattern Analysis: Tracks daily and cumulative Northbound and Southbound capital movements between mainland China, Hong Kong, and foreign investors.
  • Sector and Arbitrage Tracking: Monitors sector preferences, AH premium levels, and potential arbitrage signals to inform trading strategies.
  • Use Case: An investor can identify if institutional money is flowing into tech stocks via Southbound or if foreign plans to buy A-shares are strengthening through Northbound signals, guiding deployment decisions.

Quick Start

Analyze recent stock connect data to identify cross-border flow trends and potential market signals for the upcoming week.

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 cross-border stock connect capital flows between China and Hong Kong?

Stock connect arbitrage signals are identified by monitoring AH premium levels and cross-border capital flow patterns. By analyzing Northbound and Southbound sector preferences, you can spot divergences between mainland China and Hong Kong valuations to inform trading strategies.

What is the difference between Northbound and Southbound capital flow in stock connect?

Stock connect capital flow analysis relies on Tushare and Yahoo Finance to fetch real-time cross-border trading data. These dependencies provide the underlying market quotes and flow records required to calculate daily movements, cumulative trends, and AH premium levels.

How do I identify arbitrage opportunities using AH premium data in cross-border trading?

AH premium arbitrage opportunities are identified by monitoring price divergences between A-shares and H-shares using stock connect data. You track AH premium levels alongside Northbound and Southbound capital movements to spot cross-market valuation gaps for potential trading signals.

Can I use Tushare and Yahoo Finance data to track cross-border stock connect sector preferences?

Yes, you can use Tushare and Yahoo Finance to track cross-border stock connect sector preferences. The skill processes data from both sources to monitor how Northbound and Southbound capital flows distribute across different sectors, revealing institutional investor sentiment.

What are the limitations of using stock connect flow analysis for trading decisions?

Stock connect flow analysis limitations include relying on Tushare and Yahoo Finance data availability and latency, which may delay real-time arbitrage signals. It captures capital flow patterns and sector preferences but cannot predict sudden market sentiment shifts or external macroeconomic shocks.