Skip to content

Commit

Permalink
Dev (#4521)
Browse files Browse the repository at this point in the history
* add version 1.12.64

* fix stock_board_industry_index_ths

* update date
  • Loading branch information
albertandking authored Feb 22, 2024
1 parent 68c31f9 commit ee34ba2
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 12 deletions.
14 changes: 6 additions & 8 deletions akshare/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2676,9 +2676,10 @@
1.12.61 fix: fix stock_bid_ask_em interface
1.12.62 fix: fix stock_fund_flow_individual interface
1.12.63 add: add akqmt interface
1.12.64 fix: fix stock_board_industry_index_ths interface
"""

__version__ = "1.12.63"
__version__ = "1.12.64"
__author__ = "AKFamily"

import sys
Expand Down Expand Up @@ -5102,10 +5103,7 @@
"""
AKQMT 设置
"""
from akqmt import xt_api


if __name__ == '__main__':
pro = xt_api()
temp_df = pro.get_instrument_detail(stock_code="000001.SZ")
print(temp_df)
try:
from akqmt import xt_api
except ImportError as e:
pass
4 changes: 2 additions & 2 deletions akshare/stock_feature/stock_board_industry_ths.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ def stock_board_industry_index_ths(
) -> pd.DataFrame:
"""
同花顺-板块-行业板块-指数数据
http://q.10jqka.com.cn/gn/detail/code/301558/
https://q.10jqka.com.cn/gn/detail/code/301558/
:param start_date: 开始时间
:type start_date: str
:param end_date: 结束时间
Expand Down Expand Up @@ -657,7 +657,7 @@ def stock_board_industry_summary_ths() -> pd.DataFrame:
print(stock_board_industry_info_ths_df)

stock_board_industry_index_ths_df = stock_board_industry_index_ths(
symbol="半导体及元件", start_date="20200101", end_date="20240108"
symbol="通信服务", start_date="20230825", end_date="20240221"
)
print(stock_board_industry_index_ths_df)

Expand Down
7 changes: 7 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@

## 更新说明详情

1.12.64 fix: fix stock_board_industry_index_ths interface

1. 修复 stock_board_industry_index_ths 接口
2. 修复 akqmt 导入

1.12.63 add: add akqmt interface

1. 新增 akqmt 接口
Expand Down Expand Up @@ -3563,6 +3568,8 @@

## 版本更新说明

1.12.64 fix: fix stock_board_industry_index_ths interface

1.12.63 add: add akqmt interface

1.12.62 fix: fix stock_fund_flow_individual interface
Expand Down
2 changes: 1 addition & 1 deletion docs/data/stock/stock.md
Original file line number Diff line number Diff line change
Expand Up @@ -19820,7 +19820,7 @@ print(stock_board_cons_ths_df)

接口: stock_board_industry_index_ths

目标地址: http://q.10jqka.com.cn/gn/detail/code/301558/
目标地址: https://q.10jqka.com.cn/gn/detail/code/301558/

描述: 同花顺-板块-行业板块-指数日频率数据

Expand Down
2 changes: 1 addition & 1 deletion docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
**风险提示:[AKShare](https://github.com/akfamily/akshare) 开源财经数据接口库所采集的数据皆来自公开的数据源,不涉及任何个人隐私数据和非公开数据。
同时本项目提供的数据接口及相关数据仅用于学术研究,任何个人、机构及团体使用本项目的数据接口及相关数据请注意商业风险。**

1. 本文档更新时间:**2024-02-21**
1. 本文档更新时间:**2024-02-22**
2. 如有 [AKShare](https://github.com/akfamily/akshare) 库、文档及数据的相关问题,请在 [AKShare Issues](https://github.com/akfamily/akshare/issues) 中提 Issues;
3. 欢迎关注 **数据科学实战** 微信公众号:<div><img src="https://jfds-1252952517.cos.ap-chengdu.myqcloud.com/akshare/readme/qrcode/ds.png"></div>;
4. 如果您的问题未能在文档中找到答案,您也可以加入 **AKShare-VIP QQ 群**: 为了提高问答质量,此群为收费群(一杯咖啡钱即可入群,赠送[《AKShare-初阶-使用教学》](https://zmj.xet.tech/s/wck86)视频课),可以添加 **AKShare-小助手** QQ:1254836886,由小助手邀请入群! ![](https://jfds-1252952517.cos.ap-chengdu.myqcloud.com/akshare/readme/qrcode/qr_code_1254836886.jpg)
Expand Down

0 comments on commit ee34ba2

Please sign in to comment.