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

4.2 KiB
Raw Permalink Blame History

股票周/月线行情(复权--每日更新)


接口stk_week_month_adj 描述:股票周/月线行情(复权--每日更新) 限量单次最大6000,可使用交易日期循环提取,总量不限制 积分用户需要至少2000积分才可以调取具体请参阅积分获取办法



输入参数

名称 类型 必选 描述
ts_code str N TS代码
trade_date str N 交易日期格式YYYYMMDD每周或每月最后一天的日期
start_date str N 开始交易日期
end_date str N 结束交易日期
freq str Y 频率week周month月


**输出参数**
名称 类型 默认显示 描述
ts_code str Y 股票代码
trade_date str Y 交易日期(每周五或者月末日期)
end_date str Y 计算截至日期
freq str Y 频率(周week,月month)
open float Y (周/月)开盘价
high float Y (周/月)最高价
low float Y (周/月)最低价
close float Y (周/月)收盘价
pre_close float Y 上一(周/月)收盘价【除权价,前复权】
open_qfq float Y 前复权(周/月)开盘价
high_qfq float Y 前复权(周/月)最高价
low_qfq float Y 前复权(周/月)最低价
close_qfq float Y 前复权(周/月)收盘价
open_hfq float Y 后复权(周/月)开盘价
high_hfq float Y 后复权(周/月)最高价
low_hfq float Y 后复权(周/月)最低价
close_hfq float Y 后复权(周/月)收盘价
vol float Y (周/月)成交量
amount float Y (周/月)成交额
change float Y (周/月)涨跌额
pct_chg float Y (周/月)涨跌幅 【基于除权后的昨收计算的涨跌幅:(今收-除权昨收)/除权昨收 】


**接口用法**

pro = ts.pro_api()

df=pro.stk_week_month_adj(ts_code='000001.SZ',freq='week')



数据样例

       ts_code  trade_date  freq   open   high    low  close  pre_close  open_qfq  high_qfq  low_qfq  close_qfq  open_hfq  high_hfq  low_hfq  close_hfq         vol      amount  change  pct_chg
0     000001.SZ   20250117  week  11.25  11.59  11.08  11.45      11.30     11.25     11.59    11.08      11.45   1437.57   1481.02  1415.85    1463.13  4353954.80  4963695.53    0.15     0.01
1     000001.SZ   20250110  week  11.38  11.63  11.22  11.30      11.38     11.38     11.63    11.22      11.30   1454.18   1486.13  1433.74    1443.96  4445402.00  5079074.95   -0.08    -0.01
2     000001.SZ   20250103  week  11.78  11.99  11.36  11.38      11.83     11.78     11.99    11.36      11.38   1505.30   1532.13  1451.63    1454.18  5801491.12  6781578.23   -0.45    -0.04
3     000001.SZ   20241227  week  11.64  12.02  11.64  11.83      11.62     11.64     12.02    11.64      11.83   1487.41   1535.96  1487.41    1511.69  6775611.59  8011303.78    0.21     0.02
4     000001.SZ   20241220  week  11.56  11.74  11.52  11.62      11.56     11.56     11.74    11.52      11.62   1477.18   1500.19  1472.07    1484.85  4036452.70  4689640.57    0.06     0.01
...         ...        ...   ...    ...    ...    ...    ...        ...       ...       ...      ...        ...       ...       ...      ...        ...         ...         ...     ...      ...
1687  000001.SZ   19910503  week  43.90  43.90  43.24  43.24      44.34      0.34      0.48     0.34       0.48     43.90     61.24    43.68      60.93       11.00       48.00   -1.10    -0.02
1688  000001.SZ   19910426  week  45.00  45.00  44.34  44.34      45.46      0.35      0.35     0.35       0.35     45.00     45.00    44.34      44.34       67.00      300.00   -1.12    -0.02
1689  000001.SZ   19910419  week  46.38  46.38  45.69  45.69      47.08      0.36      0.36     0.36       0.36     46.38     46.38    45.69      45.69        9.00       41.00   -1.39    -0.03
1690  000001.SZ   19910412  week  48.04  48.04  47.08  47.08      48.52      0.38      0.38     0.37       0.37     48.04     48.04    47.08      47.08       29.00      138.00   -1.44    -0.03
1691  000001.SZ   19910405  week  48.76  48.76  48.52  48.52      49.00      0.38      0.38     0.38       0.38     48.76     48.76    48.52      48.52        5.00       25.00   -0.48    -0.01