查询期货会员持仓排名

SkillCommerce & finance

Query futures member position rankings (variety/contract/direction/member/position volume/position change/net position) for a specified trading date, exchange, contract, and direction. Use when the user mentions "会员持仓排名", "期货会员持仓", "多头排名", "空头排名", or "member position ranking". Filter by exchange/con

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/member-position-ranking/SKILL.md and read by ahel’s review.

接口说明

项目说明
接口名称查询期货会员持仓排名
外部接口GET /api/v2/market/data/member-position-ranking
请求方式GET
适用场景查询指定交易日、交易所、合约及方向的期货会员持仓排名

请求参数

参数名类型是否必填描述取值示例备注
exchangestring交易所代码DCESHFE/DCE/CZCE
instrument_idstring合约代码a2605-
trade_datestring交易日20260721YYYYMMDD 或 YYYY-MM-DD
directionstring查询方向longlongshort,也接受常见中文和缩写别名
pageint页码1默认 1
page_sizeint每页条数50默认 50,最大 200

执行方式

# 查某合约某日多头会员排名
python <RUN_PY> member-position-ranking --exchange DCE --instrument_id a2605 --trade_date 20260721 --direction long
# 查空头排名并翻全量
python <RUN_PY> member-position-ranking --exchange SHFE --instrument_id rb2610 --trade_date 20260721 --direction short --all

<RUN_PY> 为主 SKILL.md 同级的 run.py 绝对路径。

响应结构

返回 code/message/data,记录位于 data.records

{
  "code": 200,
  "message": "success",
  "data": {
    "pageNum": 1, "pageSize": 50, "total": 100, "pages": 2,
    "records": [
      {
        "variety": "a", "code": "a2605", "date": "2026-07-21",
        "direction": "long", "broker": "永安期货",
        "oi": 10000, "oi_chg": 200, "net_position": 5000
      }
    ]
  }
}

records 字段

字段类型说明
varietystring品种名称或代码
codestring合约代码
datestring交易日
directionstring持仓方向
brokerstring期货会员名称
oiint64/null持仓量
oi_chgint64/null持仓量变化
net_positionint64/null净持仓

注意事项

  • exchange/instrument_id/trade_date/direction 四者均为必填。
  • direction 接受 long/short 及常见中文和缩写别名。
  • page_size 最大 200。

Signals

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