ashares_sector_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_sector_capital_flow for the schema, then POST the same URL with its arguments for the data.
China A-share industry sectors ranked by main-capital net inflow for a trading day, from Eastmoney.
Tool description as the model sees it
China A-share INDUSTRY-SECTOR net capital inflow ranking (行业资金流向排名/板块资金流) for a trading day — ranks Eastmoney’s ~128 industry boards (行业板块) by main-capital net inflow (主力净流入), with the breakdown by order size (超大单/大单/中单/小单 net inflow in CNY), the day’s change %, and each sector’s single stock with the largest net inflow. Answers ‘今日行业资金流向排名’, ‘which industry sectors had the biggest net capital inflow today’, ‘板块资金流排名’, ‘sector fund flow ranking’, ‘semiconductor sector money flow today’. This is a DIFFERENT metric from china-exchange-data’s ashares_sector_flows, which is SZSE’s own official per-industry TURNOVER ranking — this tool is Eastmoney’s vendor-computed NET INFLOW (主力净流入) classification, the sector-level counterpart to this pack’s own per-stock ashares_capital_flow. A non-trading date (weekend/holiday, or before today’s session has published — publication usually lags a day) walks back automatically to the nearest prior trading day with data. Source: Eastmoney datacenter (keyless).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
date | string | no | Trading day as YYYY-MM-DD or YYYYMMDD (default: most recent day with published data — today’s session often has not published yet). |
limit | number | no | How many sectors to return, 1-130 (default 20). |
sort | string | no | Rank by net inflow amount in CNY (主力净流入, default), net inflow as a % of turnover (净流入占比), or the day’s change % (涨跌幅). |
order | string | no | desc (default, biggest net inflow first) or asc (biggest net outflow first). |
Example call
Arguments
{
"limit": 5
}
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_sector_capital_flow","arguments":{"limit":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ashares_sector_capital_flow', {
"limit": 5
});
More examples
{
"limit": 3,
"sort": "change_pct"
}
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.