skills/tushare-data-1.0.5/references/数据接口/股票数据/参考数据/股票回购.md
wangyitong a65adcc2e5 Initial commit: merged, deduplicated, and vetted skill collection
Sources: extracted from two upstream archives (skill-repo, skills-main),
merged with the following policy:

- 15 broken symlinks (pointing to /Users/jameslee/.cc-switch/skills or
  ../../.agents/skills on a foreign machine) discarded
- 3 real name collisions with identical content (ai-pair, ifind-http-api,
  zhipu-websearch) kept as one copy
- Functional overlaps deduped keeping the strongest variant:
  - docx family: kept docx (official, full toolchain) + docx-cn
    (GB/T 9704 Chinese official-document constants),
    dropped docx_writer (no scripts, name collided with docx)
  - humanizer family: kept humanizer-zh (6 zh reference docs),
    dropped humanizer (en, redundant for CN workflow)
- Skills that only ran in a foreign environment removed:
  ablemind-ops, app-publish, hlb-design-system, openclaw-adj-skill,
  claude-driver
- alphapai excluded from this public repo because its SKILL.md hard-coded
  live credentials

Result: 25 skills, 572 files, ~7.5 MB.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13 14:47:12 +08:00

2.5 KiB
Raw Blame History

股票回购


接口repurchase 描述:获取上市公司回购股票数据 积分用户需要至少600积分才可以调取具体请参阅积分获取办法

输入参数

名称 类型 必选 描述
ann_date str N 公告日期任意填参数如果都不填单次默认返回2000条
start_date str N 公告开始日期
end_date str N 公告结束日期

以上日期格式为YYYYMMDD比如20181010

输出参数

名称 类型 默认显示 描述
ts_code str Y TS代码
ann_date str Y 公告日期
end_date str Y 截止日期
proc str Y 进度
exp_date str Y 过期日期
vol float Y 回购数量
amount float Y 回购金额
high_limit float Y 回购最高价
low_limit float Y 回购最低价

接口示例


pro = ts.pro_api()

df = pro.repurchase(ann_date='', start_date='20180101', end_date='20180510')

#取某日
df = pro.repurchase(ann_date='20181010')

数据示例

  ts_code  ann_date  end_date    proc  exp_date         vol        amount  \
0   300451.SZ  20181010  20181008      完成      None     51900.0  4.498500e+05   
1   300396.SZ  20181010      None  股东大会通过  20191010         NaN  5.000000e+07   
2   000813.SZ  20181010  20180930      实施      None  15450767.0  1.243010e+08   
3   300451.SZ  20181010  20181008      完成      None      4500.0  3.708000e+04   
4   002334.SZ  20181010  20181009      实施      None   7749553.0  3.826948e+07   
5   600351.SH  20181010  20181010      实施      None   7035198.0  4.999188e+07   
6   002104.SZ  20181010  20180930      实施      None    569100.0  3.584390e+06   
7   603017.SH  20181010  20181009      实施      None   4418358.0  4.398425e+07   
8   002511.SZ  20181010      None  股东大会通过  20190410         NaN  2.000000e+08   
9   603180.SH  20181010  20181009      实施      None    315700.0  1.817800e+07   
10  002567.SZ  20181010  20180930      实施      None   1743273.0  7.815226e+06 


    high_limit  low_limit  
0       12.350      8.240  
1       21.000        NaN  
2        8.400      7.800  
3        8.240      8.240  
4        6.060      4.370  
5        7.490      6.850  
6        6.352      6.160  
7       10.600      9.080  
8        9.500        NaN  
9       59.860     55.060  
10       4.600      4.370