byteapp-ak


Namebyteapp-ak JSON
Version 1.15.7.1.1.1 PyPI version JSON
download
home_pagehttps://github.com/akfamily/byteapp_ak
SummaryAKShare is an elegant and simple financial data interface library for Python, built for human beings!
upload_time2024-11-03 10:48:06
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 No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            **欢迎加入专注于财经数据和量化投资的知识社区,请点击[了解更多](https://byteapp_ak.akfamily.xyz/learn.html)**

**相关视频教程已经发布:《AKShare-初阶-使用教学》、《AKShare-初阶-实战应用》、《AKShare-源码解析》、《开源项目巡礼》**,详情请访问[课程](https://app3rqjh1z21630.h5.xiaoeknow.com)查看更多课程信息!

**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/byteapp_ak/blob/main/assets/images/byteapp_ak_logo.jpg)

[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/byteapp_ak.svg)](https://pypi.org/project/byteapp_ak/)
[![PyPI](https://img.shields.io/pypi/v/byteapp_ak.svg)](https://pypi.org/project/byteapp_ak/)
[![Downloads](https://pepy.tech/badge/byteapp_ak)](https://pepy.tech/project/byteapp_ak)
[![Documentation Status](https://readthedocs.org/projects/byteapp_ak/badge/?version=latest)](https://byteapp_ak.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)
[![byteapp_ak](https://img.shields.io/badge/Data%20Science-AKShare-green)](https://github.com/akfamily/byteapp_ak)
[![Actions Status](https://github.com/akfamily/byteapp_ak/actions/workflows/release_and_deploy.yml/badge.svg)](https://github.com/akfamily/byteapp_ak/actions)
[![MIT Licence](https://img.shields.io/badge/license-MIT-blue)](https://github.com/akfamily/byteapp_ak/blob/main/LICENSE)
[![](https://img.shields.io/github/forks/jindaxiang/byteapp_ak)](https://github.com/akfamily/byteapp_ak)
[![](https://img.shields.io/github/stars/jindaxiang/byteapp_ak)](https://github.com/akfamily/byteapp_ak)
[![](https://img.shields.io/github/issues/jindaxiang/byteapp_ak)](https://github.com/akfamily/byteapp_ak)
[![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/byteapp_ak) requires Python(64 bit) 3.8 or higher and
aims to simplify the process of fetching financial data.

**Write less, get more!**

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

## Installation

### General

```shell
pip install byteapp_ak --upgrade
```

### China

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

### PR

Please check out [Documentation](https://byteapp_ak.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 byteapp_ak as ak

print(ak.__version__)
```

## Usage

### Data

Code:

```python
import byteapp_ak 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 byteapp_ak 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/byteapp_ak/readme/home/AAPL_candle.png)

## Communication

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

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

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

<div>
    <img alt="ds" src="https://github.com/akfamily/byteapp_ak/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://byteapp_ak.akfamily.xyz/introduction.html)
2. [Installation](https://byteapp_ak.akfamily.xyz/installation.html)
3. [Tutorial](https://byteapp_ak.akfamily.xyz/tutorial.html)
4. [Data Dict](https://byteapp_ak.akfamily.xyz/data/index.html)
5. [Subjects](https://byteapp_ak.akfamily.xyz/topic/index.html)

## Contribution

[AKShare](https://github.com/akfamily/byteapp_ak) 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/byteapp_ak) is just for academic research purpose;
2. The data provided by [AKShare](https://github.com/akfamily/byteapp_ak) is for reference only and does not constitute any investment proposal;
3. Any investor based on [AKShare](https://github.com/akfamily/byteapp_ak) research should pay more attention to data risk;
4. [AKShare](https://github.com/akfamily/byteapp_ak) will insist on providing open-source financial data;
5. Based on some uncontrollable factors, some data interfaces in [AKShare](https://github.com/akfamily/byteapp_ak) may be removed;
6. Please follow the relevant open-source protocol used by [AKShare](https://github.com/akfamily/byteapp_ak);
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: byteapp_ak](https://img.shields.io/badge/Data%20Science-AKShare-green)](https://github.com/akfamily/byteapp_ak)
```

Using the badge in README.rst:

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

Looks like this:

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

## Citation

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

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

## 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 [百度迁徙网站](https://qianxi.baidu.com/?from=shoubai#city=0);

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/byteapp_ak" target="_blank">
<img alt="jetbrains" src="https://github.com/akfamily/byteapp_ak/blob/main/assets/images/jetbrains.svg" width="100px" height="100px">
</a>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/akfamily/byteapp_ak",
    "name": "byteapp-ak",
    "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/40/8b/ee95b92ea424da13ae4465dfd999cc54b9f111351317799534832695acee/byteapp_ak-1.15.7.1.1.1.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://byteapp_ak.akfamily.xyz/learn.html)**\n\n**\u76f8\u5173\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\u8be6\u60c5\u8bf7\u8bbf\u95ee[\u8bfe\u7a0b](https://app3rqjh1z21630.h5.xiaoeknow.com)\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/byteapp_ak/blob/main/assets/images/byteapp_ak_logo.jpg)\n\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/byteapp_ak.svg)](https://pypi.org/project/byteapp_ak/)\n[![PyPI](https://img.shields.io/pypi/v/byteapp_ak.svg)](https://pypi.org/project/byteapp_ak/)\n[![Downloads](https://pepy.tech/badge/byteapp_ak)](https://pepy.tech/project/byteapp_ak)\n[![Documentation Status](https://readthedocs.org/projects/byteapp_ak/badge/?version=latest)](https://byteapp_ak.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[![byteapp_ak](https://img.shields.io/badge/Data%20Science-AKShare-green)](https://github.com/akfamily/byteapp_ak)\n[![Actions Status](https://github.com/akfamily/byteapp_ak/actions/workflows/release_and_deploy.yml/badge.svg)](https://github.com/akfamily/byteapp_ak/actions)\n[![MIT Licence](https://img.shields.io/badge/license-MIT-blue)](https://github.com/akfamily/byteapp_ak/blob/main/LICENSE)\n[![](https://img.shields.io/github/forks/jindaxiang/byteapp_ak)](https://github.com/akfamily/byteapp_ak)\n[![](https://img.shields.io/github/stars/jindaxiang/byteapp_ak)](https://github.com/akfamily/byteapp_ak)\n[![](https://img.shields.io/github/issues/jindaxiang/byteapp_ak)](https://github.com/akfamily/byteapp_ak)\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/byteapp_ak) 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://byteapp_ak.akfamily.xyz/)\n\n## Installation\n\n### General\n\n```shell\npip install byteapp_ak --upgrade\n```\n\n### China\n\n```shell\npip install byteapp_ak -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.com  --upgrade\n```\n\n### PR\n\nPlease check out [Documentation](https://byteapp_ak.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 byteapp_ak as ak\n\nprint(ak.__version__)\n```\n\n## Usage\n\n### Data\n\nCode:\n\n```python\nimport byteapp_ak 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 byteapp_ak 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/byteapp_ak/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://byteapp_ak.akfamily.xyz/learn.html) for more information:\n\n<div>\n    <img alt=\"data science\" src=\"https://jfds-1252952517.cos.ap-chengdu.myqcloud.com/byteapp_ak/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/byteapp_ak) updated info:\n\n<div>\n    <img alt=\"ds\" src=\"https://github.com/akfamily/byteapp_ak/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://byteapp_ak.akfamily.xyz/introduction.html)\n2. [Installation](https://byteapp_ak.akfamily.xyz/installation.html)\n3. [Tutorial](https://byteapp_ak.akfamily.xyz/tutorial.html)\n4. [Data Dict](https://byteapp_ak.akfamily.xyz/data/index.html)\n5. [Subjects](https://byteapp_ak.akfamily.xyz/topic/index.html)\n\n## Contribution\n\n[AKShare](https://github.com/akfamily/byteapp_ak) 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/byteapp_ak) is just for academic research purpose;\n2. The data provided by [AKShare](https://github.com/akfamily/byteapp_ak) is for reference only and does not constitute any investment proposal;\n3. Any investor based on [AKShare](https://github.com/akfamily/byteapp_ak) research should pay more attention to data risk;\n4. [AKShare](https://github.com/akfamily/byteapp_ak) will insist on providing open-source financial data;\n5. Based on some uncontrollable factors, some data interfaces in [AKShare](https://github.com/akfamily/byteapp_ak) may be removed;\n6. Please follow the relevant open-source protocol used by [AKShare](https://github.com/akfamily/byteapp_ak);\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: byteapp_ak](https://img.shields.io/badge/Data%20Science-AKShare-green)](https://github.com/akfamily/byteapp_ak)\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/byteapp_ak\n```\n\nLooks like this:\n\n[![Data: byteapp_ak](https://img.shields.io/badge/Data%20Science-AKShare-green)](https://github.com/akfamily/byteapp_ak)\n\n## Citation\n\nPlease use this **bibtex** if you want to cite this repository in your publications:\n\n```markdown\n@misc{byteapp_ak,\n    author = {Albert King},\n    title = {AKShare},\n    year = {2019},\n    publisher = {GitHub},\n    journal = {GitHub repository},\n    howpublished = {\\url{https://github.com/akfamily/byteapp_ak}},\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 [\u767e\u5ea6\u8fc1\u5f99\u7f51\u7ad9](https://qianxi.baidu.com/?from=shoubai#city=0);\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/byteapp_ak\" target=\"_blank\">\n<img alt=\"jetbrains\" src=\"https://github.com/akfamily/byteapp_ak/blob/main/assets/images/jetbrains.svg\" width=\"100px\" height=\"100px\">\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.7.1.1.1",
    "project_urls": {
        "Homepage": "https://github.com/akfamily/byteapp_ak"
    },
    "split_keywords": [
        "stock",
        " option",
        " futures",
        " fund",
        " bond",
        " index",
        " air",
        " finance",
        " spider",
        " quant",
        " quantitative",
        " investment",
        " trading",
        " algotrading",
        " data"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a04c0b82f443dfae2af65b1305f4dff13935a5855cb671338180145805b32e27",
                "md5": "fd267dab6acf0d84578646eddfc7d149",
                "sha256": "44cc493a185191f75b5459cd38153305e9be0762f3150dca5d155bce2f0fe1a6"
            },
            "downloads": -1,
            "filename": "byteapp_ak-1.15.7.1.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fd267dab6acf0d84578646eddfc7d149",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 1028462,
            "upload_time": "2024-11-03T10:48:04",
            "upload_time_iso_8601": "2024-11-03T10:48:04.489605Z",
            "url": "https://files.pythonhosted.org/packages/a0/4c/0b82f443dfae2af65b1305f4dff13935a5855cb671338180145805b32e27/byteapp_ak-1.15.7.1.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "408bee95b92ea424da13ae4465dfd999cc54b9f111351317799534832695acee",
                "md5": "9e885c8070023cd3e9ca48ec87bc8a8a",
                "sha256": "4560f26cdcf0069b131a2e9deca26a84e7d079366d05aedc8f7388fa6e82e129"
            },
            "downloads": -1,
            "filename": "byteapp_ak-1.15.7.1.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "9e885c8070023cd3e9ca48ec87bc8a8a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 823597,
            "upload_time": "2024-11-03T10:48:06",
            "upload_time_iso_8601": "2024-11-03T10:48:06.156381Z",
            "url": "https://files.pythonhosted.org/packages/40/8b/ee95b92ea424da13ae4465dfd999cc54b9f111351317799534832695acee/byteapp_ak-1.15.7.1.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-03 10:48:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "akfamily",
    "github_project": "byteapp_ak",
    "github_not_found": true,
    "lcname": "byteapp-ak"
}
        
Elapsed time: 0.45478s