Finance

Northbound Capital & Money Flow Tracking for A-Shares with an AI Agent

Want to track northbound capital, per-stock institutional money flow and block trades? Let an AI agent chain Stock Connect, stock money flow and block-trade data into one A-share capital-flow report in natural language.

Northbound Capital & Money Flow Tracking for A-Shares with an AI Agent

Tool names in this guide are for reference only and may have changed or been renamed. Please use the latest tools in the tool marketplace when implementing.

Key takeaways

  • Track northbound capital, per-stock flow and block trades in one chain
  • Give the agent a ticker in natural language and it picks the tools and pulls the data
  • Schedule it as a daily job to auto-generate a post-close capital-flow report

Tools used

Why price alone isn't enough

For short-term A-share trading, watching price and volume alone gets you faked out by false breakouts. Price is the result; capital is the driver. What really moves short-term sentiment is who's buying and selling: whether northbound capital was a net inflow or outflow that day, whether a stock's institutional money is accumulating or distributing, and whether any large discounted block trades are quietly changing hands.

The catch is that this data lives in different endpoints with inconsistent definitions. Querying each by hand and stitching the picture together takes so long the session may already be closed by the time you finish. The practical move: let an agent pull all of these capital-flow signals at once, so you only read the conclusion.

The workflow in four steps

  1. Give the agent the ticker and market scope you care about (symbol + which day).
  2. Check northbound capital — Stock Connect net inflow/outflow for the day.
  3. Check the stock's institutional flow — money flow and net institutional amount for your target.
  4. Check block trades — any large turnover, plus discount/premium to close.
  5. The agent rolls it up into a capital-flow report.

With all four aligned, sentiment calls rest on evidence instead of gut feel.

How to do each step

Step 1: Pin down the ticker and date

Tell the agent in natural language: use ae to track today's capital flow for AAPL (the sample uses a neutral symbol; swap in the A-share code you care about). The agent carries "ticker + date" as the query parameters for every later step, so you don't align them by hand.

Step 2: Check northbound capital

Have the agent call a Stock Connect capital tool (such as ae_tushare_moneyflow_hsgt) to pull the day's buy/sell and net amounts for the Shanghai and Shenzhen Connect channels. Overall northbound net inflow often lines up with a stronger bullish mood; a run of net outflows is a caution sign.

Step 3: Check per-stock institutional money flow

Use a stock money-flow tool (such as ae_tushare_moneyflow) to read the target's money flow broken out by order size — net inflow/outflow of large and extra-large orders. A flat price with steady institutional net inflow and a price spike with institutional net outflow mean opposite things.

Step 4: Check block trades

Use a block-trade tool (such as ae_tushare_block_trade) to see whether there were large trades that day and the price's discount or premium to the close. A deeply discounted block is often one signal of capital distribution, worth cross-checking against the first two steps.

Price only vs. adding capital flow

Dimension Price/volume only With capital flow (this workflow)
Source Candlesticks Northbound + stock flow + block trades
Answers Did it rise, was volume high Who's buying/selling, bullish or bearish
Spotting false breakouts Hard Cross-check with flow divergence
Effort Query several places, then stitch One sentence, one chain

How to get started

  1. Sign up — new users get 1,000 free credits.
  2. Connect AgentEarth to your agent — in-app search in WorkBuddy / Trae, or one MCP config line for Claude Code / Cursor / VSCode.
  3. Ask in natural language, e.g. use ae to pull today's northbound, institutional flow and block trades for a ticker and summarize it as a report.

FAQ

Can it get northbound capital? Yes. A Stock Connect capital tool (such as ae_tushare_moneyflow_hsgt) returns the day's net inflow/outflow for the Shanghai and Shenzhen Connect channels.

Can it show per-stock institutional money? Yes. A stock money-flow tool (such as ae_tushare_moneyflow) gives the target's flow by order size and net institutional amount, cross-checked with a block-trade tool (such as ae_tushare_block_trade).

Can it run on a schedule? Yes. Fix the chain as a daily post-close job and the agent pulls the same ticker set automatically, producing that day's capital-flow report so you just read the conclusion.

Browse financial tools · Access guide