akshare 1.15.7__py3-none-any.whl → 1.15.9__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
@@ -2917,9 +2917,11 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
2917
2917
  1.15.5 fix: fix stock_individual_spot_xq interface
2918
2918
  1.15.6 fix: fix qdii_e_index_jsl interface
2919
2919
  1.15.7 fix: fix index_hist_sw interface
2920
+ 1.15.8 fix: fix fund_individual_basic_info_xq interface
2921
+ 1.15.9 fix: fix index_analysis_weekly_sw interface
2920
2922
  """
2921
2923
 
2922
- __version__ = "1.15.7"
2924
+ __version__ = "1.15.9"
2923
2925
  __author__ = "AKFamily"
2924
2926
 
2925
2927
  import sys
akshare/fund/fund_xq.py CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env python
2
2
  # -*- coding:utf-8 -*-
3
3
  """
4
- Date: 2024/01/16 23:40
4
+ Date: 2024/10/27 22:30
5
5
  Desc: 雪球基金-基金详情
6
6
  https://danjuanfunds.com/funding/003545
7
7
  """
@@ -25,7 +25,8 @@ def fund_individual_basic_info_xq(
25
25
  """
26
26
  url = f"https://danjuanfunds.com/djapi/fund/{symbol}"
27
27
  headers = {
28
- "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36"
28
+ "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "
29
+ "Chrome/80.0.3987.149 Safari/537.36"
29
30
  }
30
31
  r = requests.get(url, headers=headers, timeout=timeout)
31
32
  json_data = r.json()["data"]
@@ -549,7 +549,7 @@ if __name__ == "__main__":
549
549
  print(index_realtime_sw_df)
550
550
 
551
551
  index_analysis_daily_sw_df = index_analysis_daily_sw(
552
- symbol="市场表征", start_date="20240521", end_date="20240521"
552
+ symbol="市场表征", start_date="20241025", end_date="20241025"
553
553
  )
554
554
  print(index_analysis_daily_sw_df)
555
555
 
@@ -557,7 +557,7 @@ if __name__ == "__main__":
557
557
  print(index_analysis_week_month_sw_df)
558
558
 
559
559
  index_analysis_weekly_sw_df = index_analysis_weekly_sw(
560
- symbol="市场表征", date="20240329"
560
+ symbol="市场表征", date="20241025"
561
561
  )
562
562
  print(index_analysis_weekly_sw_df)
563
563
 
@@ -380,13 +380,13 @@ def stock_zh_index_daily_em(
380
380
 
381
381
 
382
382
  if __name__ == "__main__":
383
- stock_zh_index_daily_df = stock_zh_index_daily(symbol="sz399905")
383
+ stock_zh_index_daily_df = stock_zh_index_daily(symbol="sh000510")
384
384
  print(stock_zh_index_daily_df)
385
385
 
386
386
  stock_zh_index_spot_sina_df = stock_zh_index_spot_sina()
387
387
  print(stock_zh_index_spot_sina_df)
388
388
 
389
- stock_zh_index_spot_em_df = stock_zh_index_spot_em(symbol="上证系列指数")
389
+ stock_zh_index_spot_em_df = stock_zh_index_spot_em(symbol="中证系列指数")
390
390
  print(stock_zh_index_spot_em_df)
391
391
 
392
392
  stock_zh_index_daily_tx_df = stock_zh_index_daily_tx(symbol="sh000919")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: akshare
3
- Version: 1.15.7
3
+ Version: 1.15.9
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
@@ -340,6 +340,6 @@ Thanks for the tutorials provided by [微信公众号: Python大咖谈](https://
340
340
 
341
341
  ## Backer and Sponsor
342
342
 
343
- <a href="https://www.jetbrains.com/?from=jindaxiang/akshare" target="_blank">
344
- <img alt="jetbrains" src="https://github.com/akfamily/akshare/blob/main/assets/images/jetbrains.svg" width="100px" height="100px">
343
+ <a href="https://www.jetbrains.com/?from=albertandking/akshare" target="_blank">
344
+ <img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" alt="JetBrains logo.">
345
345
  </a>
@@ -1,4 +1,4 @@
1
- akshare/__init__.py,sha256=vfCF9ySFLGxFuyhcKTsyFu6lc2fITKrzVvB8O4jO7IM,182761
1
+ akshare/__init__.py,sha256=jqNKxIz9aIT8THYeuEIf_pKnAE4SMsJPUyE4l63dHFw,182868
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
@@ -100,7 +100,7 @@ akshare/fund/fund_rating.py,sha256=oBZTOBaiC9RMfTK2XGKIMY58sPxc7M6GlMJ3_M3i0lQ,1
100
100
  akshare/fund/fund_report_cninfo.py,sha256=rhztaa3J48VdnCEXFAl8wMg-P7MI2iQa0HculkvL8CI,8785
101
101
  akshare/fund/fund_scale_em.py,sha256=8XLZpz9DzsAnJCo1moBmzf3u7mfZNZHsb3cPKJ-gCJM,4237
102
102
  akshare/fund/fund_scale_sina.py,sha256=A0qIzWBQdE3IGS9-cxO9_FNpuH-BAG5HhPk5KzTFTFc,8167
103
- akshare/fund/fund_xq.py,sha256=qGMKYC0Vi2AXfnjsS0P9B2ITfpkQ85i4ayXA6kJ6a7o,11295
103
+ akshare/fund/fund_xq.py,sha256=AxMZB-940bNY7-BatVLZiseHNxiWA17hQzTfuxGibPU,11306
104
104
  akshare/futures/__init__.py,sha256=RMTf1bT5EOE3ttWpn3hGu1LtUmsVxDoa0W7W0gXHOy8,81
105
105
  akshare/futures/cons.py,sha256=sc0LW_k_Poc3V3r_Mz8DiKfLy7aisda28pK0u8ffMus,16193
106
106
  akshare/futures/cot.py,sha256=Kkza2slS7JQpXndKrQEEykzIjZIT3vhvtZHVJ7P1yac,58573
@@ -165,11 +165,11 @@ akshare/index/index_kq_fz.py,sha256=Y-cbxWLpRyGcFcMSDxZZQXdAuD85IuQH5xC2rhtGbRc,
165
165
  akshare/index/index_kq_ss.py,sha256=m4hAMNnzHk8JNAnKjkYYVeyG4zUC5zR5i0-u-OxmaGU,3333
166
166
  akshare/index/index_option_qvix.py,sha256=sCx0iiIetkp5ELE9sDwesVFgJNfa_1tAEWVCJI-I2u4,3270
167
167
  akshare/index/index_research_fund_sw.py,sha256=kVYjBl3vZg6CyYBCrxZiSv8taHMnqmG7PQ-LVmMNd3I,4603
168
- akshare/index/index_research_sw.py,sha256=w9_weAnaUQcoW_qoK89bz3iHvkJR4VseMrHZjLSNUrc,21758
168
+ akshare/index/index_research_sw.py,sha256=EbyrxSxHclqXK5-IW5YbkZd7J5s-gBtrfayymvrlQw8,21758
169
169
  akshare/index/index_spot.py,sha256=HrXt2QC9i1pYEh7wyJPKjtexctzSIUyMjEzk5BQq_K8,1696
170
170
  akshare/index/index_stock_hk.py,sha256=nPFzRrjyiUpRK-OSDsdi5AFCKHNKqOVji6WJcQxOvNo,9781
171
171
  akshare/index/index_stock_us_sina.py,sha256=IxOk4G49oasv7EfEQenL9-GLuelyUus6c4JPyRlaOzY,1551
172
- akshare/index/index_stock_zh.py,sha256=FscDLEPYdVbbykknvb3bwDCIA_I6VzeuZ-JsIuMr828,14873
172
+ akshare/index/index_stock_zh.py,sha256=WkXd3A8gc1hgPJPR4znRbLfrqMeTivLS7L449TlOBdE,14873
173
173
  akshare/index/index_stock_zh_csindex.py,sha256=kRWl1c30OOhLj_mLCBoxOJdgE9KxEUqJf7Hjmu-tLfo,13110
174
174
  akshare/index/index_sugar.py,sha256=B_Nj9Q6JP-Y_d7myZ0C79izTxxrbuZIp1Vv_CilVMOc,5006
175
175
  akshare/index/index_sw.py,sha256=n757dUfNEsaZGk_eCxeetZi3pktBBYLVEMM7f9U_XjM,10174
@@ -381,8 +381,8 @@ akshare/utils/token_process.py,sha256=K4rGXjh_tgugbRcyOK2h2x0jP3PT65IIK7nxhUKhOe
381
381
  akshare/utils/tqdm.py,sha256=MuPNwcswkOGjwWQOMWXi9ZvQ_RmW4obCWRj2i7HM7FE,847
382
382
  tests/__init__.py,sha256=gNzhlO0UPjFq6Ieb38kaVIODXv4cTDByrdohAZnDYt4,82
383
383
  tests/test_func.py,sha256=j1MGYbZI2if2j_LY1S4FLsf4qfq4NwVqD5wmRlv5Log,832
384
- akshare-1.15.7.dist-info/LICENSE,sha256=mmSZCPgfHiVw34LXuFArd-SUgQtBJ_QsIlh-kWlDHfs,1073
385
- akshare-1.15.7.dist-info/METADATA,sha256=nXpTBhzgpBffj0ByJRW5ESf-hAvSI_cbh7cQouc7mKw,14162
386
- akshare-1.15.7.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
387
- akshare-1.15.7.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
388
- akshare-1.15.7.dist-info/RECORD,,
384
+ akshare-1.15.9.dist-info/LICENSE,sha256=mmSZCPgfHiVw34LXuFArd-SUgQtBJ_QsIlh-kWlDHfs,1073
385
+ akshare-1.15.9.dist-info/METADATA,sha256=7Zw_hSu3RGidWw9Aq7_hjkxjGwYMYu-6iw-DKXJ8Ubw,14151
386
+ akshare-1.15.9.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
387
+ akshare-1.15.9.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
388
+ akshare-1.15.9.dist-info/RECORD,,