akshare
AKShare is an elegant and simple financial data interface library for Python, built for human beings!
1.18.94
3.0M downloads/mo
#2797 most downloaded on PyPI
akfamily/akshare
What this package is like to depend on
Last release today
21 Aug 2026
Release timing varies
gaps range from 8 days to 2 months
Rarely documented
notes for 10 of 219 stable releases
Nothing withdrawn
no release was ever pulled
1 years old
219 releases · first in 2025
149 releases in the last 12 months
see the full history below
Release timeline
219 releases · Apr 2025 to Aug 2026Releases
latest 60 of 219-
1.18.9421 Aug 2026Release notes
Open source →fix(stock_board_concept_hist_em): 优化错误处理与空数据兜底逻辑 (#7406)
* fix(stock_board_concept_hist_em): 优化错误处理与空数据兜底逻辑
- 新增无效概念板块名称与代码校验,抛出明确异常
- 无历史数据时返回带固定列的空 DataFrame
- 更新接口文档、更新日志与版本号至 1.18.94* fix: satisfy ruff format in stock_board_concept_em
Co-authored-by: albertandking <18234520+albertandking@users.noreply.github.com>
* chore(stock): 修正中文标点并简化错误提示代码
将README.md中的半角分号修正为全角中文分号,适配中文排版规范
合并stock_board_concept_em.py中的多行错误提示语句为单行,提升代码可读性---------
Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> -
1.18.9321 Aug 2026Release notes
Open source →fix(fund): 修复fund_money_fund_info_em接口字段不匹配问题 (#7405)
修复东方财富网货币基金历史净值接口因返回体新增字段导致的列长度不匹配问题,改为按字段名映射所需列以保持兼容,同步更新版本号、相关文档与变更日志。
Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>
-
1.18.9218 Aug 2026Release notes
Open source →fix(stock): 更新雪球token并完善接口登录态说明 (#7398)
- 更新stock/cons.py中的内置xq_a_token值
- 优化雪球个股接口的错误提示,明确匿名访问受限需传入有效token
- 补充多市场雪球公司信息接口的登录态依赖文档说明
- 更新项目文档的更新时间与变更日志Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>
-
1.18.9113 Aug 2026Release notes
Open source →docs: 发布1.18.91版本,优化文档解析器与结构 (#7393)
迁移文档Markdown解析器从recommonmark至myst-parser,移除sphinx-markdown-tables与markdown依赖
修正docs目录下文档的标题层级,确保每个页面拥有唯一一级标题且接口支持锚点链接
为dependabot配置依赖分组,避免多个拉取请求同时修改同一文件冲突
新增发布前版本校验脚本,完善CI发布流程
更新版本号并补充对应更新日志到changelog.mdCo-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>
Commits, not release notes
This project publishes no release notes. Between
release-v1.18.90andrelease-v1.18.91there were 1 commits, 1 of them substantive:- docs: 发布1.18.91版本,优化文档解析器与结构 (#7393)
-
1.18.9013 Aug 2026Release notes
Open source →Dev (#7386)
* chore: 更新.gitignore规则并清理废弃设计文档
更新.gitignore中关于临时产物的注释,明确AI辅助流程的中间产物仅本地保留不入库;新增plans/和specs/目录的忽略配置。
* build: 提升最低支持Python版本至3.11
同步更新pyproject.toml配置,调整requires-python版本、Python分类器及ruff目标版本;修复uv.lock中为Python3.9保留的旧版本依赖分支引发的安全告警;新增GitHub Dependabot配置自动跟进uv和GitHub Actions依赖更新;同步更新所有文档中的Python最低版本要求,更新版本号至1.18.89并补充对应更新日志。
* build: 移除qmt/full依赖并自动维护__all__列表
移除pyproject.toml和uv.lock中的qmt/full可选依赖配置,删除akshare/__init__.py中的akqmt导入代码。新增build_registry脚本的逻辑,自动生成并维护公开API的__all__列表,避免from akshare import *导入多余子模块污染用户命名空间,同时更新akshare/__init__.py的__all__为自动生成的完整公开API清单。
* build: 发布v1.18.90,移除akqmt集成并声明__all__
- 为akshare模块声明__all__,修复`from akshare import *`导出额外子模块的问题
- 移除akqmt集成及full、qmt两个附加依赖组,清理相关依赖配置
- 修正README中的Python版本要求、失效的仓库徽章与代码风格描述
- 更新测试用例以适配__all__相关的校验逻辑---------
Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>
Commits, not release notes
This project publishes no release notes. Between
release-v1.18.88andrelease-v1.18.90there were 1 commits, 1 of them substantive:- Dev (#7386)
-
1.18.8813 Aug 2026Release notes
Open source →fix(interface): 修复 fund_portfolio_hold_em 接口 (#7383)
- 升级项目版本至1.18.88,同步更新变更日志与包初始化文件
- 优化stock_hot_xq.py异常处理格式与stock_margin_bse.py列名排版
- 更新pre-commit配置,升级ruff至0.16.2并调整hook命令
- 重构pyproject.toml依赖管理,采用PEP 735依赖分组规范
- 优化GitHub CI工作流,拆分lint与test任务并调整uv配置
- 清理.gitignore,移除对uv.lock的追踪
- 更新文档依赖说明与配置文件Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>
Commits, not release notes
This project publishes no release notes. Between
release-v1.18.87andrelease-v1.18.88there were 1 commits, 1 of them substantive:- fix(interface): 修复 fund_portfolio_hold_em 接口 (#7383)
-
1.18.8713 Aug 2026Release notes
Open source →fix(tools&docs): 统一全库中文标点规范,优化标点检查工具 (#7382)
- 升级版本号至1.18.87
- 修复全库内文档、代码注释与字符串中的半角/全角标点混用问题
- 优化check_punctuation工具,避免误修改纯英文内容的标点
- 更新pre-commit配置与变更日志,完善CI检查流程Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>
Commits, not release notes
This project publishes no release notes. Between
release-v1.18.86andrelease-v1.18.87there were 1 commits, 1 of them substantive:- fix(tools&docs): 统一全库中文标点规范,优化标点检查工具 (#7382)
-
1.18.8613 Aug 2026Release notes
Open source →style: 规范中文标点符号并更新版本至1.18.86 (#7381)
- 升级包版本从1.18.85至1.18.86
- 在变更日志中添加1.18.86版本的更新记录
- 修正所有代码注释、文档字符串以及Markdown文档中的半角冒号为全角冒号(根据pre-commit配置排除变更日志文件)
- 新增pre-commit钩子以强制执行中文标点使用规范Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>
Commits, not release notes
This project publishes no release notes. Between
release-v1.18.85andrelease-v1.18.86there were 1 commits, 1 of them substantive:- style: 规范中文标点符号并更新版本至1.18.86 (#7381)
-
1.18.8513 Aug 2026Release notes
Open source →Dev (#7380)
* docs(spec): 新增接口检索层设计文档
* docs(spec): 修正 baseline 存量为 85 并明确非数据接口排除清单
* docs(plan): 新增接口检索层实施计划
* chore: 忽略 superpowers SDD 本地工作区
* docs(plan): 修正 ruff 范围与集成测试文件拆分
* feat(registry): 新增文档表格解析器
* test(registry): 覆盖 parse_table 的 2/4 列容错分支
* feat(registry): 新增接口条目解析
* docs: 修正接口条目统计为冒号容错后的准确值
* fix(registry): 接口边界冒号容错全角并补充 collect_doc_records 测试
* feat(registry): 新增导出表静态解析
从 akshare/__init__.py 静态解析出接口名到模块路径的映射,显式排除
版本号/pro_api/token 相关/异常类等 11 个非数据接口。* feat(registry): 生成接口元数据产物
* test(registry): 强化确定性测试的回归捕获力
* feat(registry): 新增 --check 门禁与 baseline 棘轮
* test(registry): 覆盖 baseline 陈旧孤儿项的棘轮分支
* feat(registry): 新增运行期数据加载与打分函数
* test(registry): 钉住 category 权重在打分体系中的相对次序
* feat(registry): 新增 search/interface_info/list_categories 接口
* fix(registry): 修正精确名匹配排序并加固检索接口健壮性
* test(registry): 覆盖 interface_info 深拷贝隔离缓存的行为
* feat(registry): 导出检索接口至公开 API
* fix(registry): 将检索层自身 API 排除在数据接口清单之外
* test(registry): 为不变量集成测试补空集守卫
* ci(registry): 新增接口一致性门禁并同步版本文档
* fix(registry): 检索匹配空白归一化并修正精确名判定一致性
* docs(registry): 同步 llms.txt 与延后项清单并校正 changelog 措辞
* docs(registry): 归档空白归一化引入的跨词假匹配延后项
* docs(registry): 新增接口检索文档并同步 README 与快速入门
---------
Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>
Commits, not release notes
This project publishes no release notes. Between
release-v1.18.84andrelease-v1.18.85there were 1 commits, 1 of them substantive:- Dev (#7380)
-
1.18.8410 Aug 2026Release notes
Open source →fix(index): 修复index_all_cni和sw_index_third_cons接口 (#7379)
修复index_all_cni接口因国证指数返回字段新增引发的Length mismatch错误,修复sw_index_third_cons接口因乐咕乐股表头变化及噪声数据导致的解析异常,新增表头清洗逻辑,同步更新版本号与相关文档
Co-authored-by: smartmakeswatch <206515907+smartmakeswatch@users.noreply.github.com>
Commits, not release notes
This project publishes no release notes. Between
release-v1.18.83andrelease-v1.18.84there were 1 commits, 1 of them substantive:- fix(index): 修复index_all_cni和sw_index_third_cons接口 (#7379)
-
1.18.8307 Aug 2026Commits, not release notes
This project publishes no release notes. Between
release-v1.18.82andrelease-v1.18.83there were 1 commits, 1 of them substantive:- fix(基金, 文档): 升级版本至1.18.83并修复多个基金接口故障 (#7375)
-
1.18.8206 Aug 2026Commits, not release notes
This project publishes no release notes. Between
release-v1.18.81andrelease-v1.18.82there were 1 commits, 1 of them substantive:- fix: 修复基金持仓和深交所行业汇总接口及文档 (#7373)
-
1.18.8129 Jul 2026Nothing published for this version
-
1.18.8028 Jul 2026Nothing published for this version
-
1.18.7926 Jul 2026Nothing published for this version
-
1.18.7824 Jul 2026Nothing published for this version
-
1.18.7724 Jul 2026Nothing published for this version
-
1.18.7624 Jul 2026Nothing published for this version
-
1.18.7523 Jul 2026Nothing published for this version
-
1.18.7422 Jul 2026Nothing published for this version
-
1.18.7322 Jul 2026Nothing published for this version
-
1.18.7222 Jul 2026Nothing published for this version
-
1.18.7122 Jul 2026Nothing published for this version
-
1.18.7021 Jul 2026Nothing published for this version
-
1.18.6921 Jul 2026Nothing published for this version
-
1.18.6821 Jul 2026Nothing published for this version
-
1.18.6721 Jul 2026Nothing published for this version
-
1.18.6621 Jul 2026Nothing published for this version
-
1.18.6521 Jul 2026Nothing published for this version
-
1.18.6427 May 2026Nothing published for this version
-
1.18.6320 May 2026Nothing published for this version
-
1.18.6218 May 2026Nothing published for this version
-
1.18.6118 May 2026Nothing published for this version
-
1.18.6002 May 2026Nothing published for this version
-
1.18.5928 Apr 2026Nothing published for this version
-
1.18.5826 Apr 2026Nothing published for this version
-
1.18.5723 Apr 2026Nothing published for this version
-
1.18.5620 Apr 2026Nothing published for this version
-
1.18.5512 Apr 2026Nothing published for this version
-
1.18.5408 Apr 2026Nothing published for this version
-
1.18.5307 Apr 2026Nothing published for this version
-
1.18.5206 Apr 2026Nothing published for this version
-
1.18.5103 Apr 2026Nothing published for this version
-
1.18.5002 Apr 2026Nothing published for this version
-
1.18.4928 Mar 2026Nothing published for this version
-
1.18.4827 Mar 2026Nothing published for this version
-
1.18.4726 Mar 2026Nothing published for this version
-
1.18.4624 Mar 2026Nothing published for this version
-
1.18.4524 Mar 2026Nothing published for this version
-
1.18.4422 Mar 2026Nothing published for this version
-
1.18.4321 Mar 2026Nothing published for this version
-
1.18.4220 Mar 2026Nothing published for this version
-
1.18.4120 Mar 2026Nothing published for this version
-
1.18.4015 Mar 2026Nothing published for this version
-
1.18.3912 Mar 2026Nothing published for this version
-
1.18.3811 Mar 2026Nothing published for this version
-
1.18.3709 Mar 2026Nothing published for this version
-
1.18.3609 Mar 2026Nothing published for this version
-
1.18.3505 Mar 2026Nothing published for this version
-
1.18.3404 Mar 2026Nothing published for this version