hk-connect-flow

Analyze Stock Connect capital flows and AH premium indices for market signals.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tushare, yfinance.

What problem does it solve?

This skill addresses the complexity of tracking institutional capital movements between mainland China and Hong Kong markets, which are critical indicators for A-share and H-share performance.

Core Features & Use Cases

  • Capital Flow Monitoring: Tracks Northbound (foreign) and Southbound (mainland) capital flows to identify institutional sentiment.
  • Market Signal Analysis: Calculates AH premium indices and sector allocation shifts to provide actionable cross-border arbitrage signals.
  • Use Case: Use this skill to determine if foreign institutional investors are accumulating or distributing A-shares, helping you time your market entry or exit based on smart money trends.

Quick Start

Use the hk-connect-flow skill to analyze the latest Northbound and Southbound capital flow data and provide a composite market signal.

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?

By tracking northbound and southbound capital flows, you can identify institutional sentiment and cross-border arbitrage signals. This skill calculates net buy trends and sector allocation shifts using Tushare and yfinance data to evaluate foreign and mainland capital movements.

What is the AH premium index and how does it signal cross-border arbitrage?

The AH premium index measures the price disparity between A-shares and H-shares to signal cross-border arbitrage opportunities. This skill calculates these indices alongside capital flow trends to forecast market direction and support investment timing decisions.

Can I use Tushare and yfinance data to monitor institutional sentiment in A-shares?

Yes, you can monitor institutional sentiment by integrating Tushare and yfinance data. This skill combines both sources to build a multi-dimensional scoring framework that determines if foreign investors are accumulating or distributing A-shares.

How do I forecast A-share and H-share market direction based on smart money trends?

To forecast A-share and H-share market direction, evaluate northbound net buy trends and AH premium indices to track smart money. This skill analyzes cross-border capital movements to time market entry or exit based on institutional accumulation patterns.

Does this skill provide a step-by-step analysis of Shanghai-Hong Kong Stock Connect data?

This skill analyzes Shanghai-Hong Kong Stock Connect data by evaluating net buy trends, sector allocation shifts, and AH premium indices. It synthesizes these metrics into a comprehensive multi-dimensional scoring framework to guide investment decisions.