v1.0.0 to v1.0.0

41 added, 39 removed. Audit A to A.

---
name: stock-fund-flow
description: >
- 查询 A 股行业板块和概念板块的资金流向,包括主力净流入/流出排名。
- 使用东方财富数据中心,通过页面数据组件直接获取完整 JSON 数据。
- 当用户说"板块资金"、"资金流向"、"主力净流入"、"板块排行"时触发。
+ Query capital flows for A-share industry sectors and concept sectors, including rankings of main-force net inflows/outflows.
+ Use the East Money Data Center to directly retrieve complete JSON data from the page data component.
+ Trigger this skill when the user says "sector funds," "fund flows," "main-force net inflow," or "sector rankings."
version: 1.0.0
---
- # A 股板块资金流向查询
+ # A-Share Sector Fund Flow Query
- ## 数据源
+ ## Data Sources
- | 类型 | 页面 |
+ | Type | Page |
|------|------|
- | 行业板块 | https://data.eastmoney.com/bkzj/hy.html |
- | 概念板块 | https://data.eastmoney.com/bkzj/gn.html |
+ | Industry sectors | https://data.eastmoney.com/bkzj/hy.html |
+ | Concept sectors | https://data.eastmoney.com/bkzj/gn.html |
- ## 必须执行的步骤
+ ## Required Steps
- ### 1. 切换桌面版 UA
+ ### 1. Switch to the desktop UA
browser_use set_user_agent desktop_chrome
- 手机版只显示前 20 名且无搜索功能,必须桌面版 UA
+ The mobile version only shows the top 20 entries and has no search function, so the desktop UA must be used.
- ### 2. 导航到页面
+ ### 2. Navigate to the page
navigate: https://data.eastmoney.com/bkzj/hy.html
wait_for_dom_stable
- ### 3. 从 dataview 组件获取完整数据
+ ### 3. Retrieve the complete data from the dataview component
- 使用 execute_js 从 jQuery dataview 组件取数据:
+ Use `execute_js` to retrieve data from the jQuery dataview component:
const dv = jQuery('#dataview').data('dataview');
const rows = dv.data;
- ### 4. 数据字段
+ ### 4. Data Fields
- f14: 板块名称
- f2: 板块最新价
- f3: 涨跌幅(%)
- f62: 主力净流入(元)
- f66: 超大单净流入(元)
- f78: 大单净流入(元)
+ f14: Sector name
+ f2: Latest sector price
+ f3: Price change (%)
+ f62: Main-force net inflow (CNY)
+ f66: Extra-large order net inflow (CNY)
+ f78: Large order net inflow (CNY)
- ### 5. 排序和筛选
+ ### 5. Sorting and Filtering
- 按涨跌幅排序: rows.sort((a, b) => b.f3 - a.f3)
- 筛选流入: rows.filter(r => r.f62 > 0)
- 筛选流出: rows.filter(r => r.f62 < 0)
+ Sort by price change: rows.sort((a, b) => b.f3 - a.f3)
+ Filter for inflows: rows.filter(r => r.f62 > 0)
+ Filter for outflows: rows.filter(r => r.f62 < 0)
- ### 6. 数据解读
+ ### 6. Data Interpretation
- 主力净流入 > 0: 大资金买入,板块可能走强
- 大跌 + 主力净流入: 洗盘(有承接)
- 大跌 + 主力净流出: 出货,需警惕
+ Main-force net inflow > 0: Large funds are buying, and the sector may strengthen
+ Sharp decline + main-force net inflow: Shakeout (there is buying support)
+ Sharp decline + main-force net outflow: Distribution, so be cautious
- ## 汇报格式
+ ## Reporting Format
- ### 行业板块资金流入 TOP 5
- | 板块 | 涨跌幅 | 主力净流入 |
+ ### Industry Sector Fund Inflow TOP 5
+
+ | Sector | Price Change | Main-Force Net Inflow |
|------|--------|-----------|
- | 电力 | +2.46% | +55.6亿 |
+ | Electric Power | +2.46% | +5.56 billion |
- ### 行业板块资金流出 TOP 5
- | 板块 | 涨跌幅 | 主力净流入 |
+ ### Industry Sector Fund Outflow TOP 5
+
+ | Sector | Price Change | Main-Force Net Inflow |
|------|--------|-----------|
- ## 注意事项
+ ## Notes
- - 不要用手机版 UA 或 get_readable 读表格
- - 主力净流入 = 超大单 + 大单
- - 行业板块约 128 个,每页 50 条
+ - Do not use the mobile UA or `get_readable` to read the table.
+ - Main-force net inflow = extra-large orders + large orders.
+ - There are approximately 128 industry sectors, with 50 entries per page.