[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-2533":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":45,"readmeContent":46,"aiSummary":47,"trendingCount":16,"starSnapshotCount":16,"syncStatus":48,"lastSyncTime":49,"discoverSource":50},2533,"akshare","akfamily\u002Fakshare","akfamily","AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库","https:\u002F\u002Fakshare.akfamily.xyz",null,"Python",20254,3266,249,21,0,26,211,1086,156,45,"MIT License",false,"main",true,[27,5,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],"academic","asset-pricing","bond","currency","data","data-analysis","data-science","datasets","economic-data","economics","finance","finance-api","financial-data","fundamental","futures","option","quant","stock","2026-06-12 02:00:42","**资源分享**：对于想了解更多财经数据与量化投研的小伙伴，推荐一个专注于财经数据和量化研究的知识社区。\n该社区提供相关文档和视频学习资源，汇集了各类财经数据源和量化投研工具的使用经验。\n有兴趣深入学习的朋友可点此[了解更多](https:\u002F\u002Ft.zsxq.com\u002FZCxUG)，也推荐大家关注微信公众号【数据科学实战】。\n\n**重磅推荐**：AKQuant 是一款专为 **量化投研 (Quantitative Research)** 打造的高性能量化回测框架。它以 Rust 铸造极速撮合内核，\n以 Python 链接数据与 AI 生态，旨在为量化投资者提供可靠高效的量化投研解决方案。参见[AKQuant](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakquant)\n\n**工具推荐**：期魔方是一款本地化期货量化分析工具，适合数据分析爱好者使用。无需复杂部署，支持数据分析和机器学习功能，研究功能免费开放。\n如需了解更多信息可访问[期魔方](https:\u002F\u002Fqmfquant.com)。\n\n![AKShare Logo](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare\u002Fblob\u002Fmain\u002Fassets\u002Fimages\u002Fakshare_logo.jpg)\n\n[![PyPI - Python Version](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fpyversions\u002Fakshare.svg)](https:\u002F\u002Fpypi.org\u002Fproject\u002Fakshare\u002F)\n[![PyPI](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002Fakshare.svg)](https:\u002F\u002Fpypi.org\u002Fproject\u002Fakshare\u002F)\n[![PyPI Downloads](https:\u002F\u002Fstatic.pepy.tech\u002Fpersonalized-badge\u002Fakshare?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=downloads)](https:\u002F\u002Fpepy.tech\u002Fprojects\u002Fakshare)\n[![Documentation Status](https:\u002F\u002Freadthedocs.org\u002Fprojects\u002Fakshare\u002Fbadge\u002F?version=latest)](https:\u002F\u002Fakshare.readthedocs.io\u002F?badge=latest)\n[![Ruff](https:\u002F\u002Fimg.shields.io\u002Fendpoint?url=https:\u002F\u002Fraw.githubusercontent.com\u002Fastral-sh\u002Fruff\u002Fmain\u002Fassets\u002Fbadge\u002Fv2.json)](https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fruff)\n[![akshare](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FData%20Science-AKShare-green)](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare)\n[![Actions Status](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare\u002Factions\u002Fworkflows\u002Frelease_and_deploy.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare\u002Factions)\n[![MIT Licence](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue)](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare\u002Fblob\u002Fmain\u002FLICENSE)\n[![](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fforks\u002Fjindaxiang\u002Fakshare)](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare)\n[![](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fjindaxiang\u002Fakshare)](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare)\n[![](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fissues\u002Fjindaxiang\u002Fakshare)](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare)\n[![code style: prettier](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fcode_style-prettier-ff69b4.svg?style=flat-square)](https:\u002F\u002Fgithub.com\u002Fprettier\u002Fprettier)\n\n## Overview\n\n[AKShare](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare) requires Python(64 bit) 3.9 or higher and\naims to simplify the process of fetching financial data.\n\n**Write less, get more!**\n\n- Documentation: [中文文档](https:\u002F\u002Fakshare.akfamily.xyz\u002F)\n\n## Installation\n\n### General\n\n```shell\npip install akshare --upgrade\n```\n\n### China\n\n```shell\npip install akshare -i http:\u002F\u002Fmirrors.aliyun.com\u002Fpypi\u002Fsimple\u002F --trusted-host=mirrors.aliyun.com  --upgrade\n```\n\n### PR\n\nPlease check out [Documentation](https:\u002F\u002Fakshare.akfamily.xyz\u002Fcontributing.html) if you\nwant to contribute to AKShare\n\n### Docker\n\n#### Pull images\n\n```shell\ndocker pull registry.cn-shanghai.aliyuncs.com\u002Fakfamily\u002Faktools:jupyter\n```\n\n#### Run Container\n\n```shell\ndocker run -it registry.cn-shanghai.aliyuncs.com\u002Fakfamily\u002Faktools:jupyter python\n```\n\n#### Test\n\n```python\nimport akshare as ak\n\nprint(ak.__version__)\n```\n\n## Usage\n\n### Data\n\nCode:\n\n```python\nimport akshare as ak\n\nstock_zh_a_hist_df = ak.stock_zh_a_hist(symbol=\"000001\", period=\"daily\", start_date=\"20170301\", end_date='20231022', adjust=\"\")\nprint(stock_zh_a_hist_df)\n```\n\nOutput:\n\n```\n      日期          开盘   收盘    最高  ...  振幅   涨跌幅  涨跌额  换手率\n0     2017-03-01   9.49   9.49   9.55  ...  0.84  0.11  0.01  0.21\n1     2017-03-02   9.51   9.43   9.54  ...  1.26 -0.63 -0.06  0.24\n2     2017-03-03   9.41   9.40   9.43  ...  0.74 -0.32 -0.03  0.20\n3     2017-03-06   9.40   9.45   9.46  ...  0.74  0.53  0.05  0.24\n4     2017-03-07   9.44   9.45   9.46  ...  0.63  0.00  0.00  0.17\n          ...    ...    ...    ...  ...   ...   ...   ...   ...\n1610  2023-10-16  11.00  11.01  11.03  ...  0.73  0.09  0.01  0.26\n1611  2023-10-17  11.01  11.02  11.05  ...  0.82  0.09  0.01  0.25\n1612  2023-10-18  10.99  10.95  11.02  ...  1.00 -0.64 -0.07  0.34\n1613  2023-10-19  10.91  10.60  10.92  ...  3.01 -3.20 -0.35  0.61\n1614  2023-10-20  10.55  10.60  10.67  ...  1.51  0.00  0.00  0.27\n[1615 rows x 11 columns]\n```\n\n### Plot\n\nCode:\n\n```python\nimport akshare as ak\nimport mplfinance as mpf  # Please install mplfinance as follows: pip install mplfinance\n\nstock_us_daily_df = ak.stock_us_daily(symbol=\"AAPL\", adjust=\"qfq\")\nstock_us_daily_df = stock_us_daily_df.set_index([\"date\"])\nstock_us_daily_df = stock_us_daily_df[\"2020-04-01\": \"2020-04-29\"]\nmpf.plot(stock_us_daily_df, type=\"candle\", mav=(3, 6, 9), volume=True, show_nontrading=False)\n```\n\nOutput:\n\n![KLine](https:\u002F\u002Fjfds-1252952517.cos.ap-chengdu.myqcloud.com\u002Fakshare\u002Freadme\u002Fhome\u002FAAPL_candle.png)\n\n## Features\n\n- **Easy of use**: Just one line code to fetch the data;\n- **Extensible**: Easy to customize your own code with other application;\n- **Powerful**: Python ecosystem.\n\n## Tutorials\n\n1. [Overview](https:\u002F\u002Fakshare.akfamily.xyz\u002Fintroduction.html)\n2. [Installation](https:\u002F\u002Fakshare.akfamily.xyz\u002Finstallation.html)\n3. [Tutorial](https:\u002F\u002Fakshare.akfamily.xyz\u002Ftutorial.html)\n4. [Data Dict](https:\u002F\u002Fakshare.akfamily.xyz\u002Fdata\u002Findex.html)\n5. [Subjects](https:\u002F\u002Fakshare.akfamily.xyz\u002Ftopic\u002Findex.html)\n\n## Contribution\n\n[AKShare](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare) is still under developing, feel free to open issues and pull requests:\n\n- Report or fix bugs\n- Require or publish interface\n- Write or fix documentation\n- Add test cases\n\n> Notice: We use [Ruff](https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fruff) to format the code\n\n## Statement\n\n1. All data provided by [AKShare](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare) is just for academic research purpose;\n2. The data provided by [AKShare](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare) is for reference only and does not constitute any investment proposal;\n3. Any investor based on [AKShare](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare) research should pay more attention to data risk;\n4. [AKShare](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare) will insist on providing open-source financial data;\n5. Based on some uncontrollable factors, some data interfaces in [AKShare](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare) may be removed;\n6. Please follow the relevant open-source protocol used by [AKShare](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare);\n7. Provide HTTP API for the person who uses other program language: [AKTools](https:\u002F\u002Faktools.readthedocs.io\u002F).\n\n## Show your style\n\nUse the badge in your project's README.md:\n\n```markdown\n[![Data: akshare](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FData%20Science-AKShare-green)](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare)\n```\n\nUsing the badge in README.rst:\n\n```\n.. image:: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FData%20Science-AKShare-green\n    :target: https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare\n```\n\nLooks like this:\n\n[![Data: akshare](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FData%20Science-AKShare-green)](https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare)\n\n## Citation\n\nPlease use this **bibtex** if you want to cite this repository in your publications:\n\n```markdown\n@misc{akshare,\n    author = {Albert King and Yaojie Zhang},\n    title = {AKShare},\n    year = {2022},\n    publisher = {GitHub},\n    journal = {GitHub repository},\n    howpublished = {\\url{https:\u002F\u002Fgithub.com\u002Fakfamily\u002Fakshare}},\n}\n```\n\n## Acknowledgement\n\nSpecial thanks [FuShare](https:\u002F\u002Fgithub.com\u002FLowinLi\u002Ffushare) for the opportunity of learning from the project;\n\nSpecial thanks [TuShare](https:\u002F\u002Fgithub.com\u002Fwaditu\u002Ftushare) for the opportunity of learning from the project;\n\nThanks for the data provided by [东方财富网站](http:\u002F\u002Fdata.eastmoney.com);\n\nThanks for the data provided by [新浪财经网站](https:\u002F\u002Ffinance.sina.com.cn);\n\nThanks for the data provided by [金十数据网站](https:\u002F\u002Fwww.jin10.com\u002F);\n\nThanks for the data provided by [生意社网站](http:\u002F\u002Fwww.100ppi.com\u002F);\n\nThanks for the data provided by [中国银行间市场交易商协会网站](http:\u002F\u002Fwww.nafmii.org.cn\u002F);\n\nThanks for the data provided by [99期货网站](http:\u002F\u002Fwww.99qh.com\u002F);\n\nThanks for the data provided by [中国外汇交易中心暨全国银行间同业拆借中心网站](http:\u002F\u002Fwww.chinamoney.com.cn\u002Fchinese\u002F);\n\nThanks for the data provided by [和讯财经网站](http:\u002F\u002Fwww.hexun.com\u002F);\n\nThanks for the data provided by [DACHENG-XIU 网站](https:\u002F\u002Fdachxiu.chicagobooth.edu\u002F);\n\nThanks for the data provided by [上海证券交易所网站](http:\u002F\u002Fwww.sse.com.cn\u002Fassortment\u002Foptions\u002Fprice\u002F);\n\nThanks for the data provided by [深证证券交易所网站](http:\u002F\u002Fwww.szse.cn\u002F);\n\nThanks for the data provided by [北京证券交易所网站](http:\u002F\u002Fwww.bse.cn\u002F);\n\nThanks for the data provided by [中国金融期货交易所网站](http:\u002F\u002Fwww.cffex.com.cn\u002F);\n\nThanks for the data provided by [上海期货交易所网站](http:\u002F\u002Fwww.shfe.com.cn\u002F);\n\nThanks for the data provided by [大连商品交易所网站](http:\u002F\u002Fwww.dce.com.cn\u002F);\n\nThanks for the data provided by [郑州商品交易所网站](http:\u002F\u002Fwww.czce.com.cn\u002F);\n\nThanks for the data provided by [上海国际能源交易中心网站](http:\u002F\u002Fwww.ine.com.cn\u002F);\n\nThanks for the data provided by [Timeanddate 网站](https:\u002F\u002Fwww.timeanddate.com\u002F);\n\nThanks for the data provided by [河北省空气质量预报信息发布系统网站](http:\u002F\u002F110.249.223.67\u002Fpublish\u002F);\n\nThanks for the data provided by [Economic Policy Uncertainty 网站](http:\u002F\u002Fwww.nanhua.net\u002Fnhzc\u002Fvarietytrend.html);\n\nThanks for the data provided by [申万指数网站](http:\u002F\u002Fwww.swsindex.com\u002Fidx0120.aspx?columnid=8832);\n\nThanks for the data provided by [真气网网站](https:\u002F\u002Fwww.zq12369.com\u002F);\n\nThanks for the data provided by [财富网站](http:\u002F\u002Fwww.fortunechina.com\u002F);\n\nThanks for the data provided by [中国证券投资基金业协会网站](http:\u002F\u002Fgs.amac.org.cn\u002F);\n\nThanks for the data provided by [Expatistan 网站](https:\u002F\u002Fwww.expatistan.com\u002Fcost-of-living);\n\nThanks for the data provided by [北京市碳排放权电子交易平台网站](https:\u002F\u002Fwww.bjets.com.cn\u002Farticle\u002Fjyxx\u002F);\n\nThanks for the data provided by [国家金融与发展实验室网站](http:\u002F\u002Fwww.nifd.cn\u002F);\n\nThanks for the data provided by [义乌小商品指数网站](http:\u002F\u002Fwww.ywindex.com\u002FHome\u002FProduct\u002Findex\u002F);\n\nThanks for the data provided by [百度迁徙网站](https:\u002F\u002Fqianxi.baidu.com\u002F?from=shoubai#city=0);\n\nThanks for the data provided by [思知网站](https:\u002F\u002Fwww.ownthink.com\u002F);\n\nThanks for the data provided by [Currencyscoop 网站](https:\u002F\u002Fcurrencyscoop.com\u002F);\n\nThanks for the data provided by [新加坡交易所网站](https:\u002F\u002Fwww.sgx.com\u002Fzh-hans\u002Fresearch-education\u002Fderivatives);\n","AKShare 是一个简洁优雅的 Python 财经数据接口库，旨在简化金融数据获取过程。其核心功能包括提供丰富的财经数据源接入，支持股票、债券、期货、期权等多类型金融数据的获取，并且能够与数据科学和机器学习工具无缝集成。项目采用 Python 语言编写，遵循 MIT 开源许可协议，拥有活跃的社区支持和详尽的文档资源。适用于金融分析师、量化研究员以及对财经数据分析感兴趣的开发者，在进行学术研究、资产定价分析或构建量化投资策略时使用。",2,"2026-06-11 02:50:16","top_language"]