akshare


Nameakshare JSON
Version 1.6.84 PyPI version JSON
download
home_pagehttps://github.com/akfamily/akshare
SummaryAKShare is an elegant and simple financial data interface library for Python, built for human beings!
upload_time2022-08-09 07:08:05
maintainer
docs_urlNone
authorAKFamily
requires_python>=3.7
licenseMIT
keywords stock option futures fund bond index air finance spider quant quantitative investment trading algotrading data
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            **《AKShare 源码解析》课程即将上线,可加入【知识星球-数据科学家】学习!应广大小伙伴的需求,特此开设 AKShare 源码解析课程,本课程会系统的给大家手把手讲解 AKShare 数据接口的源码及财经数据的网络数据采集知识![点击链接](https://mp.weixin.qq.com/s?__biz=MzI3MzYwODk2MQ==&mid=2247492193&idx=2&sn=a02b305b57a4b0756d5842494de96011&chksm=eb221a0fdc5593196168927217fc8b5486ab43e479f13cc643096069bb829e4a50067534a0b2&mpshare=1&scene=23&srcid=0316bvNDuCQ9P2E08BgK1Bnt&sharer_sharetime=1647406328931&sharer_shareid=2a5935b93d26c84266d2170040c3643c#rd) 查看课程信息**

**本次发布 [AKTools](https://github.com/akfamily/aktools) 作为 AKShare 的 HTTP API 版本,突破 Python 语言的限制,欢迎各位小伙伴试用并提出更好的意见或建议! 点击 [AKTools](https://github.com/akfamily/aktools) 查看使用指南。另外提供 [awesome-data](https://github.com/akfamily/awesome-data) 方便各位小伙伴查询各种数据源**

![](https://github.com/akfamily/akshare/blob/master/example/images/AKShare_logo.jpg)

[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/akshare.svg)](https://pypi.org/project/akshare/)
[![PyPI](https://img.shields.io/pypi/v/akshare.svg)](https://pypi.org/project/akshare/)
[![Downloads](https://pepy.tech/badge/akshare)](https://pepy.tech/project/akshare)
[![Documentation Status](https://readthedocs.org/projects/akshare/badge/?version=latest)](https://akshare.readthedocs.io/?badge=latest)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![akshare](https://img.shields.io/badge/Data%20Science-AKShare-green)](https://github.com/akfamily/akshare)
[![Actions Status](https://github.com/akfamily/akshare/workflows/build/badge.svg)](https://github.com/akfamily/akshare/actions)
[![MIT Licence](https://camo.githubusercontent.com/14a9abb7e83098f2949f26d2190e04fb1bd52c06/68747470733a2f2f626c61636b2e72656164746865646f63732e696f2f656e2f737461626c652f5f7374617469632f6c6963656e73652e737667)](https://github.com/akfamily/akshare/blob/master/LICENSE)
[![](https://img.shields.io/github/forks/jindaxiang/akshare)](https://github.com/akfamily/akshare)
[![](https://img.shields.io/github/stars/jindaxiang/akshare)](https://github.com/akfamily/akshare)
[![](https://img.shields.io/github/issues/jindaxiang/akshare)](https://github.com/akfamily/akshare)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

## Overview

[AKShare](https://github.com/akfamily/akshare) requires Python(64 bit) 3.7 or greater, aims to make fetch financial data as convenient as possible.

**Write less, get more!**

- Documentation: [中文文档](https://www.akshare.xyz/)

# ![](https://github.com/akfamily/akshare/blob/master/example/images/AKShare.svg)

## Installation

### General

```shell
pip install akshare --upgrade
```

### China

```shell
pip install akshare -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com  --upgrade
```

### PR

Please check out [documentation](https://www.akshare.xyz/zh_CN/latest/contributor.html) if you want to contribute to AKShare

### Docker

#### Pull images

```shell
docker pull registry.cn-hangzhou.aliyuncs.com/akshare/akdocker
```

#### Run AKDocker

```shell
docker run -it registry.cn-hangzhou.aliyuncs.com/akshare/akdocker python
```

#### Test AKDocker

```python
import akshare as ak

ak.__version__
```

## Usage

### Data

Code

```python
import akshare as ak

stock_zh_a_hist_df = ak.stock_zh_a_hist(symbol="000001", period="daily", start_date="20170301", end_date='20210907', adjust="")
print(stock_zh_a_hist_df)
```

Output

```
      日期          开盘   收盘    最高  ...  振幅   涨跌幅 涨跌额 换手率
0     2017-03-01   9.49   9.49   9.55  ...  0.84  0.11  0.01  0.21
1     2017-03-02   9.51   9.43   9.54  ...  1.26 -0.63 -0.06  0.24
2     2017-03-03   9.41   9.40   9.43  ...  0.74 -0.32 -0.03  0.20
3     2017-03-06   9.40   9.45   9.46  ...  0.74  0.53  0.05  0.24
4     2017-03-07   9.44   9.45   9.46  ...  0.63  0.00  0.00  0.17
          ...    ...    ...    ...  ...   ...   ...   ...   ...
1100  2021-09-01  17.48  17.88  17.92  ...  5.11  0.45  0.08  1.19
1101  2021-09-02  18.00  18.40  18.78  ...  5.48  2.91  0.52  1.25
1102  2021-09-03  18.50  18.04  18.50  ...  4.35 -1.96 -0.36  0.72
1103  2021-09-06  17.93  18.45  18.60  ...  4.55  2.27  0.41  0.78
1104  2021-09-07  18.60  19.24  19.56  ...  6.56  4.28  0.79  0.84
[1105 rows x 11 columns]
```

### Plot

Code

```python
import akshare as ak
import mplfinance as mpf  # Please install mplfinance as follows: pip install mplfinance

stock_us_daily_df = ak.stock_us_daily(symbol="AAPL", adjust="qfq")
stock_us_daily_df = stock_us_daily_df[["open", "high", "low", "close", "volume"]]
stock_us_daily_df.columns = ["Open", "High", "Low", "Close", "Volume"]
stock_us_daily_df.index.name = "Date"
stock_us_daily_df = stock_us_daily_df["2020-04-01": "2020-04-29"]
mpf.plot(stock_us_daily_df, type='candle', mav=(3, 6, 9), volume=True, show_nontrading=False)
```

Output

![](https://jfds-1252952517.cos.ap-chengdu.myqcloud.com/akshare/readme/home/AAPL_candle.png)

## Communication

Pay attention to **数据科学家** Official Accounts to get more information about Quant, ML, DS and so on, please visit [数据科学家](https://www.akshare.xyz/introduction.html) for more information:

<div>
    <img src="https://jfds-1252952517.cos.ap-chengdu.myqcloud.com/akshare/readme/qrcode/data_scientist.png">
</div>

Pay attention to **数据科学实战** WeChat Official Accounts to get the [AKShare](https://github.com/akfamily/akshare) updated info:

<div>
    <img src="https://github.com/akfamily/akshare/blob/master/example/images/ds.png">
</div>

Application to add **AKShare-VIP QQ group** and talk about [AKShare](https://github.com/akfamily/akshare) issues, please contact **AKShare-小助手 QQ**: 104181383
![](https://jfds-1252952517.cos.ap-chengdu.myqcloud.com/akshare/readme/qrcode/qr_code_104181383.png)

## Features

- **Easy of use**: Just one line code to fetch the data;
- **Extensible**: Easy to customize your own code with other application;
- **Powerful**: Python ecosystem.

## Tutorials

1. [Overview](https://akshare.readthedocs.io/zh_CN/latest/akshare/ak-introduction.html)
2. [Installation](https://akshare.readthedocs.io/zh_CN/latest/akshare/ak-installation.html)
3. [Tutorial](https://akshare.readthedocs.io/zh_CN/latest/akshare/ak-tutorial.html)
4. [Data Dict](https://akshare.readthedocs.io/zh_CN/latest/README.html)
5. [Subjects](https://akshare.readthedocs.io/zh_CN/latest/subjects/index.html)

## Contribution

[AKShare](https://github.com/akfamily/akshare) is still under developing, feel free to open issues and pull requests:

- Report or fix bugs
- Require or publish interface
- Write or fix documentation
- Add test cases

> Notice: We use [Black](https://black.readthedocs.io/en/stable/) to format the code

## Statement

1. All data provided by [AKShare](https://github.com/akfamily/akshare) is just for academic research purpose;
2. The data provided by [AKShare](https://github.com/akfamily/akshare) is for reference only and does not constitute any investment proposal;
3. Any investor based on [AKShare](https://github.com/akfamily/akshare) research should pay more attention to data risk;
4. [AKShare](https://github.com/akfamily/akshare) will insist on providing open-source financial data;
5. Based on some uncontrollable factors, some data interfaces in [AKShare](https://github.com/akfamily/akshare) may be removed;
6. Please follow the relevant open-source protocol used by [AKShare](https://github.com/akfamily/akshare);
7. Provide HTTP API for the person who uses other program language: [AKTools](https://aktools.readthedocs.io/).

## Show your style

Use the badge in your project's README.md:

```markdown
[![Data: akshare](https://img.shields.io/badge/Data%20Science-AKShare-green)](https://github.com/akfamily/akshare)
```

Using the badge in README.rst:

```
.. image:: https://img.shields.io/badge/Data%20Science-AKShare-green
    :target: https://github.com/akfamily/akshare
```

Looks like this:

[![Data: akshare](https://img.shields.io/badge/Data%20Science-AKShare-green)](https://github.com/akfamily/akshare)

## Citation

Please use this **bibtex** if you want to cite this repository in your publications:

```markdown
@misc{akshare,
    author = {Albert King},
    title = {AKShare},
    year = {2019},
    publisher = {GitHub},
    journal = {GitHub repository},
    howpublished = {\url{https://github.com/akfamily/akshare}},
}
```

## Acknowledgement

Special thanks [FuShare](https://github.com/LowinLi/fushare) for the opportunity of learning from the project;

Special thanks [TuShare](https://github.com/waditu/tushare) for the opportunity of learning from the project;

Thanks for the data provided by [生意社网站](http://www.100ppi.com/);

Thanks for the data provided by [奇货可查网站](https://qhkch.com/);

Thanks for the data provided by [中国银行间市场交易商协会网站](http://www.nafmii.org.cn/);

Thanks for the data provided by [99期货网站](http://www.99qh.com/);

Thanks for the data provided by [英为财情网站](https://cn.investing.com/);

Thanks for the data provided by [中国外汇交易中心暨全国银行间同业拆借中心网站](http://www.chinamoney.com.cn/chinese/);

Thanks for the data provided by [金十数据网站](https://www.jin10.com/);

Thanks for the data provided by [和讯财经网站](http://www.hexun.com/);

Thanks for the data provided by [新浪财经网站](https://finance.sina.com.cn/);

Thanks for the data provided by [Oxford-Man Institute 网站](https://realized.oxford-man.ox.ac.uk/);

Thanks for the data provided by [DACHENG-XIU 网站](https://dachxiu.chicagobooth.edu/);

Thanks for the data provided by [上海证券交易所网站](http://www.sse.com.cn/assortment/options/price/);

Thanks for the data provided by [深证证券交易所网站](http://www.szse.cn/);

Thanks for the data provided by [北京证券交易所网站](http://www.bse.cn/);

Thanks for the data provided by [中国金融期货交易所网站](http://www.cffex.com.cn/);

Thanks for the data provided by [上海期货交易所网站](http://www.shfe.com.cn/);

Thanks for the data provided by [大连商品交易所网站](http://www.dce.com.cn/);

Thanks for the data provided by [郑州商品交易所网站](http://www.czce.com.cn/);

Thanks for the data provided by [上海国际能源交易中心网站](http://www.ine.com.cn/);

Thanks for the data provided by [Timeanddate 网站](https://www.timeanddate.com/);

Thanks for the data provided by [河北省空气质量预报信息发布系统网站](http://110.249.223.67/publish/);

Thanks for the data provided by [南华期货网站](http://www.nanhua.net/nhzc/varietytrend.html);

Thanks for the data provided by [Economic Policy Uncertainty 网站](http://www.nanhua.net/nhzc/varietytrend.html);

Thanks for the data provided by [微博指数网站](https://data.weibo.com/index/newindex);

Thanks for the data provided by [百度指数网站](http://index.baidu.com/v2/main/index.html);

Thanks for the data provided by [谷歌指数网站](https://trends.google.com/trends/?geo=US);

Thanks for the data provided by [申万指数网站](http://www.swsindex.com/idx0120.aspx?columnid=8832);

Thanks for the data provided by [真气网网站](https://www.zq12369.com/);

Thanks for the data provided by [财富网站](http://www.fortunechina.com/);

Thanks for the data provided by [中国证券投资基金业协会网站](http://gs.amac.org.cn/);

Thanks for the data provided by [Expatistan 网站](https://www.expatistan.com/cost-of-living);

Thanks for the data provided by [北京市碳排放权电子交易平台网站](https://www.bjets.com.cn/article/jyxx/);

Thanks for the data provided by [国家金融与发展实验室网站](http://www.nifd.cn/);

Thanks for the data provided by [IT桔子网站](https://www.itjuzi.com);

Thanks for the data provided by [东方财富网站](http://data.eastmoney.com/jgdy/);

Thanks for the data provided by [义乌小商品指数网站](http://www.ywindex.com/Home/Product/index/);

Thanks for the data provided by [中国国家发展和改革委员会网站](http://jgjc.ndrc.gov.cn/dmzs.aspx?clmId=741);

Thanks for the data provided by [163网站](https://news.163.com/special/epidemic/);

Thanks for the data provided by [丁香园网站](http://3g.dxy.cn/newh5/view/pneumonia?scene=2&clicktime=1579615030&enterid=1579615030&from=groupmessage&isappinstalled=0);

Thanks for the data provided by [百度新型肺炎网站](https://voice.baidu.com/act/newpneumonia/newpneumonia/?from=osari_pc_1);

Thanks for the data provided by [百度迁徙网站](https://qianxi.baidu.com/?from=shoubai#city=0);

Thanks for the data provided by [新型肺炎-相同行程查询工具网站](https://rl.inews.qq.com/h5/trip?from=newsapp&ADTAG=tgi.wx.share.message);

Thanks for the data provided by [新型肺炎-小区查询网站](https://ncov.html5.qq.com/community?channelid=1&from=singlemessage&isappinstalled=0);

Thanks for the data provided by [商业特许经营信息管理网站](http://txjy.syggs.mofcom.gov.cn/);

Thanks for the data provided by [慈善中国网站](http://cishan.chinanpo.gov.cn/platform/login.html);

Thanks for the data provided by [思知网站](https://www.ownthink.com/);

Thanks for the data provided by [Currencyscoop 网站](https://currencyscoop.com/);

Thanks for the data provided by [新加坡交易所网站](https://www.sgx.com/zh-hans/research-education/derivatives);

Thanks for the tutorials provided by [微信公众号: Python大咖谈](https://upload-images.jianshu.io/upload_images/3240514-61004f2c71be4a0b.png).

## Backer and Sponsor

<a href="https://www.jetbrains.com/?from=jindaxiang/akshare" target="_blank">
<img src="https://github.com/akfamily/akshare/blob/master/example/images/jetbrains.svg" width="100px" height="100px">
</a>



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/akfamily/akshare",
    "name": "akshare",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "stock,option,futures,fund,bond,index,air,finance,spider,quant,quantitative,investment,trading,algotrading,data",
    "author": "AKFamily",
    "author_email": "akfamily.akshare@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/75/9d/6a04631379afbd66098566bb2c967c71f383c78607f38ea8f4665bd8f3a5/akshare-1.6.84.tar.gz",
    "platform": null,
    "description": "**\u300aAKShare \u6e90\u7801\u89e3\u6790\u300b\u8bfe\u7a0b\u5373\u5c06\u4e0a\u7ebf\uff0c\u53ef\u52a0\u5165\u3010\u77e5\u8bc6\u661f\u7403-\u6570\u636e\u79d1\u5b66\u5bb6\u3011\u5b66\u4e60\uff01\u5e94\u5e7f\u5927\u5c0f\u4f19\u4f34\u7684\u9700\u6c42\uff0c\u7279\u6b64\u5f00\u8bbe AKShare \u6e90\u7801\u89e3\u6790\u8bfe\u7a0b\uff0c\u672c\u8bfe\u7a0b\u4f1a\u7cfb\u7edf\u7684\u7ed9\u5927\u5bb6\u624b\u628a\u624b\u8bb2\u89e3 AKShare \u6570\u636e\u63a5\u53e3\u7684\u6e90\u7801\u53ca\u8d22\u7ecf\u6570\u636e\u7684\u7f51\u7edc\u6570\u636e\u91c7\u96c6\u77e5\u8bc6\uff01[\u70b9\u51fb\u94fe\u63a5](https://mp.weixin.qq.com/s?__biz=MzI3MzYwODk2MQ==&mid=2247492193&idx=2&sn=a02b305b57a4b0756d5842494de96011&chksm=eb221a0fdc5593196168927217fc8b5486ab43e479f13cc643096069bb829e4a50067534a0b2&mpshare=1&scene=23&srcid=0316bvNDuCQ9P2E08BgK1Bnt&sharer_sharetime=1647406328931&sharer_shareid=2a5935b93d26c84266d2170040c3643c#rd) \u67e5\u770b\u8bfe\u7a0b\u4fe1\u606f**\n\n**\u672c\u6b21\u53d1\u5e03 [AKTools](https://github.com/akfamily/aktools) \u4f5c\u4e3a AKShare \u7684 HTTP API \u7248\u672c\uff0c\u7a81\u7834 Python \u8bed\u8a00\u7684\u9650\u5236\uff0c\u6b22\u8fce\u5404\u4f4d\u5c0f\u4f19\u4f34\u8bd5\u7528\u5e76\u63d0\u51fa\u66f4\u597d\u7684\u610f\u89c1\u6216\u5efa\u8bae\uff01 \u70b9\u51fb [AKTools](https://github.com/akfamily/aktools) \u67e5\u770b\u4f7f\u7528\u6307\u5357\u3002\u53e6\u5916\u63d0\u4f9b [awesome-data](https://github.com/akfamily/awesome-data) \u65b9\u4fbf\u5404\u4f4d\u5c0f\u4f19\u4f34\u67e5\u8be2\u5404\u79cd\u6570\u636e\u6e90**\n\n![](https://github.com/akfamily/akshare/blob/master/example/images/AKShare_logo.jpg)\n\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/akshare.svg)](https://pypi.org/project/akshare/)\n[![PyPI](https://img.shields.io/pypi/v/akshare.svg)](https://pypi.org/project/akshare/)\n[![Downloads](https://pepy.tech/badge/akshare)](https://pepy.tech/project/akshare)\n[![Documentation Status](https://readthedocs.org/projects/akshare/badge/?version=latest)](https://akshare.readthedocs.io/?badge=latest)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![akshare](https://img.shields.io/badge/Data%20Science-AKShare-green)](https://github.com/akfamily/akshare)\n[![Actions Status](https://github.com/akfamily/akshare/workflows/build/badge.svg)](https://github.com/akfamily/akshare/actions)\n[![MIT Licence](https://camo.githubusercontent.com/14a9abb7e83098f2949f26d2190e04fb1bd52c06/68747470733a2f2f626c61636b2e72656164746865646f63732e696f2f656e2f737461626c652f5f7374617469632f6c6963656e73652e737667)](https://github.com/akfamily/akshare/blob/master/LICENSE)\n[![](https://img.shields.io/github/forks/jindaxiang/akshare)](https://github.com/akfamily/akshare)\n[![](https://img.shields.io/github/stars/jindaxiang/akshare)](https://github.com/akfamily/akshare)\n[![](https://img.shields.io/github/issues/jindaxiang/akshare)](https://github.com/akfamily/akshare)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n\n## Overview\n\n[AKShare](https://github.com/akfamily/akshare) requires Python(64 bit) 3.7 or greater, aims to make fetch financial data as convenient as possible.\n\n**Write less, get more!**\n\n- Documentation: [\u4e2d\u6587\u6587\u6863](https://www.akshare.xyz/)\n\n# ![](https://github.com/akfamily/akshare/blob/master/example/images/AKShare.svg)\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://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com  --upgrade\n```\n\n### PR\n\nPlease check out [documentation](https://www.akshare.xyz/zh_CN/latest/contributor.html) if you want to contribute to AKShare\n\n### Docker\n\n#### Pull images\n\n```shell\ndocker pull registry.cn-hangzhou.aliyuncs.com/akshare/akdocker\n```\n\n#### Run AKDocker\n\n```shell\ndocker run -it registry.cn-hangzhou.aliyuncs.com/akshare/akdocker python\n```\n\n#### Test AKDocker\n\n```python\nimport akshare as ak\n\nak.__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='20210907', adjust=\"\")\nprint(stock_zh_a_hist_df)\n```\n\nOutput\n\n```\n      \u65e5\u671f          \u5f00\u76d8   \u6536\u76d8    \u6700\u9ad8  ...  \u632f\u5e45   \u6da8\u8dcc\u5e45 \u6da8\u8dcc\u989d \u6362\u624b\u7387\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          ...    ...    ...    ...  ...   ...   ...   ...   ...\n1100  2021-09-01  17.48  17.88  17.92  ...  5.11  0.45  0.08  1.19\n1101  2021-09-02  18.00  18.40  18.78  ...  5.48  2.91  0.52  1.25\n1102  2021-09-03  18.50  18.04  18.50  ...  4.35 -1.96 -0.36  0.72\n1103  2021-09-06  17.93  18.45  18.60  ...  4.55  2.27  0.41  0.78\n1104  2021-09-07  18.60  19.24  19.56  ...  6.56  4.28  0.79  0.84\n[1105 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[[\"open\", \"high\", \"low\", \"close\", \"volume\"]]\nstock_us_daily_df.columns = [\"Open\", \"High\", \"Low\", \"Close\", \"Volume\"]\nstock_us_daily_df.index.name = \"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![](https://jfds-1252952517.cos.ap-chengdu.myqcloud.com/akshare/readme/home/AAPL_candle.png)\n\n## Communication\n\nPay attention to **\u6570\u636e\u79d1\u5b66\u5bb6** Official Accounts to get more information about Quant, ML, DS and so on, please visit [\u6570\u636e\u79d1\u5b66\u5bb6](https://www.akshare.xyz/introduction.html) for more information:\n\n<div>\n    <img src=\"https://jfds-1252952517.cos.ap-chengdu.myqcloud.com/akshare/readme/qrcode/data_scientist.png\">\n</div>\n\nPay attention to **\u6570\u636e\u79d1\u5b66\u5b9e\u6218** WeChat Official Accounts to get the [AKShare](https://github.com/akfamily/akshare) updated info:\n\n<div>\n    <img src=\"https://github.com/akfamily/akshare/blob/master/example/images/ds.png\">\n</div>\n\nApplication to add **AKShare-VIP QQ group** and talk about [AKShare](https://github.com/akfamily/akshare) issues, please contact **AKShare-\u5c0f\u52a9\u624b QQ**: 104181383\n![](https://jfds-1252952517.cos.ap-chengdu.myqcloud.com/akshare/readme/qrcode/qr_code_104181383.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://akshare.readthedocs.io/zh_CN/latest/akshare/ak-introduction.html)\n2. [Installation](https://akshare.readthedocs.io/zh_CN/latest/akshare/ak-installation.html)\n3. [Tutorial](https://akshare.readthedocs.io/zh_CN/latest/akshare/ak-tutorial.html)\n4. [Data Dict](https://akshare.readthedocs.io/zh_CN/latest/README.html)\n5. [Subjects](https://akshare.readthedocs.io/zh_CN/latest/subjects/index.html)\n\n## Contribution\n\n[AKShare](https://github.com/akfamily/akshare) 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 [Black](https://black.readthedocs.io/en/stable/) to format the code\n\n## Statement\n\n1. All data provided by [AKShare](https://github.com/akfamily/akshare) is just for academic research purpose;\n2. The data provided by [AKShare](https://github.com/akfamily/akshare) is for reference only and does not constitute any investment proposal;\n3. Any investor based on [AKShare](https://github.com/akfamily/akshare) research should pay more attention to data risk;\n4. [AKShare](https://github.com/akfamily/akshare) will insist on providing open-source financial data;\n5. Based on some uncontrollable factors, some data interfaces in [AKShare](https://github.com/akfamily/akshare) may be removed;\n6. Please follow the relevant open-source protocol used by [AKShare](https://github.com/akfamily/akshare);\n7. Provide HTTP API for the person who uses other program language: [AKTools](https://aktools.readthedocs.io/).\n\n## Show your style\n\nUse the badge in your project's README.md:\n\n```markdown\n[![Data: akshare](https://img.shields.io/badge/Data%20Science-AKShare-green)](https://github.com/akfamily/akshare)\n```\n\nUsing the badge in README.rst:\n\n```\n.. image:: https://img.shields.io/badge/Data%20Science-AKShare-green\n    :target: https://github.com/akfamily/akshare\n```\n\nLooks like this:\n\n[![Data: akshare](https://img.shields.io/badge/Data%20Science-AKShare-green)](https://github.com/akfamily/akshare)\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},\n    title = {AKShare},\n    year = {2019},\n    publisher = {GitHub},\n    journal = {GitHub repository},\n    howpublished = {\\url{https://github.com/akfamily/akshare}},\n}\n```\n\n## Acknowledgement\n\nSpecial thanks [FuShare](https://github.com/LowinLi/fushare) for the opportunity of learning from the project;\n\nSpecial thanks [TuShare](https://github.com/waditu/tushare) for the opportunity of learning from the project;\n\nThanks for the data provided by [\u751f\u610f\u793e\u7f51\u7ad9](http://www.100ppi.com/);\n\nThanks for the data provided by [\u5947\u8d27\u53ef\u67e5\u7f51\u7ad9](https://qhkch.com/);\n\nThanks for the data provided by [\u4e2d\u56fd\u94f6\u884c\u95f4\u5e02\u573a\u4ea4\u6613\u5546\u534f\u4f1a\u7f51\u7ad9](http://www.nafmii.org.cn/);\n\nThanks for the data provided by [99\u671f\u8d27\u7f51\u7ad9](http://www.99qh.com/);\n\nThanks for the data provided by [\u82f1\u4e3a\u8d22\u60c5\u7f51\u7ad9](https://cn.investing.com/);\n\nThanks for the data provided by [\u4e2d\u56fd\u5916\u6c47\u4ea4\u6613\u4e2d\u5fc3\u66a8\u5168\u56fd\u94f6\u884c\u95f4\u540c\u4e1a\u62c6\u501f\u4e2d\u5fc3\u7f51\u7ad9](http://www.chinamoney.com.cn/chinese/);\n\nThanks for the data provided by [\u91d1\u5341\u6570\u636e\u7f51\u7ad9](https://www.jin10.com/);\n\nThanks for the data provided by [\u548c\u8baf\u8d22\u7ecf\u7f51\u7ad9](http://www.hexun.com/);\n\nThanks for the data provided by [\u65b0\u6d6a\u8d22\u7ecf\u7f51\u7ad9](https://finance.sina.com.cn/);\n\nThanks for the data provided by [Oxford-Man Institute \u7f51\u7ad9](https://realized.oxford-man.ox.ac.uk/);\n\nThanks for the data provided by [DACHENG-XIU \u7f51\u7ad9](https://dachxiu.chicagobooth.edu/);\n\nThanks for the data provided by [\u4e0a\u6d77\u8bc1\u5238\u4ea4\u6613\u6240\u7f51\u7ad9](http://www.sse.com.cn/assortment/options/price/);\n\nThanks for the data provided by [\u6df1\u8bc1\u8bc1\u5238\u4ea4\u6613\u6240\u7f51\u7ad9](http://www.szse.cn/);\n\nThanks for the data provided by [\u5317\u4eac\u8bc1\u5238\u4ea4\u6613\u6240\u7f51\u7ad9](http://www.bse.cn/);\n\nThanks for the data provided by [\u4e2d\u56fd\u91d1\u878d\u671f\u8d27\u4ea4\u6613\u6240\u7f51\u7ad9](http://www.cffex.com.cn/);\n\nThanks for the data provided by [\u4e0a\u6d77\u671f\u8d27\u4ea4\u6613\u6240\u7f51\u7ad9](http://www.shfe.com.cn/);\n\nThanks for the data provided by [\u5927\u8fde\u5546\u54c1\u4ea4\u6613\u6240\u7f51\u7ad9](http://www.dce.com.cn/);\n\nThanks for the data provided by [\u90d1\u5dde\u5546\u54c1\u4ea4\u6613\u6240\u7f51\u7ad9](http://www.czce.com.cn/);\n\nThanks for the data provided by [\u4e0a\u6d77\u56fd\u9645\u80fd\u6e90\u4ea4\u6613\u4e2d\u5fc3\u7f51\u7ad9](http://www.ine.com.cn/);\n\nThanks for the data provided by [Timeanddate \u7f51\u7ad9](https://www.timeanddate.com/);\n\nThanks for the data provided by [\u6cb3\u5317\u7701\u7a7a\u6c14\u8d28\u91cf\u9884\u62a5\u4fe1\u606f\u53d1\u5e03\u7cfb\u7edf\u7f51\u7ad9](http://110.249.223.67/publish/);\n\nThanks for the data provided by [\u5357\u534e\u671f\u8d27\u7f51\u7ad9](http://www.nanhua.net/nhzc/varietytrend.html);\n\nThanks for the data provided by [Economic Policy Uncertainty \u7f51\u7ad9](http://www.nanhua.net/nhzc/varietytrend.html);\n\nThanks for the data provided by [\u5fae\u535a\u6307\u6570\u7f51\u7ad9](https://data.weibo.com/index/newindex);\n\nThanks for the data provided by [\u767e\u5ea6\u6307\u6570\u7f51\u7ad9](http://index.baidu.com/v2/main/index.html);\n\nThanks for the data provided by [\u8c37\u6b4c\u6307\u6570\u7f51\u7ad9](https://trends.google.com/trends/?geo=US);\n\nThanks for the data provided by [\u7533\u4e07\u6307\u6570\u7f51\u7ad9](http://www.swsindex.com/idx0120.aspx?columnid=8832);\n\nThanks for the data provided by [\u771f\u6c14\u7f51\u7f51\u7ad9](https://www.zq12369.com/);\n\nThanks for the data provided by [\u8d22\u5bcc\u7f51\u7ad9](http://www.fortunechina.com/);\n\nThanks for the data provided by [\u4e2d\u56fd\u8bc1\u5238\u6295\u8d44\u57fa\u91d1\u4e1a\u534f\u4f1a\u7f51\u7ad9](http://gs.amac.org.cn/);\n\nThanks for the data provided by [Expatistan \u7f51\u7ad9](https://www.expatistan.com/cost-of-living);\n\nThanks for the data provided by [\u5317\u4eac\u5e02\u78b3\u6392\u653e\u6743\u7535\u5b50\u4ea4\u6613\u5e73\u53f0\u7f51\u7ad9](https://www.bjets.com.cn/article/jyxx/);\n\nThanks for the data provided by [\u56fd\u5bb6\u91d1\u878d\u4e0e\u53d1\u5c55\u5b9e\u9a8c\u5ba4\u7f51\u7ad9](http://www.nifd.cn/);\n\nThanks for the data provided by [IT\u6854\u5b50\u7f51\u7ad9](https://www.itjuzi.com);\n\nThanks for the data provided by [\u4e1c\u65b9\u8d22\u5bcc\u7f51\u7ad9](http://data.eastmoney.com/jgdy/);\n\nThanks for the data provided by [\u4e49\u4e4c\u5c0f\u5546\u54c1\u6307\u6570\u7f51\u7ad9](http://www.ywindex.com/Home/Product/index/);\n\nThanks for the data provided by [\u4e2d\u56fd\u56fd\u5bb6\u53d1\u5c55\u548c\u6539\u9769\u59d4\u5458\u4f1a\u7f51\u7ad9](http://jgjc.ndrc.gov.cn/dmzs.aspx?clmId=741);\n\nThanks for the data provided by [163\u7f51\u7ad9](https://news.163.com/special/epidemic/);\n\nThanks for the data provided by [\u4e01\u9999\u56ed\u7f51\u7ad9](http://3g.dxy.cn/newh5/view/pneumonia?scene=2&clicktime=1579615030&enterid=1579615030&from=groupmessage&isappinstalled=0);\n\nThanks for the data provided by [\u767e\u5ea6\u65b0\u578b\u80ba\u708e\u7f51\u7ad9](https://voice.baidu.com/act/newpneumonia/newpneumonia/?from=osari_pc_1);\n\nThanks for the data provided by [\u767e\u5ea6\u8fc1\u5f99\u7f51\u7ad9](https://qianxi.baidu.com/?from=shoubai#city=0);\n\nThanks for the data provided by [\u65b0\u578b\u80ba\u708e-\u76f8\u540c\u884c\u7a0b\u67e5\u8be2\u5de5\u5177\u7f51\u7ad9](https://rl.inews.qq.com/h5/trip?from=newsapp&ADTAG=tgi.wx.share.message);\n\nThanks for the data provided by [\u65b0\u578b\u80ba\u708e-\u5c0f\u533a\u67e5\u8be2\u7f51\u7ad9](https://ncov.html5.qq.com/community?channelid=1&from=singlemessage&isappinstalled=0);\n\nThanks for the data provided by [\u5546\u4e1a\u7279\u8bb8\u7ecf\u8425\u4fe1\u606f\u7ba1\u7406\u7f51\u7ad9](http://txjy.syggs.mofcom.gov.cn/);\n\nThanks for the data provided by [\u6148\u5584\u4e2d\u56fd\u7f51\u7ad9](http://cishan.chinanpo.gov.cn/platform/login.html);\n\nThanks for the data provided by [\u601d\u77e5\u7f51\u7ad9](https://www.ownthink.com/);\n\nThanks for the data provided by [Currencyscoop \u7f51\u7ad9](https://currencyscoop.com/);\n\nThanks for the data provided by [\u65b0\u52a0\u5761\u4ea4\u6613\u6240\u7f51\u7ad9](https://www.sgx.com/zh-hans/research-education/derivatives);\n\nThanks for the tutorials provided by [\u5fae\u4fe1\u516c\u4f17\u53f7: Python\u5927\u5496\u8c08](https://upload-images.jianshu.io/upload_images/3240514-61004f2c71be4a0b.png).\n\n## Backer and Sponsor\n\n<a href=\"https://www.jetbrains.com/?from=jindaxiang/akshare\" target=\"_blank\">\n<img src=\"https://github.com/akfamily/akshare/blob/master/example/images/jetbrains.svg\" width=\"100px\" height=\"100px\">\n</a>\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "AKShare is an elegant and simple financial data interface library for Python, built for human beings!",
    "version": "1.6.84",
    "split_keywords": [
        "stock",
        "option",
        "futures",
        "fund",
        "bond",
        "index",
        "air",
        "finance",
        "spider",
        "quant",
        "quantitative",
        "investment",
        "trading",
        "algotrading",
        "data"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "fb410c2411ffa77913f7f47ab9354c69",
                "sha256": "f6f370257914afa7cbcd8f760e36c9d8d3d438565902d15406da2bdf1d6fe9ec"
            },
            "downloads": -1,
            "filename": "akshare-1.6.84-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fb410c2411ffa77913f7f47ab9354c69",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 931465,
            "upload_time": "2022-08-09T07:08:02",
            "upload_time_iso_8601": "2022-08-09T07:08:02.269652Z",
            "url": "https://files.pythonhosted.org/packages/23/e3/785cd39587ba25de2e8deca0f55672ea5c7867a39d55c02f5bc3cb22eb6d/akshare-1.6.84-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "4c87b9d396523b6994bd37ad87e58c71",
                "sha256": "5e50e3338614a2cd016f9a0577fa73d17b6b4b3deba4a8dc26d9723ddbd98b42"
            },
            "downloads": -1,
            "filename": "akshare-1.6.84.tar.gz",
            "has_sig": false,
            "md5_digest": "4c87b9d396523b6994bd37ad87e58c71",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 763027,
            "upload_time": "2022-08-09T07:08:05",
            "upload_time_iso_8601": "2022-08-09T07:08:05.290536Z",
            "url": "https://files.pythonhosted.org/packages/75/9d/6a04631379afbd66098566bb2c967c71f383c78607f38ea8f4665bd8f3a5/akshare-1.6.84.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-08-09 07:08:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "akfamily",
    "github_project": "akshare",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "akshare"
}
        
Elapsed time: 0.53528s