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

70 lines
2.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 每日筹码及胜率
----
接口cyq_perf
描述获取A股每日筹码平均成本和胜率情况每天18~19点左右更新数据从2018年开始
来源Tushare社区
限量单次最大5000条可以分页或者循环提取
积分5000积分每天20000次10000积分每天200000次15000积分每天不限总量
<br>
<br>
**输入参数**
名称 | 类型 | 必选 | 描述
---- | ----- | ---- | ----
ts_code | str | Y | 股票代码
trade_date | str | N | 交易日期YYYYMMDD
start_date | str | N | 开始日期
end_date | str | N | 结束日期
<br>
<br>
**输出参数**
名称 | 类型 | 默认显示 | 描述
--- | ---- | ---- | ----
ts_code | str | Y | 股票代码
trade_date | str | Y | 交易日期
his_low | float | Y | 历史最低价
his_high | float | Y | 历史最高价
cost_5pct | float | Y | 5分位成本
cost_15pct | float | Y | 15分位成本
cost_50pct | float | Y | 50分位成本
cost_85pct | float | Y | 85分位成本
cost_95pct | float | Y | 95分位成本
weight_avg | float | Y | 加权平均成本
winner_rate | float | Y | 胜率
<br>
<br>
**接口用法**
```python
pro = ts.pro_api()
df = pro.cyq_perf(ts_code='600000.SH', start_date='20220101', end_date='20220429')
```
<br>
<br>
**数据样例**
ts_code trade_date his_low his_high cost_5pct cost_95pct weight_avg winner_rate
0 600000.SH 20220429 0.72 12.16 8.18 11.34 9.76 3.52
1 600000.SH 20220428 0.72 12.16 8.24 11.34 9.76 3.08
2 600000.SH 20220427 0.72 12.16 8.30 11.34 9.76 1.71
3 600000.SH 20220426 0.72 12.16 8.34 11.34 9.76 2.02
4 600000.SH 20220425 0.72 12.16 8.36 11.34 9.77 1.44
.. ... ... ... ... ... ... ... ...
72 600000.SH 20220110 0.72 12.16 8.60 11.36 9.89 7.62
73 600000.SH 20220107 0.72 12.16 8.60 11.36 9.89 7.59
74 600000.SH 20220106 0.72 12.16 8.60 11.36 9.89 3.92
75 600000.SH 20220105 0.72 12.16 8.60 11.36 9.89 5.65
76 600000.SH 20220104 0.72 12.16 8.60 11.36 9.89 3.93