akshare 1.16.1__py3-none-any.whl → 1.16.2__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/stock/stock_board_industry_em.py +6 -6
- {akshare-1.16.1.dist-info → akshare-1.16.2.dist-info}/METADATA +1 -1
- {akshare-1.16.1.dist-info → akshare-1.16.2.dist-info}/RECORD +7 -7
- {akshare-1.16.1.dist-info → akshare-1.16.2.dist-info}/LICENSE +0 -0
- {akshare-1.16.1.dist-info → akshare-1.16.2.dist-info}/WHEEL +0 -0
- {akshare-1.16.1.dist-info → akshare-1.16.2.dist-info}/top_level.txt +0 -0
akshare/__init__.py
CHANGED
|
@@ -3010,9 +3010,10 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
|
|
|
3010
3010
|
1.15.98 fix: fix stock_board_concept_name_em interface
|
|
3011
3011
|
1.15.99 fix: fix stock_esg_zd_sina interface
|
|
3012
3012
|
1.16.1 fix: fix stock_main_fund_flow interface
|
|
3013
|
+
1.16.2 fix: fix stock_board_industry_hist_em interface
|
|
3013
3014
|
"""
|
|
3014
3015
|
|
|
3015
|
-
__version__ = "1.16.
|
|
3016
|
+
__version__ = "1.16.2"
|
|
3016
3017
|
__author__ = "AKFamily"
|
|
3017
3018
|
|
|
3018
3019
|
import sys
|
|
@@ -22,9 +22,9 @@ def stock_board_industry_name_em() -> pd.DataFrame:
|
|
|
22
22
|
url = "https://17.push2.eastmoney.com/api/qt/clist/get"
|
|
23
23
|
params = {
|
|
24
24
|
"pn": "1",
|
|
25
|
-
"pz": "
|
|
25
|
+
"pz": "50000",
|
|
26
26
|
"po": "1",
|
|
27
|
-
"np": "
|
|
27
|
+
"np": "2",
|
|
28
28
|
"ut": "bd1d9ddb04089700cf9c27f6f7426281",
|
|
29
29
|
"fltt": "2",
|
|
30
30
|
"invt": "2",
|
|
@@ -37,7 +37,7 @@ def stock_board_industry_name_em() -> pd.DataFrame:
|
|
|
37
37
|
}
|
|
38
38
|
r = requests.get(url, params=params)
|
|
39
39
|
data_json = r.json()
|
|
40
|
-
temp_df = pd.DataFrame(data_json["data"]["diff"])
|
|
40
|
+
temp_df = pd.DataFrame(data_json["data"]["diff"]).T
|
|
41
41
|
temp_df.reset_index(inplace=True)
|
|
42
42
|
temp_df["index"] = temp_df.index + 1
|
|
43
43
|
temp_df.columns = [
|
|
@@ -385,9 +385,9 @@ def stock_board_industry_cons_em(symbol: str = "小金属") -> pd.DataFrame:
|
|
|
385
385
|
url = "http://29.push2.eastmoney.com/api/qt/clist/get"
|
|
386
386
|
params = {
|
|
387
387
|
"pn": "1",
|
|
388
|
-
"pz": "
|
|
388
|
+
"pz": "50000",
|
|
389
389
|
"po": "1",
|
|
390
|
-
"np": "
|
|
390
|
+
"np": "2",
|
|
391
391
|
"ut": "bd1d9ddb04089700cf9c27f6f7426281",
|
|
392
392
|
"fltt": "2",
|
|
393
393
|
"invt": "2",
|
|
@@ -399,7 +399,7 @@ def stock_board_industry_cons_em(symbol: str = "小金属") -> pd.DataFrame:
|
|
|
399
399
|
}
|
|
400
400
|
r = requests.get(url, params=params)
|
|
401
401
|
data_json = r.json()
|
|
402
|
-
temp_df = pd.DataFrame(data_json["data"]["diff"])
|
|
402
|
+
temp_df = pd.DataFrame(data_json["data"]["diff"]).T
|
|
403
403
|
temp_df.reset_index(inplace=True)
|
|
404
404
|
temp_df["index"] = range(1, len(temp_df) + 1)
|
|
405
405
|
temp_df.columns = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
akshare/__init__.py,sha256=
|
|
1
|
+
akshare/__init__.py,sha256=5CyzzlkBhnUIdIFQDFJkaQDZ0IwrpdkpRRTu89bKies,187624
|
|
2
2
|
akshare/datasets.py,sha256=rKuRNZrqi6IMsZ9nyvO3Rx02js0tH3zMLjz8HQNAoPQ,963
|
|
3
3
|
akshare/exceptions.py,sha256=WEJjIhSmJ_xXNW6grwV4nufE_cfmmyuhmueVGiN1VAg,878
|
|
4
4
|
akshare/request.py,sha256=HtFFf9MhfEibR-ETWe-1Tts6ELU4VKSqA-ghaXjegQM,4252
|
|
@@ -232,7 +232,7 @@ akshare/stock/cons.py,sha256=0oyUW5Pu-iQ3qgh-TFemM_O5f1fAwVe-PsI4Qa8EYpQ,42956
|
|
|
232
232
|
akshare/stock/stock_allotment_cninfo.py,sha256=OVjVdWp2XVRNbJvVgtgVVoBmPBJgBB4RyIIgA_9QHM8,6066
|
|
233
233
|
akshare/stock/stock_ask_bid_em.py,sha256=nXQhYIpU4k7GUc7nthWC29zVS9GhYb9ppQTLD0gycF4,3438
|
|
234
234
|
akshare/stock/stock_board_concept_em.py,sha256=8_XxPk1GrkEpfBdvXNYiFZWd4i328eAasCKJMyZ3KlQ,15024
|
|
235
|
-
akshare/stock/stock_board_industry_em.py,sha256=
|
|
235
|
+
akshare/stock/stock_board_industry_em.py,sha256=ViXBcqSfUnBSvCDo-D7ZRupd9PpI1uEQ19KMAuGxGuQ,16201
|
|
236
236
|
akshare/stock/stock_cg_equity_mortgage.py,sha256=Pui5aWKKPwGuKjF_GNpejDzsMGNPrxiaJviLz3x2e9I,3426
|
|
237
237
|
akshare/stock/stock_cg_guarantee.py,sha256=ts7qcQhhyN1PHB7Q4XlMn38HhfVvubOvky9RZfmUP94,3844
|
|
238
238
|
akshare/stock/stock_cg_lawsuit.py,sha256=6Y92pPw0JgyrInteqHuU07G1jwmdX2wjaDtrJN8y6Hg,4129
|
|
@@ -380,8 +380,8 @@ akshare/utils/token_process.py,sha256=K4rGXjh_tgugbRcyOK2h2x0jP3PT65IIK7nxhUKhOe
|
|
|
380
380
|
akshare/utils/tqdm.py,sha256=MuPNwcswkOGjwWQOMWXi9ZvQ_RmW4obCWRj2i7HM7FE,847
|
|
381
381
|
tests/__init__.py,sha256=gNzhlO0UPjFq6Ieb38kaVIODXv4cTDByrdohAZnDYt4,82
|
|
382
382
|
tests/test_func.py,sha256=j1MGYbZI2if2j_LY1S4FLsf4qfq4NwVqD5wmRlv5Log,832
|
|
383
|
-
akshare-1.16.
|
|
384
|
-
akshare-1.16.
|
|
385
|
-
akshare-1.16.
|
|
386
|
-
akshare-1.16.
|
|
387
|
-
akshare-1.16.
|
|
383
|
+
akshare-1.16.2.dist-info/LICENSE,sha256=mmSZCPgfHiVw34LXuFArd-SUgQtBJ_QsIlh-kWlDHfs,1073
|
|
384
|
+
akshare-1.16.2.dist-info/METADATA,sha256=G9VObBvjxnQVWaRZ96JM-fd_qSNLBm66Ta9o_uzxX7Y,13678
|
|
385
|
+
akshare-1.16.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
386
|
+
akshare-1.16.2.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
|
|
387
|
+
akshare-1.16.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|