akshare 1.15.7__py3-none-any.whl → 1.15.8__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 +2 -1
- akshare/fund/fund_xq.py +3 -2
- akshare/index/index_stock_zh.py +2 -2
- {akshare-1.15.7.dist-info → akshare-1.15.8.dist-info}/METADATA +1 -1
- {akshare-1.15.7.dist-info → akshare-1.15.8.dist-info}/RECORD +8 -8
- {akshare-1.15.7.dist-info → akshare-1.15.8.dist-info}/LICENSE +0 -0
- {akshare-1.15.7.dist-info → akshare-1.15.8.dist-info}/WHEEL +0 -0
- {akshare-1.15.7.dist-info → akshare-1.15.8.dist-info}/top_level.txt +0 -0
akshare/__init__.py
CHANGED
|
@@ -2917,9 +2917,10 @@ 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
|
|
2920
2921
|
"""
|
|
2921
2922
|
|
|
2922
|
-
__version__ = "1.15.
|
|
2923
|
+
__version__ = "1.15.8"
|
|
2923
2924
|
__author__ = "AKFamily"
|
|
2924
2925
|
|
|
2925
2926
|
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/
|
|
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)
|
|
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"]
|
akshare/index/index_stock_zh.py
CHANGED
|
@@ -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="
|
|
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,4 +1,4 @@
|
|
|
1
|
-
akshare/__init__.py,sha256=
|
|
1
|
+
akshare/__init__.py,sha256=La5D3W1R6NobwmwsNtXtfJfLvFME6h9GYyDeCeDNX_k,182817
|
|
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=
|
|
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
|
|
@@ -169,7 +169,7 @@ akshare/index/index_research_sw.py,sha256=w9_weAnaUQcoW_qoK89bz3iHvkJR4VseMrHZjL
|
|
|
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=
|
|
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.
|
|
385
|
-
akshare-1.15.
|
|
386
|
-
akshare-1.15.
|
|
387
|
-
akshare-1.15.
|
|
388
|
-
akshare-1.15.
|
|
384
|
+
akshare-1.15.8.dist-info/LICENSE,sha256=mmSZCPgfHiVw34LXuFArd-SUgQtBJ_QsIlh-kWlDHfs,1073
|
|
385
|
+
akshare-1.15.8.dist-info/METADATA,sha256=sIQtL55MrWjXbc85ZdXL9rT8FkRJelyzDRkE9P70U6k,14162
|
|
386
|
+
akshare-1.15.8.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
|
387
|
+
akshare-1.15.8.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
|
|
388
|
+
akshare-1.15.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|