Skip to content
Back to skills

Stock Unlock

ASecurity

按证券代码查询限售解禁批次及股东明细,或按解禁日期范围查询全市场批次,批次维度分页。接口:GET /api/v1/market/data/unlock/stock_unlock。

  • 65 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 20, 2026
ai-agentspythonbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add FTShare-Lab/FTShare-skill --skill stock-unlock --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Stock Unlock?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Stock Unlock
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ftshare-lab-stock-unlock/badge)](https://www.skillsdirectory.com/skills/ftshare-lab-stock-unlock)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: stock-unlock
description: "按证券代码查询限售解禁批次及股东明细,或按解禁日期范围查询全市场批次,批次维度分页。接口:GET /api/v1/market/data/unlock/stock_unlock。"
---

# 限售解禁

接口:GET `/api/v1/market/data/unlock/stock_unlock`。参数和响应以 [《限售解禁》](https://market.ft.tech/gateway/doc/pages/a3qlyxpp.md) 为准。

请求必须从环境变量 `FTSHARE_API_KEY` 读取凭据,并通过请求头发送 `FTSHARE_API_KEY` 和 `Content-Type: application/json`;缺少凭据时不会发起请求。

## 参数

| 参数 | 必填 | 说明 |
|---|---|---|
| `--stock-code` | 否 | 证券代码;与日期范围互斥 |
| `--start-date` | 否 | 解禁日期起始值;需与 `end_date` 同时传入 |
| `--end-date` | 否 | 解禁日期结束值;需与 `start_date` 同时传入 |
| `--page` | 否 | 页码,默认 1 |
| `--page_size` | 否 | 每页条数,默认 50,最大 200 |

## 返回

- 记录容器:`data.records`
- 分页字段:`pageNum`、`pageSize`、`total`、`pages`
- 记录字段:`stockCode`、`stockName`、`unlockDate`、`holderCount`、`ableFreeShares`、`currentFreeShares`、`nonFreeShares`、`liftMarketCap`、`totalRatio`、`freeRatio`、`newPrice`、`freeSharesType`、`b20Adjchrate`、`a20Adjchrate`、`crawlDate`、`source`、`holders`、`holderName` …共 24 个

## 调用示例

查询条件二选一:传 `--stock-code`,或同时传 `--start-date` 与 `--end-date`;两种模式不能混用。

按证券代码查询单票解禁批次:

```bash
python <RUN_PY> stock-unlock --stock-code 000001 --page 1 --page_size 10
```

按解禁日期区间查询全市场解禁日历:

```bash
python <RUN_PY> stock-unlock --start-date 20260901 --end-date 20260930 --page 1 --page_size 100
```

Files in this skill

  • SKILL.md611 B
  • scripts/handler.py5.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.