Ashares Sector Capital Flow Window
ashares_sector_capital_flow_windowChina A-share INDUSTRY-SECTOR main-capital net inflow summed over the last N trading days (default 5; use 3, 5 or 10), with how many days in a row each sector has had net inflow or outflow. Answers '最近5日行业主力资金净流入排名', '板块连续3日净流入', '连续流入天数', 'which sectors had the most main-capital net inflow over the last 10 trading days', 'sectors with net inflow for 3 days running', 'sector fund flow 5-day ranking'. Per sector: summed main net inflow (主力净流入) and its order-size split (超大单/大单/中单/小单) in CNY, inflow and outflow day counts, the current consecutive inflow or outflow streak, cumulative change %, and the day-by-day net inflow. Rank with sort (summed inflow, streak length, cumulative change, inflow days) and filter one sector with sector (name fragment or board code). Eastmoney industry boards (行业板块), roughly 128 sectors, history from 2021-11; not the Shenwan classification. For a single day use ashares_sector_capital_flow. Source: Eastmoney datacenter (keyless).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"days": 10,
"limit": 3
},
"name": "ashares_sector_capital_flow_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Window length in trading days, 1-20 (default 5; 3, 5 and 10 are the common asks). | |
| sort | No | Rank by summed net inflow (default), current consecutive inflow streak, cumulative change %, or number of inflow days. | |
| limit | No | How many sectors to return, 1-130 (default 20). | |
| order | No | desc (default, largest first) or asc (largest net outflow / shortest streak first). | |
| sector | No | Only sectors whose name contains this text (e.g. "半导体") or whose board code equals it (e.g. "BK1036"). | |
| end_date | No | Last day of the window, YYYY-MM-DD or YYYYMMDD (default: most recent day with published data). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | How the figures are defined | |
| sort | No | Ranking column used | |
| found | No | false only when no data was published in range | |
| order | No | desc or asc | |
| source | No | Publisher and dataset | |
| message | No | Why nothing was found, when found is false | |
| sectors | No | Ranked sectors | |
| end_date | No | Last trading day in the window, YYYY-MM-DD | |
| returned | No | Sectors returned | |
| data_as_of | No | Same as end_date | |
| window_note | No | Set when the window is shorter than requested | |
| total_sectors | No | Sectors with data in the window before the limit | |
| requested_days | No | Window length asked for | |
| dates_oldest_first | No | Trading dates in the window, oldest first | |
| window_trading_days | No | Trading days actually covered by the window |