From b907d76f3a38e2af29082755345aa43bb9fe40c5 Mon Sep 17 00:00:00 2001 From: jindaxiang Date: Sun, 15 Dec 2024 22:17:39 +0800 Subject: [PATCH 1/4] fix: fix stock_zygc_em --- docs/data/stock/stock.md | 63 +++++++++------------------------------- 1 file changed, 13 insertions(+), 50 deletions(-) diff --git a/docs/data/stock/stock.md b/docs/data/stock/stock.md index 57edc37df67..54629f2f6f8 100644 --- a/docs/data/stock/stock.md +++ b/docs/data/stock/stock.md @@ -4631,56 +4631,19 @@ print(stock_zygc_em_df) 数据示例 ``` - 股票代码 报告日期 分类类型 ... 主营利润 利润比例 毛利率 -0 688041 2021-12-31 按产品分类 ... 984716100.0 0.761747 0.655598 -1 688041 2021-12-31 按产品分类 ... 102370900.0 0.079191 0.271176 -2 688041 2021-12-31 按产品分类 ... 83252700.0 0.064402 0.348428 -3 688041 2021-12-31 按产品分类 ... 122326800.0 0.094628 0.637574 -4 688041 2021-12-31 按产品分类 ... 40700.0 0.000031 0.431601 -5 688041 2021-12-31 按产品分类 ... 880201700.0 0.680898 0.720836 -6 688041 2021-12-31 按产品分类 ... 106466300.0 0.082359 0.289718 -7 688041 2021-12-31 按产品分类 ... 104514300.0 0.080849 0.372031 -8 688041 2021-12-31 按产品分类 ... 83252700.0 0.064402 0.348428 -9 688041 2021-12-31 按产品分类 ... 124702500.0 0.096466 0.652495 -10 688041 2021-12-31 按产品分类 ... -4095400.0 -0.003168 -0.408535 -11 688041 2021-12-31 按产品分类 ... -2375600.0 -0.001838 -3.182317 -12 688041 2021-12-31 按地区分类 ... NaN NaN NaN -13 688041 2021-12-31 按地区分类 ... NaN NaN NaN -14 688041 2021-12-31 按地区分类 ... NaN NaN NaN -15 688041 2021-12-31 按地区分类 ... NaN NaN NaN -16 688041 2021-12-31 按地区分类 ... NaN NaN NaN -17 688041 2021-12-31 按地区分类 ... NaN NaN NaN -18 688041 2021-06-30 按产品分类 ... 298423500.0 0.743139 0.767885 -19 688041 2021-06-30 按产品分类 ... 57928200.0 0.144254 0.475693 -20 688041 2021-06-30 按产品分类 ... 45219800.0 0.112607 0.741744 -21 688041 2021-06-30 按地区分类 ... NaN NaN NaN -22 688041 2021-06-30 按地区分类 ... NaN NaN NaN -23 688041 2021-06-30 按地区分类 ... NaN NaN NaN -24 688041 2021-06-30 按地区分类 ... NaN NaN NaN -25 688041 2021-06-30 按地区分类 ... NaN NaN NaN -26 688041 2020-12-31 按产品分类 ... 546891800.0 0.790741 0.695846 -27 688041 2020-12-31 按产品分类 ... 101902800.0 0.147339 0.788001 -28 688041 2020-12-31 按产品分类 ... 42783500.0 0.061860 0.401261 -29 688041 2020-12-31 按产品分类 ... 41600.0 0.000060 0.441145 -30 688041 2020-12-31 按地区分类 ... NaN NaN NaN -31 688041 2020-12-31 按地区分类 ... NaN NaN NaN -32 688041 2020-12-31 按地区分类 ... NaN NaN NaN -33 688041 2020-12-31 按地区分类 ... NaN NaN NaN -34 688041 2020-12-31 按地区分类 ... NaN NaN NaN -35 688041 2020-12-31 按地区分类 ... NaN NaN NaN -36 688041 2019-12-31 按产品分类 ... 233396100.0 0.877175 0.718299 -37 688041 2019-12-31 按产品分类 ... 28995900.0 0.108976 0.593399 -38 688041 2019-12-31 按产品分类 ... 3685000.0 0.013849 0.685926 -39 688041 2019-12-31 按地区分类 ... NaN NaN NaN -40 688041 2019-12-31 按地区分类 ... NaN NaN NaN -41 688041 2019-12-31 按地区分类 ... NaN NaN NaN -42 688041 2019-12-31 按地区分类 ... NaN NaN NaN -43 688041 2019-12-31 按地区分类 ... NaN NaN NaN -44 688041 2018-12-31 按产品分类 ... 35389800.0 0.890480 0.841592 -45 688041 2018-12-31 按产品分类 ... 4352600.0 0.109520 0.792982 -46 688041 2018-12-31 按产品分类 ... NaN NaN NaN -47 688041 2018-12-31 按地区分类 ... NaN NaN NaN -48 688041 2018-12-31 按地区分类 ... NaN NaN NaN + 股票代码 报告日期 分类类型 ... 主营利润 利润比例 毛利率 +0 688041 2024-06-30 按产品分类 ... 2.385020e+09 0.999313 0.634303 +1 688041 2024-06-30 按产品分类 ... 1.639645e+06 0.000687 0.575505 +2 688041 2024-06-30 按地区分类 ... 2.386659e+09 1.000000 0.634259 +3 688041 2023-12-31 NaN ... 3.587141e+09 0.999963 0.596682 +4 688041 2023-12-31 NaN ... 1.337029e+05 0.000037 0.708626 +.. ... ... ... ... ... ... ... +60 688041 2018-12-31 按产品分类 ... 3.538980e+07 0.874818 0.841592 +61 688041 2018-12-31 按产品分类 ... 4.352600e+06 0.107594 0.792982 +62 688041 2018-12-31 按产品分类 ... NaN NaN NaN +63 688041 2018-12-31 按地区分类 ... NaN NaN NaN +64 688041 2018-12-31 按地区分类 ... NaN NaN NaN +[65 rows x 11 columns] ``` ### 主营构成-益盟 From 97743ec681110d4fd164087c04350b2254d0f820 Mon Sep 17 00:00:00 2001 From: jindaxiang Date: Sun, 15 Dec 2024 22:18:09 +0800 Subject: [PATCH 2/4] docs: update date --- docs/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/introduction.md b/docs/introduction.md index e38650ac202..27400c0a306 100644 --- a/docs/introduction.md +++ b/docs/introduction.md @@ -6,7 +6,7 @@ **风险提示**:[AKShare](https://github.com/akfamily/akshare) 开源财经数据接口库所采集的数据皆来自公开的数据源,不涉及任何个人隐私数据和非公开数据。 同时本项目提供的数据接口及相关数据仅用于学术研究,任何个人、机构及团体使用本项目的数据接口及相关数据请注意商业风险。 -1. 本文档更新时间:**2024-12-14**; +1. 本文档更新时间:**2024-12-15**; 2. 如有 [AKShare](https://github.com/akfamily/akshare) 库、文档及数据的相关问题,请在 [AKShare Issues](https://github.com/akfamily/akshare/issues) 中提 Issues; 3. 欢迎关注 **数据科学实战** 微信公众号;
4. **知识星球【数据科学实战】** 2024 全新改版,聚焦于量化投资内容,欢迎加入 **知识星球【数据科学实战】** 高质量社区,里面有丰富的视频课程、问答、文章、书籍及代码等内容: From 6545957b3ddb7a30ffbda0793a95e043d7893db3 Mon Sep 17 00:00:00 2001 From: jindaxiang Date: Mon, 16 Dec 2024 19:36:03 +0800 Subject: [PATCH 3/4] fix: fix stock_mda_ym --- akshare/stock_fundamental/stock_mda_ym.py | 1 + docs/data/stock/stock.md | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/akshare/stock_fundamental/stock_mda_ym.py b/akshare/stock_fundamental/stock_mda_ym.py index 5ba0a9e3cfe..648715dddfe 100644 --- a/akshare/stock_fundamental/stock_mda_ym.py +++ b/akshare/stock_fundamental/stock_mda_ym.py @@ -33,6 +33,7 @@ def stock_mda_ym(symbol: str = "000001") -> pd.DataFrame: ] big_df = pd.DataFrame([year_list, talk_list]).T big_df.columns = ["报告期", "内容"] + big_df.sort_values(by=["报告期"], ignore_index=True, inplace=True) return big_df diff --git a/docs/data/stock/stock.md b/docs/data/stock/stock.md index 54629f2f6f8..fa815dcb84f 100644 --- a/docs/data/stock/stock.md +++ b/docs/data/stock/stock.md @@ -4741,12 +4741,12 @@ print(stock_mda_ym_df) ``` 报告期 内容 -0 2023年度 一、总体经营情况 2023年,面对错综复杂的外部环境,本行坚持以“中国最卓越、全球领先... -1 2023中期 一、总体经营情况 2023年,是全面贯彻落实党的二十大精神的开局之年。年初以来,在以习... -2 2022年度 一、总体经营情况 2022 年,党的二十大胜利召开,这是在全党全国各族人民迈上全面建设... -3 2022中期 一、总体经营情况 2022 年将召开党的二十大,是党和国家事业发展进程中十分重要的一年... -4 2021年度 一、总体经营情况 2021 年是中国共产党成立 100 周年,是我国“十四五”规划的开... -5 2021中期 一、总体经营情况 2021 年是中国共产党建党 100 周年,是我国“十四五”规划的开... +0 2021中期 一、总体经营情况 2021 年是中国共产党建党 100 周年,是我国“十四五”规划的开... +1 2021年度 一、总体经营情况 2021 年是中国共产党成立 100 周年,是我国“十四五”规划的开... +2 2022中期 一、总体经营情况 2022 年将召开党的二十大,是党和国家事业发展进程中十分重要的一年... +3 2022年度 一、总体经营情况 2022 年,党的二十大胜利召开,这是在全党全国各族人民迈上全面建设... +4 2023中期 一、总体经营情况 2023年,是全面贯彻落实党的二十大精神的开局之年。年初以来,在以习... +5 2023年度 一、总体经营情况 2023年,面对错综复杂的外部环境,本行坚持以“中国最卓越、全球领先... ``` ### 股票质押 From 4122eeb132f708f0304568cc9eb2573673eca6ec Mon Sep 17 00:00:00 2001 From: jindaxiang Date: Mon, 16 Dec 2024 19:36:23 +0800 Subject: [PATCH 4/4] feat: add version 1.15.48 --- akshare/__init__.py | 3 ++- docs/changelog.md | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/akshare/__init__.py b/akshare/__init__.py index 0b3b7d86eec..730e803e209 100644 --- a/akshare/__init__.py +++ b/akshare/__init__.py @@ -2957,9 +2957,10 @@ 1.15.45 fix: fix stock_jgdy_detail_em interface 1.15.46 fix: fix fund_etf_fund_info_em interface 1.15.47 fix: fix stock_individual_spot_xq interface +1.15.48 fix: fix stock_mda_ym interface """ -__version__ = "1.15.47" +__version__ = "1.15.48" __author__ = "AKFamily" import sys diff --git a/docs/changelog.md b/docs/changelog.md index c5007a83574..d4af8925c4b 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -80,6 +80,10 @@ ## 更新说明详情 +1.15.48 fix: fix stock_mda_ym interface + + 1. 修复 stock_mda_ym 接口 + 1.15.47 fix: fix stock_individual_spot_xq interface 1. 修复 stock_individual_spot_xq 接口 @@ -4856,6 +4860,8 @@ ## 版本更新说明 +1.15.48 fix: fix stock_mda_ym interface + 1.15.47 fix: fix stock_individual_spot_xq interface 1.15.46 fix: fix fund_etf_fund_info_em interface