ashares_capital_flow

Pack: china-stocks · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/ashares_capital_flow for the schema, then POST the same URL with its arguments for the data.

A China A-share stock’s daily main-capital (主力) net inflow history, from Eastmoney.

Tool description as the model sees it

Per-stock daily main-capital net inflow history (主力净流入 / 超大单+大单净流入, often called ‘超大单净流入’ in retail trackers) for a Chinese A-share stock or ETF — one row per trading day with net inflow broken down by order size: 超大单 (super-large/institutional), 大单 (large), 中单 (medium), 小单 (small), plus 主力净流入 (main = 超大单+大单combined) in both CNY amount and as a % of that day’s turnover. Answers ‘主力净流入历史’, ‘超大单净流入’, ‘000768最近20个交易日的主力资金流向’, ‘main capital net inflow history for a China A-share stock’, ‘which days did big money flow into/out of a stock’. A positive net inflow means net buying pressure from that order-size bucket that day, negative means net selling. Source: Eastmoney push2his fflow/daykline (keyless).

Parameters

NameTypeRequiredDescription
codestringyes6-digit A-share or ETF code, e.g. “000768” (中航西飞) or “515050”. sh/sz/bj prefixes accepted but optional.
daysnumbernoHow many of the most recent trading days to return, 1–200 (default 20).

Example call

Arguments

{
  "code": "000768",
  "days": 20
}

curl

curl -X POST https://gateway.pipeworx.io/china-stocks/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ashares_capital_flow","arguments":{"code":"000768","days":20}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('ashares_capital_flow', {
  "code": "000768",
  "days": 20
});

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the china-stocks pack
{
  "mcpServers": {
    "china-stocks": {
      "url": "https://gateway.pipeworx.io/china-stocks/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 8, 2026