diff --git a/akshare/__init__.py b/akshare/__init__.py index 3b877ce2206..b2c90a62287 100644 --- a/akshare/__init__.py +++ b/akshare/__init__.py @@ -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 @@ -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 diff --git a/akshare/stock_feature/stock_board_industry_ths.py b/akshare/stock_feature/stock_board_industry_ths.py index b8490beeb7b..c41f8e26c9c 100644 --- a/akshare/stock_feature/stock_board_industry_ths.py +++ b/akshare/stock_feature/stock_board_industry_ths.py @@ -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: 结束时间 @@ -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) diff --git a/docs/changelog.md b/docs/changelog.md index 1d706e64868..6ee335841bd 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -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 接口 @@ -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 diff --git a/docs/data/stock/stock.md b/docs/data/stock/stock.md index 9d817ea5581..65c4beadf08 100644 --- a/docs/data/stock/stock.md +++ b/docs/data/stock/stock.md @@ -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/ 描述: 同花顺-板块-行业板块-指数日频率数据 diff --git a/docs/introduction.md b/docs/introduction.md index d0742e4f6a8..eae9982ea4c 100644 --- a/docs/introduction.md +++ b/docs/introduction.md @@ -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. 欢迎关注 **数据科学实战** 微信公众号:
; 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)