Skip to content
Back to skills

Stock Dividends

ASecurity

获取 A 股分红记录(派息、送股、转增)分页视图;可按标的和公告日期范围筛选。接口:GET /api/v1/market/data/stock-dividends。

  • 65 stars
  • 0 votes
  • 0 copies
  • 1 view
  • 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-dividends --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Stock Dividends?

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

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

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-dividends
description: "获取 A 股分红记录(派息、送股、转增)分页视图;可按标的和公告日期范围筛选。接口:GET /api/v1/market/data/stock-dividends。"
---

# 股票分红记录

接口:GET `/api/v1/market/data/stock-dividends`。参数和响应以 [《股票分红记录》](https://market.ft.tech/gateway/doc/pages/0fxhla7v.md) 为准。

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

## 参数

| 参数 | 必填 | 说明 |
|---|---|---|
| `--symbol` | 否 | 标的代码,支持带交易所后缀的股票代码 |
| `--since_date` | 否 | 开始公告日期,格式 `YYYY-MM-DD`;与 `until_date` 成对传入 |
| `--until_date` | 否 | 结束公告日期,格式 `YYYY-MM-DD`;与 `since_date` 成对传入且不得早于开始日期 |
| `--page` | 否 | 页码,从 1 开始,默认 1 |
| `--page_size` | 否 | 每页数量,默认 50,最大 200 |

## 返回

- 记录容器:`data.records`
- 分页字段:`pageNum`、`pageSize`、`total`、`pages`
- 记录字段:`symbol`、`ann_date`、`reporting_period`、`cash_dividend_ratio`、`bonus_issue_ratio`、`bonus_issue_from_capital_reserves_ratio`、`ex_dividend_date`、`ann_url`

## 调用示例

```bash
python <RUN_PY> stock-dividends --symbol 600519.SH --page 1
```

Files in this skill

  • SKILL.md611 B
  • scripts/handler.py4 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.