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.3 KiB
Raw Permalink Blame History

实时涨跌幅排名(爬虫版)


接口realtime_list由于采集和拼接当日以来的成交全历史因此接口提取数据时需要一定时间请耐心等待请将tushare升级到1.3.3版本以上。 描述本接口是tushare org版实时接口的顺延数据来自网络且不进入tushare服务器属于爬虫接口数据包括该股票当日开盘以来的所有分笔成交数据。 权限0积分完全开放但需要有tushare账号如果没有账号请先注册。 说明由于该接口是纯爬虫程序跟tushare服务器无关因此tushare不对数据内容和质量负责。数据主要用于研究和学习使用如做商业目的请自行解决合规问题。



输入参数

名称 类型 必选 描述
src str N 数据源 sina-新浪 dc-东方财富默认dc


东财数据输出参数

名称 类型 描述
ts_code str 股票代码
name str 股票名称
price float 当前价格
pct_change float 涨跌幅
change float 涨跌额
volume int 成交量(单位:手)
amount int 成交金额(元)
swing float 振幅
low float 今日最低价
high float 今日最高价
open float 今日开盘价
close float 今日收盘价
vol_ratio int 量比
turnover_rate float 换手率
pe int 市盈率PE
pb float 市净率PB
total_mv float 总市值(元)
float_mv float 流通市值(元)
rise float 涨速
5min float 5分钟涨幅
60day float 60天涨幅
1tyear float 1年涨幅


新浪数据输出参数

名称 类型 描述
ts_code str 股票代码
name str 股票名称
price float 当前价格
pct_change float 涨跌幅
change float 涨跌额
buy float 买入价
sale float 卖出价
close float 今日收盘价
open float 今日开盘价
high float 今日最高价
low float 今日最低价
volume int 成交量(单位:股)
amount int 成交金额(元)
time str 当前时间


接口用法


import tushare as ts

#东财数据
df = ts.realtime_list(src='dc')


#sina数据
df = ts.realtime_list(src='sina')