agentsclimarketplace

Eastmoney board latest ohlc

Skill FTShare-Lab/FTShare-skills/ftshare-market-data/sub-skills/eastmoney-board-latest-ohlc

查询东财单板块最新 OHLC。当用户需要查询指定东财板块最新 OHLC 行情数据,支持分页,或了解东财单板块最新 OHLC时使用。From its SKILL.md

Install
npx -y skills add FTShare-Lab/FTShare-skills --skill eastmoney-board-latest-ohlc

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

2 things to look at

  • runs commandsInstructs the agent to run 3 commands, including `python <RUN_PY> eastmoney-board-latest-ohlc --board_code BK1024` and 2 more.
  • fetches URLsInstructs the agent to fetch 1 URL, including /api/v1/market/data/eastmoney-board-latest-ohlc.

SKILL.md

3.1 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it

查询东财单板块最新 OHLC

接口说明

项目说明
接口名称查询东财单板块最新 OHLC
外部接口/api/v1/market/data/eastmoney-board-latest-ohlc
请求方式GET
适用场景查询指定东财板块最新 OHLC 行情数据,支持分页

请求参数

参数名类型是否必填描述取值示例备注
board_codestring否板块代码BK1024不传则返回全部板块最新数据
pageint否页码,从 1 开始1默认 1
page_sizeint否每页记录数20默认 50

执行方式

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

# 查询指定板块最新 OHLC
python <RUN_PY> eastmoney-board-latest-ohlc --board_code BK1024

# 查询全部板块最新数据
python <RUN_PY> eastmoney-board-latest-ohlc --page 1 --page_size 20

# 自动翻页获取全量数据
python <RUN_PY> eastmoney-board-latest-ohlc --board_code BK1024 --all

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

响应结构

{
    "items": [
        {
            "board_code": "BK1024",
            "board_name": "绿色电力",
            "market": 90,
            "date": "2026-05-18",
            "open": "1446.8400",
            "close": "1459.3800",
            "high": "1461.6300",
            "low": "1444.9300",
            "volume": 119798642,
            "turnover": "95526017974.0000",
            "amplitude": 1.15,
            "change_rate": 0.33,
            "change": "4.7900",
            "turnover_rate": 2.34
        }
    ],
    "total_pages": 1,
    "total_items": 1
}

顶层字段说明

字段名类型是否可为空说明
itemsArray否当前页 OHLC 数据列表
total_pagesint否总页数
total_itemsint否总记录数

items 元素字段说明(BoardLatestOhlc)

字段名类型是否可为空说明单位
board_codeString否板块代码-
board_nameString否板块名称-
marketint否市场编码-
dateString否交易日期,格式 YYYY-MM-DD-
openString否开盘价-
closeString否收盘价-
highString否最高价-
lowString否最低价-
volumeint否成交量股
turnoverString否成交额元
amplitudefloat否振幅%
change_ratefloat否涨跌幅%
changeString否涨跌额-
turnover_ratefloat否换手率%

注意事项

  • 不传 board_code 时返回全部板块的最新 OHLC 数据
  • 数值型价格和成交额字段对外序列化为字符串
  • 板块代码对行业板块和概念板块通用

What ships with it: 1 file

2.6 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.