akshare


Nameakshare JSON
Version 1.15.42 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_time2024-12-06 06:29:09
maintainerNone
docs_urlNone
authorAKFamily
requires_python>=3.8
licenseMIT
keywords stock option futures fund bond index air finance spider quant quantitative investment trading algotrading data
VCS
bugtrack_url
requirements beautifulsoup4 lxml pandas requests urllib3 html5lib tqdm xlrd openpyxl jsonpath tabulate decorator mini-racer
Travis-CI No Travis.
coveralls test coverage No coveralls.
            **欢迎加入专注于财经数据和量化投资的知识社区,请点击[了解更多](https://akshare.akfamily.xyz/learn.html)**

**量化投研视频课程:《PyBroker-入门及实战》已经上架!《PyBroker-进阶及实战》正在更新!**

**更多视频教程已经发布:《AKShare-初阶-使用教学》、《AKShare-初阶-实战应用》、《AKShare-源码解析》、《开源项目巡礼》**,
详情请关注【数据科学实战】公众号,查看更多课程信息!

**AKQuant 量化教程请访问:[利用 PyBroker 进行量化投资](https://akquant.akfamily.xyz/)**

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

![AKShare Logo](https://github.com/akfamily/akshare/blob/main/assets/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)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![akshare](https://img.shields.io/badge/Data%20Science-AKShare-green)](https://github.com/akfamily/akshare)
[![Actions Status](https://github.com/akfamily/akshare/actions/workflows/release_and_deploy.yml/badge.svg)](https://github.com/akfamily/akshare/actions)
[![MIT Licence](https://img.shields.io/badge/license-MIT-blue)](https://github.com/akfamily/akshare/blob/main/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.8 or higher and
aims to simplify the process of fetching financial data.

**Write less, get more!**

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

## 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://akshare.akfamily.xyz/contributing.html) if you
want to contribute to AKShare

### Docker

#### Pull images

```shell
docker pull registry.cn-shanghai.aliyuncs.com/akfamily/aktools:jupyter
```

#### Run Container

```shell
docker run -it registry.cn-shanghai.aliyuncs.com/akfamily/aktools:jupyter python
```

#### Test

```python
import akshare as ak

print(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='20231022', 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
          ...    ...    ...    ...  ...   ...   ...   ...   ...
1610  2023-10-16  11.00  11.01  11.03  ...  0.73  0.09  0.01  0.26
1611  2023-10-17  11.01  11.02  11.05  ...  0.82  0.09  0.01  0.25
1612  2023-10-18  10.99  10.95  11.02  ...  1.00 -0.64 -0.07  0.34
1613  2023-10-19  10.91  10.60  10.92  ...  3.01 -3.20 -0.35  0.61
1614  2023-10-20  10.55  10.60  10.67  ...  1.51  0.00  0.00  0.27
[1615 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.set_index(["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:

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

## Communication

Welcome to join the **数据科学实战** knowledge planet to learn more about quantitative investment,
please visit [数据科学实战](https://akshare.akfamily.xyz/learn.html) for more information:

<div>
    <img alt="data science" 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 alt="ds" src="https://github.com/akfamily/akshare/blob/main/assets/images/ds.png">
</div>

## 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.akfamily.xyz/introduction.html)
2. [Installation](https://akshare.akfamily.xyz/installation.html)
3. [Tutorial](https://akshare.akfamily.xyz/tutorial.html)
4. [Data Dict](https://akshare.akfamily.xyz/data/index.html)
5. [Subjects](https://akshare.akfamily.xyz/topic/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 [Ruff](https://github.com/astral-sh/ruff) 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 [中国银行间市场交易商协会网站](http://www.nafmii.org.cn/);

Thanks for the data provided by [99期货网站](http://www.99qh.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 [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 [申万指数网站](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 [东方财富网站](http://data.eastmoney.com/jgdy/);

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

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

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=albertandking/akshare" target="_blank">
<img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" alt="JetBrains logo.">
</a>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/akfamily/akshare",
    "name": "akshare",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "stock, option, futures, fund, bond, index, air, finance, spider, quant, quantitative, investment, trading, algotrading, data",
    "author": "AKFamily",
    "author_email": "albertandking@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/59/52/9e5ad4cf503fc7f924910b835526d6587e797935f886754632ad0cc1f5a0/akshare-1.15.42.tar.gz",
    "platform": null,
    "description": "**\u6b22\u8fce\u52a0\u5165\u4e13\u6ce8\u4e8e\u8d22\u7ecf\u6570\u636e\u548c\u91cf\u5316\u6295\u8d44\u7684\u77e5\u8bc6\u793e\u533a\uff0c\u8bf7\u70b9\u51fb[\u4e86\u89e3\u66f4\u591a](https://akshare.akfamily.xyz/learn.html)**\n\n**\u91cf\u5316\u6295\u7814\u89c6\u9891\u8bfe\u7a0b\uff1a\u300aPyBroker-\u5165\u95e8\u53ca\u5b9e\u6218\u300b\u5df2\u7ecf\u4e0a\u67b6\uff01\u300aPyBroker-\u8fdb\u9636\u53ca\u5b9e\u6218\u300b\u6b63\u5728\u66f4\u65b0\uff01**\n\n**\u66f4\u591a\u89c6\u9891\u6559\u7a0b\u5df2\u7ecf\u53d1\u5e03\uff1a\u300aAKShare-\u521d\u9636-\u4f7f\u7528\u6559\u5b66\u300b\u3001\u300aAKShare-\u521d\u9636-\u5b9e\u6218\u5e94\u7528\u300b\u3001\u300aAKShare-\u6e90\u7801\u89e3\u6790\u300b\u3001\u300a\u5f00\u6e90\u9879\u76ee\u5de1\u793c\u300b**\uff0c\n\u8be6\u60c5\u8bf7\u5173\u6ce8\u3010\u6570\u636e\u79d1\u5b66\u5b9e\u6218\u3011\u516c\u4f17\u53f7\uff0c\u67e5\u770b\u66f4\u591a\u8bfe\u7a0b\u4fe1\u606f\uff01\n\n**AKQuant \u91cf\u5316\u6559\u7a0b\u8bf7\u8bbf\u95ee\uff1a[\u5229\u7528 PyBroker \u8fdb\u884c\u91cf\u5316\u6295\u8d44](https://akquant.akfamily.xyz/)**\n\n**\u672c\u6b21\u53d1\u5e03 [AKTools](https://github.com/akfamily/aktools) \u4f5c\u4e3a AKShare \u7684 HTTP API \u7248\u672c\uff0c\n\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\n\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\u3002**\n\n![AKShare Logo](https://github.com/akfamily/akshare/blob/main/assets/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[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n[![akshare](https://img.shields.io/badge/Data%20Science-AKShare-green)](https://github.com/akfamily/akshare)\n[![Actions Status](https://github.com/akfamily/akshare/actions/workflows/release_and_deploy.yml/badge.svg)](https://github.com/akfamily/akshare/actions)\n[![MIT Licence](https://img.shields.io/badge/license-MIT-blue)](https://github.com/akfamily/akshare/blob/main/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.8 or higher and\naims to simplify the process of fetching financial data.\n\n**Write less, get more!**\n\n- Documentation: [\u4e2d\u6587\u6587\u6863](https://akshare.akfamily.xyz/)\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://akshare.akfamily.xyz/contributing.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/akfamily/aktools:jupyter\n```\n\n#### Run Container\n\n```shell\ndocker run -it registry.cn-shanghai.aliyuncs.com/akfamily/aktools: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      \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          ...    ...    ...    ...  ...   ...   ...   ...   ...\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://jfds-1252952517.cos.ap-chengdu.myqcloud.com/akshare/readme/home/AAPL_candle.png)\n\n## Communication\n\nWelcome to join the **\u6570\u636e\u79d1\u5b66\u5b9e\u6218** knowledge planet to learn more about quantitative investment,\nplease visit [\u6570\u636e\u79d1\u5b66\u5b9e\u6218](https://akshare.akfamily.xyz/learn.html) for more information:\n\n<div>\n    <img alt=\"data science\" 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 alt=\"ds\" src=\"https://github.com/akfamily/akshare/blob/main/assets/images/ds.png\">\n</div>\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.akfamily.xyz/introduction.html)\n2. [Installation](https://akshare.akfamily.xyz/installation.html)\n3. [Tutorial](https://akshare.akfamily.xyz/tutorial.html)\n4. [Data Dict](https://akshare.akfamily.xyz/data/index.html)\n5. [Subjects](https://akshare.akfamily.xyz/topic/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 [Ruff](https://github.com/astral-sh/ruff) 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 [\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 [\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 [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 [\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 [\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 [\u767e\u5ea6\u8fc1\u5f99\u7f51\u7ad9](https://qianxi.baidu.com/?from=shoubai#city=0);\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=albertandking/akshare\" target=\"_blank\">\n<img src=\"https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png\" alt=\"JetBrains logo.\">\n</a>\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.15.42",
    "project_urls": {
        "Homepage": "https://github.com/akfamily/akshare"
    },
    "split_keywords": [
        "stock",
        " option",
        " futures",
        " fund",
        " bond",
        " index",
        " air",
        " finance",
        " spider",
        " quant",
        " quantitative",
        " investment",
        " trading",
        " algotrading",
        " data"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "140fd221dc5bafc0f1c6f4a2038e9733d5731bcf834bb4e282e6d42f6f21f8ef",
                "md5": "31a8174b51370d5fdc0484ed0a186d2e",
                "sha256": "07200fdcc289ab1b69ca7ded506c2a6f00d12397464a62b3b9fadc0b1306a2c3"
            },
            "downloads": -1,
            "filename": "akshare-1.15.42-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "31a8174b51370d5fdc0484ed0a186d2e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 1028579,
            "upload_time": "2024-12-06T06:29:04",
            "upload_time_iso_8601": "2024-12-06T06:29:04.819892Z",
            "url": "https://files.pythonhosted.org/packages/14/0f/d221dc5bafc0f1c6f4a2038e9733d5731bcf834bb4e282e6d42f6f21f8ef/akshare-1.15.42-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "59529e5ad4cf503fc7f924910b835526d6587e797935f886754632ad0cc1f5a0",
                "md5": "cc2cd63d07b3362ec7232a048190b189",
                "sha256": "ebf5580b8ca27894e343d820aad51a021133b0314f967bcb0527c24a757b605f"
            },
            "downloads": -1,
            "filename": "akshare-1.15.42.tar.gz",
            "has_sig": false,
            "md5_digest": "cc2cd63d07b3362ec7232a048190b189",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 824925,
            "upload_time": "2024-12-06T06:29:09",
            "upload_time_iso_8601": "2024-12-06T06:29:09.756579Z",
            "url": "https://files.pythonhosted.org/packages/59/52/9e5ad4cf503fc7f924910b835526d6587e797935f886754632ad0cc1f5a0/akshare-1.15.42.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-06 06:29:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "akfamily",
    "github_project": "akshare",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "beautifulsoup4",
            "specs": [
                [
                    ">=",
                    "4.9.1"
                ]
            ]
        },
        {
            "name": "lxml",
            "specs": [
                [
                    ">=",
                    "4.2.1"
                ]
            ]
        },
        {
            "name": "pandas",
            "specs": [
                [
                    ">=",
                    "0.25"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    ">=",
                    "2.22.0"
                ]
            ]
        },
        {
            "name": "urllib3",
            "specs": [
                [
                    ">=",
                    "1.25.8"
                ]
            ]
        },
        {
            "name": "html5lib",
            "specs": [
                [
                    ">=",
                    "1.0.1"
                ]
            ]
        },
        {
            "name": "tqdm",
            "specs": [
                [
                    ">=",
                    "4.43.0"
                ]
            ]
        },
        {
            "name": "xlrd",
            "specs": [
                [
                    ">=",
                    "1.2.0"
                ]
            ]
        },
        {
            "name": "openpyxl",
            "specs": [
                [
                    ">=",
                    "3.0.3"
                ]
            ]
        },
        {
            "name": "jsonpath",
            "specs": [
                [
                    ">=",
                    "0.82"
                ]
            ]
        },
        {
            "name": "tabulate",
            "specs": [
                [
                    ">=",
                    "0.8.6"
                ]
            ]
        },
        {
            "name": "decorator",
            "specs": [
                [
                    ">=",
                    "4.4.2"
                ]
            ]
        },
        {
            "name": "mini-racer",
            "specs": [
                [
                    ">=",
                    "0.12.4"
                ]
            ]
        }
    ],
    "lcname": "akshare"
}
        
Elapsed time: 0.45096s