agentsclimarketplace

Block trades

Skill FTShare-Lab/FTShare-skills/ftshare-market-data/sub-skills/block-trades

查询大宗交易列表。当用户需要获取 A 股大宗交易记录,包含买卖方营业部、成交价、成交量、溢价率等,或了解大宗交易列表时使用。From its SKILL.md

Install
npx -y skills add FTShare-Lab/FTShare-skills --skill block-trades

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • runs commandsInstructs the agent to run 1 command, including `python <RUN_PY> block-trades`.

SKILL.md

2.1 KB, 674 tokens by cl100k_base, as published. Nobody here has run it

查询大宗交易列表

接口说明

项目说明
接口名称查询大宗交易列表
外部接口/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,但部分情况可能以字符串返回,比较前注意类型转换

What ships with it: 1 file

1.1 KB alongside SKILL.md, 1 of them executable

scripts/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.