akshare 1.15.22__py3-none-any.whl → 1.15.23__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of akshare might be problematic. Click here for more details.

akshare/__init__.py CHANGED
@@ -2920,21 +2920,22 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
2920
2920
  1.15.8 fix: fix fund_individual_basic_info_xq interface
2921
2921
  1.15.9 fix: fix index_analysis_weekly_sw interface
2922
2922
  1.15.10 add: add volatility_yz_rv indicator
2923
- 1.15.11 fix: fix stock_individual_spot_xq indicator
2924
- 1.15.12 fix: fix stock_shareholder_change_ths indicator
2925
- 1.15.13 fix: fix stock_inner_trade_xq indicator
2926
- 1.15.14 fix: fix macro_bank_usa_interest_rate indicator
2927
- 1.15.15 add: add macro_bank_china_interest_rate indicator
2928
- 1.15.16 fix: fix macro_bank_usa_interest_rate indicator
2929
- 1.15.17 fix: fix news_trade_notify_dividend_baidu indicator
2930
- 1.15.18 fix: fix stock_share_hold_change_sse indicator
2931
- 1.15.19 fix: fix stock_share_hold_change_szse indicator
2932
- 1.15.20 fix: fix rv_from_stock_zh_a_hist_min_em indicator
2933
- 1.15.21 fix: fix get_futures_daily indicator
2934
- 1.15.22 fix: fix air_quality_hebei indicator
2935
- """
2936
-
2937
- __version__ = "1.15.22"
2923
+ 1.15.11 fix: fix stock_individual_spot_xq interface
2924
+ 1.15.12 fix: fix stock_shareholder_change_ths interface
2925
+ 1.15.13 fix: fix stock_inner_trade_xq interface
2926
+ 1.15.14 fix: fix macro_bank_usa_interest_rate interface
2927
+ 1.15.15 add: add macro_bank_china_interest_rate interface
2928
+ 1.15.16 fix: fix macro_bank_usa_interest_rate interface
2929
+ 1.15.17 fix: fix news_trade_notify_dividend_baidu interface
2930
+ 1.15.18 fix: fix stock_share_hold_change_sse interface
2931
+ 1.15.19 fix: fix stock_share_hold_change_szse interface
2932
+ 1.15.20 fix: fix rv_from_stock_zh_a_hist_min_em interface
2933
+ 1.15.21 fix: fix get_futures_daily interface
2934
+ 1.15.22 fix: fix air_quality_hebei interface
2935
+ 1.15.23 fix: fix stock_sector_fund_flow_summary interface
2936
+ """
2937
+
2938
+ __version__ = "1.15.23"
2938
2939
  __author__ = "AKFamily"
2939
2940
 
2940
2941
  import sys
@@ -353,7 +353,7 @@ def stock_market_fund_flow() -> pd.DataFrame:
353
353
  }
354
354
  r = requests.get(url, params=params, headers=headers)
355
355
  text_data = r.text
356
- json_data = json.loads(text_data[text_data.find("{"): -2])
356
+ json_data = json.loads(text_data[text_data.find("{") : -2])
357
357
  content_list = json_data["data"]["klines"]
358
358
  temp_df = pd.DataFrame([item.split(",") for item in content_list])
359
359
  temp_df.columns = [
@@ -484,7 +484,7 @@ def stock_sector_fund_flow_rank(
484
484
  }
485
485
  r = requests.get(url, params=params, headers=headers)
486
486
  text_data = r.text
487
- json_data = json.loads(text_data[text_data.find("{"): -2])
487
+ json_data = json.loads(text_data[text_data.find("{") : -2])
488
488
  temp_df = pd.DataFrame(json_data["data"]["diff"])
489
489
  if indicator == "今日":
490
490
  temp_df.columns = [
@@ -675,7 +675,7 @@ def stock_sector_fund_flow_summary(
675
675
  params = {
676
676
  "fid": "f62",
677
677
  "po": "1",
678
- "pz": "50",
678
+ "pz": "500",
679
679
  "pn": "1",
680
680
  "np": "1",
681
681
  "fltt": "2",
@@ -764,7 +764,7 @@ def stock_sector_fund_flow_summary(
764
764
  params = {
765
765
  "fid": "f164",
766
766
  "po": "1",
767
- "pz": "50",
767
+ "pz": "500",
768
768
  "pn": "1",
769
769
  "np": "1",
770
770
  "fltt": "2",
@@ -853,7 +853,7 @@ def stock_sector_fund_flow_summary(
853
853
  params = {
854
854
  "fid": "f174",
855
855
  "po": "1",
856
- "pz": "50",
856
+ "pz": "500",
857
857
  "pn": "1",
858
858
  "np": "1",
859
859
  "fltt": "2",
@@ -1296,7 +1296,7 @@ if __name__ == "__main__":
1296
1296
  print(stock_sector_fund_flow_rank_df)
1297
1297
 
1298
1298
  stock_sector_fund_flow_summary_df = stock_sector_fund_flow_summary(
1299
- symbol="电源设备", indicator="今日"
1299
+ symbol="文化传媒", indicator="今日"
1300
1300
  )
1301
1301
  print(stock_sector_fund_flow_summary_df)
1302
1302
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: akshare
3
- Version: 1.15.22
3
+ Version: 1.15.23
4
4
  Summary: AKShare is an elegant and simple financial data interface library for Python, built for human beings!
5
5
  Home-page: https://github.com/akfamily/akshare
6
6
  Author: AKFamily
@@ -1,4 +1,4 @@
1
- akshare/__init__.py,sha256=AXVv2_gqZdsjH1cyySkVhQP5U2Btx4t2ktLayHcBrwc,183797
1
+ akshare/__init__.py,sha256=esnbioSee-xPIEkExyh3X3uOI92OJ81gidK_wjOixfE,183855
2
2
  akshare/datasets.py,sha256=-qdwaQjgBlftX84uM74KJqCYJYkQ50PV416_neA4uls,995
3
3
  akshare/exceptions.py,sha256=WEJjIhSmJ_xXNW6grwV4nufE_cfmmyuhmueVGiN1VAg,878
4
4
  akshare/request.py,sha256=HtFFf9MhfEibR-ETWe-1Tts6ELU4VKSqA-ghaXjegQM,4252
@@ -242,7 +242,7 @@ akshare/stock/stock_cg_guarantee.py,sha256=ts7qcQhhyN1PHB7Q4XlMn38HhfVvubOvky9RZ
242
242
  akshare/stock/stock_cg_lawsuit.py,sha256=6Y92pPw0JgyrInteqHuU07G1jwmdX2wjaDtrJN8y6Hg,4129
243
243
  akshare/stock/stock_dividend_cninfo.py,sha256=_vipLQu94qBDoPkaIWZKRFA0mFfgroUMnn5EdLcjAc4,3195
244
244
  akshare/stock/stock_dzjy_em.py,sha256=AOgZTThw3kr_0N0y6-ujthaVg-OK0EYGGeetD58XqmQ,20519
245
- akshare/stock/stock_fund_em.py,sha256=wTpPCOh6PcwHK8iL8iWBgzIGXLGn5vDo-PLzHVM21xY,48849
245
+ akshare/stock/stock_fund_em.py,sha256=Dnn72I85snGaMHCEmbXNANCfiHCuh7EkWn8t5EwO-HQ,48854
246
246
  akshare/stock/stock_fund_hold.py,sha256=iFEmRFber7MF6aPi0QOJxpvYjO7I26KouUvC-xTQdCk,6056
247
247
  akshare/stock/stock_gsrl_em.py,sha256=oy5vO681ZPTEehZgz10T8jgIQ8dNm_E7MXGr1PGoHqI,1951
248
248
  akshare/stock/stock_hk_famous.py,sha256=g-p1cdRibei9fw2HEMPyarLP-wT4bFwIK7Mxi77jH9E,3015
@@ -383,8 +383,8 @@ akshare/utils/token_process.py,sha256=K4rGXjh_tgugbRcyOK2h2x0jP3PT65IIK7nxhUKhOe
383
383
  akshare/utils/tqdm.py,sha256=MuPNwcswkOGjwWQOMWXi9ZvQ_RmW4obCWRj2i7HM7FE,847
384
384
  tests/__init__.py,sha256=gNzhlO0UPjFq6Ieb38kaVIODXv4cTDByrdohAZnDYt4,82
385
385
  tests/test_func.py,sha256=j1MGYbZI2if2j_LY1S4FLsf4qfq4NwVqD5wmRlv5Log,832
386
- akshare-1.15.22.dist-info/LICENSE,sha256=mmSZCPgfHiVw34LXuFArd-SUgQtBJ_QsIlh-kWlDHfs,1073
387
- akshare-1.15.22.dist-info/METADATA,sha256=5kDb9qRTYO_boKapiejhKgm2GZUwl0WMEfIMa5_vB5k,14259
388
- akshare-1.15.22.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
389
- akshare-1.15.22.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
390
- akshare-1.15.22.dist-info/RECORD,,
386
+ akshare-1.15.23.dist-info/LICENSE,sha256=mmSZCPgfHiVw34LXuFArd-SUgQtBJ_QsIlh-kWlDHfs,1073
387
+ akshare-1.15.23.dist-info/METADATA,sha256=0kcABUk8XOdxJRS6un15HoVO_B8aDt_FkolY7hRA-8Y,14259
388
+ akshare-1.15.23.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
389
+ akshare-1.15.23.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
390
+ akshare-1.15.23.dist-info/RECORD,,