查询大宗交易列表

SkillDev tools

Query the block trade list. Use when the user needs A-share block trade records, including buying/selling branch offices, transaction price, volume, premium rate, etc., or wants to view the block trade list.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the 查询大宗交易列表 skill

What this skill tells your AI

The instructions your AI receives, as published by ftshare-lab/ftshare-skill in ftshare-market-data/sub-skills/block-trades/SKILL.md and read by ahel’s review.

接口说明

项目说明
接口名称查询大宗交易列表
外部接口/api/v1/market/data/block-trades
请求方式GET
适用场景获取 A 股大宗交易记录,包含买卖方营业部、成交价、成交量、溢价率等

请求参数

无需任何参数。

执行方式

通过根目录的 run.py 调用(推荐):

python <RUN_PY> block-trades

<RUN_PY> 为主 SKILL.md 同级的 run.py 绝对路径,参见主 SKILL.md 的「调用方式」说明。

响应结构

返回值为大宗交易记录数组(直接返回数组,非对象包装):

[
    {
        "symbol": "000001.SZ",
        "name": "平安银行",
        "date": "2025-03-10",
        "price": "10.50",
        "close": "10.48",
        "volume": 1000000,
        "premium_rate": 0.19,
        "buyer_name": "某某营业部",
        "seller_name": "某某证券营业部"
    }
]

字段说明(BlockTrade)

字段名类型是否可为空说明单位
symbolString标的代码,带市场后缀-
nameString标的名称-
dateString成交日期,格式 YYYY-MM-DD-
priceNumber成交价
closeNumber收盘价
volumeint成交量
premium_rateNumber溢价率(小数形式,如 0.19 表示 19%)-
buyer_nameString买方营业部名称-
seller_nameString卖方营业部名称-

注意事项

  • 接口直接返回数组,无分页包装结构
  • premium_rate 为小数形式,展示时乘以 100 转为百分比
  • priceclose 在文档中标注为 Number,但部分情况可能以字符串返回,比较前注意类型转换

Signals

GitHub stars
64
Forks
13
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
block-trades
Source
github.com/ftshare-lab/ftshare-skill