akshare 1.15.1__py3-none-any.whl → 1.15.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_feature/stock_a_pe_and_pb.py +11 -2
- {akshare-1.15.1.dist-info → akshare-1.15.2.dist-info}/METADATA +1 -1
- {akshare-1.15.1.dist-info → akshare-1.15.2.dist-info}/RECORD +7 -7
- {akshare-1.15.1.dist-info → akshare-1.15.2.dist-info}/LICENSE +0 -0
- {akshare-1.15.1.dist-info → akshare-1.15.2.dist-info}/WHEEL +0 -0
- {akshare-1.15.1.dist-info → akshare-1.15.2.dist-info}/top_level.txt +0 -0
akshare/__init__.py
CHANGED
|
@@ -2911,9 +2911,10 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
|
|
|
2911
2911
|
1.14.98 fix: fix futures_hold_pos_sina interface
|
|
2912
2912
|
1.14.99 fix: fix stock_a_ttm_lyr interface
|
|
2913
2913
|
1.15.1 fix: fix stock_a_all_pb interface
|
|
2914
|
+
1.15.2 fix: fix stock_index_pe_lg interface
|
|
2914
2915
|
"""
|
|
2915
2916
|
|
|
2916
|
-
__version__ = "1.15.
|
|
2917
|
+
__version__ = "1.15.2"
|
|
2917
2918
|
__author__ = "AKFamily"
|
|
2918
2919
|
|
|
2919
2920
|
import sys
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python
|
|
2
2
|
# -*- coding:utf-8 -*-
|
|
3
3
|
"""
|
|
4
|
-
Date: 2024/
|
|
4
|
+
Date: 2024/10/19 21:30
|
|
5
5
|
Desc: 乐咕乐股-A 股市盈率和市净率
|
|
6
6
|
https://legulegu.com/stockdata/shanghaiPE
|
|
7
7
|
"""
|
|
@@ -9,8 +9,8 @@ https://legulegu.com/stockdata/shanghaiPE
|
|
|
9
9
|
from datetime import datetime
|
|
10
10
|
|
|
11
11
|
import pandas as pd
|
|
12
|
-
import requests
|
|
13
12
|
import py_mini_racer
|
|
13
|
+
import requests
|
|
14
14
|
|
|
15
15
|
from akshare.stock_feature.stock_a_indicator import get_cookie_csrf
|
|
16
16
|
|
|
@@ -559,10 +559,19 @@ def stock_index_pb_lg(symbol: str = "上证50") -> pd.DataFrame:
|
|
|
559
559
|
|
|
560
560
|
|
|
561
561
|
if __name__ == "__main__":
|
|
562
|
+
stock_market_pe_lg_df = stock_market_pe_lg(symbol="上证")
|
|
563
|
+
print(stock_market_pe_lg_df)
|
|
564
|
+
|
|
565
|
+
stock_market_pe_lg_df = stock_market_pe_lg(symbol="科创版")
|
|
566
|
+
print(stock_market_pe_lg_df)
|
|
567
|
+
|
|
562
568
|
for item in {"上证", "深证", "创业板", "科创版"}:
|
|
563
569
|
stock_market_pe_lg_df = stock_market_pe_lg(symbol=item)
|
|
564
570
|
print(stock_market_pe_lg_df)
|
|
565
571
|
|
|
572
|
+
stock_index_pe_lg_df = stock_index_pe_lg(symbol="上证50")
|
|
573
|
+
print(stock_index_pe_lg_df)
|
|
574
|
+
|
|
566
575
|
for item in [
|
|
567
576
|
"上证50",
|
|
568
577
|
"沪深300",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
akshare/__init__.py,sha256=
|
|
1
|
+
akshare/__init__.py,sha256=hK0qIyOmVUc1EmTWEhz0Yb9jf_vZKl9VEq_0IxMCXTU,182347
|
|
2
2
|
akshare/datasets.py,sha256=-qdwaQjgBlftX84uM74KJqCYJYkQ50PV416_neA4uls,995
|
|
3
3
|
akshare/air/__init__.py,sha256=RMTf1bT5EOE3ttWpn3hGu1LtUmsVxDoa0W7W0gXHOy8,81
|
|
4
4
|
akshare/air/air_hebei.py,sha256=xIXNGLK7IGYqrkteM9fxnHAwWqk6PCQs6D9-ggZ7byY,4442
|
|
@@ -287,7 +287,7 @@ akshare/stock_feature/cons.py,sha256=UgwXlae3UpVRuhTt33nP-jmhNyug2mZLzuMgLja6pbA
|
|
|
287
287
|
akshare/stock_feature/stock_a_below_net_asset_statistics.py,sha256=XrhZI-wLuXXufI5Nh1l9gUx9x7f0iDtdtKa14wexo54,2653
|
|
288
288
|
akshare/stock_feature/stock_a_high_low.py,sha256=xS7btdwjlMvxrOu0I3qhezOqLV0gUuHl66FLB_ioxTo,2044
|
|
289
289
|
akshare/stock_feature/stock_a_indicator.py,sha256=jOb9EVtPgcDPVziy_ZAo0RqHL3eoviwycbvp9Sr5wQw,4818
|
|
290
|
-
akshare/stock_feature/stock_a_pe_and_pb.py,sha256=
|
|
290
|
+
akshare/stock_feature/stock_a_pe_and_pb.py,sha256=wf6AuJOCKwfYxskbrLjIjz21a1MzYvpjiCM6dSWfpfo,18604
|
|
291
291
|
akshare/stock_feature/stock_account_em.py,sha256=PA-531xnv5uerFrYGc40mk8q8O0DGciHC_XVlE9udis,3342
|
|
292
292
|
akshare/stock_feature/stock_all_pb.py,sha256=2yQLq03qXNbTB5AtJ-Q8uJldOluElH5zTjYneY3aaZ0,1194
|
|
293
293
|
akshare/stock_feature/stock_analyst_em.py,sha256=Md3_G-Px0O1lk4dx5dCEKl8Vjgwt79Sh-FSh_sW1Elo,9508
|
|
@@ -378,8 +378,8 @@ akshare/utils/token_process.py,sha256=K4rGXjh_tgugbRcyOK2h2x0jP3PT65IIK7nxhUKhOe
|
|
|
378
378
|
akshare/utils/tqdm.py,sha256=MuPNwcswkOGjwWQOMWXi9ZvQ_RmW4obCWRj2i7HM7FE,847
|
|
379
379
|
tests/__init__.py,sha256=gNzhlO0UPjFq6Ieb38kaVIODXv4cTDByrdohAZnDYt4,82
|
|
380
380
|
tests/test_func.py,sha256=j1MGYbZI2if2j_LY1S4FLsf4qfq4NwVqD5wmRlv5Log,832
|
|
381
|
-
akshare-1.15.
|
|
382
|
-
akshare-1.15.
|
|
383
|
-
akshare-1.15.
|
|
384
|
-
akshare-1.15.
|
|
385
|
-
akshare-1.15.
|
|
381
|
+
akshare-1.15.2.dist-info/LICENSE,sha256=mmSZCPgfHiVw34LXuFArd-SUgQtBJ_QsIlh-kWlDHfs,1073
|
|
382
|
+
akshare-1.15.2.dist-info/METADATA,sha256=3qYR1nBXwpwCbcuGW06TB3JpsvStNmEtphnLhXFthjA,14162
|
|
383
|
+
akshare-1.15.2.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
|
384
|
+
akshare-1.15.2.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
|
|
385
|
+
akshare-1.15.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|