hk-connect-flow

Analyze Stock Connect capital flows with Tushare and yfinance APIs.

Updated Jul 29, 2026
One-click install
npx skills add https://github.com/santoosaraujo/vibe-trading-claude --skill hk-connect-flow-santoosaraujo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hk-connect-flow
Source: https://github.com/santoosaraujo/vibe-trading-claude/tree/main/.claude/skills/hk-connect-flow
Command: npx skills add https://github.com/santoosaraujo/vibe-trading-claude --skill hk-connect-flow-santoosaraujo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tushare, yfinance.

What problem does it solve?

This skill solves the complexity of tracking institutional sentiment and capital positioning between mainland China and Hong Kong markets, which is often opaque and fragmented.

Core Features & Use Cases

  • Flow Monitoring: Tracks Northbound (foreign into A-shares) and Southbound (mainland into HK) capital flows to identify institutional smart money trends.
  • Arbitrage & Sentiment: Analyzes the AH Premium Index and sector allocation patterns to provide actionable signals for cross-border arbitrage and risk-on/risk-off positioning.
  • Use Case: Use this skill to determine if foreign institutional investors are accumulating or distributing A-shares, or to identify if mainland capital is rotating into HK-listed tech platforms for dividend yield.

Quick Start

Use the hk-connect-flow skill to generate a comprehensive cross-border market sentiment report for the current trading 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 Northbound and Southbound capital flows for institutional sentiment?

To analyze cross-border capital flows for institutional sentiment, this skill processes Northbound and Southbound net buy data through Tushare and yfinance APIs to track smart money positioning between mainland China and Hong Kong markets.

What is the AH Premium Index and how does it inform cross-border arbitrage?

The AH Premium Index measures price disparities between mainland A-shares and Hong Kong H-shares. This skill analyzes the index alongside sector allocation patterns to generate actionable signals for cross-border arbitrage and risk positioning.

Do I need Tushare and yfinance APIs to monitor Shanghai-Hong Kong Stock Connect data?

Yes, you need Tushare and yfinance APIs to monitor Shanghai-Hong Kong Stock Connect data. The skill requires integration with these dependencies to process real-time market data and historical flow trends for its cross-border analysis.

How do I generate a weekly cross-border market sentiment report for China markets?

To generate a weekly cross-border market sentiment report for China markets, use this skill to evaluate capital flow trends, AH premium indices, and sector rotation patterns, summarizing institutional accumulation or distribution activities.

Can I detect mainland capital rotating into Hong Kong tech platforms for dividend yield?

Yes, you can detect mainland capital rotating into Hong Kong tech platforms for dividend yield. The skill evaluates Southbound flow data and sector allocation patterns to identify specific institutional cross-market investment strategies.

What are the limitations of using Stock Connect flow data for market sentiment analysis?

A limitation of using Stock Connect flow data for market sentiment analysis is its focus on aggregate institutional positioning. It tracks cross-border net buys and AH premiums but does not provide granular individual stock trading logic or direct market making signals.