akshare 1.16.22__py3-none-any.whl → 1.16.24__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.
- akshare/__init__.py +13 -3
- akshare/stock/stock_board_concept_em.py +9 -6
- akshare/stock/stock_board_industry_em.py +8 -5
- akshare/stock_fundamental/{stock_finance_hk.py → stock_finance_hk_em.py} +22 -15
- akshare/stock_fundamental/stock_finance_us_em.py +227 -0
- {akshare-1.16.22.dist-info → akshare-1.16.24.dist-info}/METADATA +1 -1
- {akshare-1.16.22.dist-info → akshare-1.16.24.dist-info}/RECORD +11 -10
- /akshare/stock_fundamental/{stock_finance.py → stock_finance_sina.py} +0 -0
- {akshare-1.16.22.dist-info → akshare-1.16.24.dist-info}/LICENSE +0 -0
- {akshare-1.16.22.dist-info → akshare-1.16.24.dist-info}/WHEEL +0 -0
- {akshare-1.16.22.dist-info → akshare-1.16.24.dist-info}/top_level.txt +0 -0
akshare/__init__.py
CHANGED
@@ -3031,9 +3031,11 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
|
|
3031
3031
|
1.16.20 fix: fix stock_lhb_detail_em interface
|
3032
3032
|
1.16.21 fix: fix stock_hk_index_daily_em interface
|
3033
3033
|
1.16.22 fix: fix fund_money_fund_info_em interface
|
3034
|
+
1.16.23 fix: fix stock_board_industry_cons_em interface
|
3035
|
+
1.16.24 fix: fix stock_financial_hk_report_em interface
|
3034
3036
|
"""
|
3035
3037
|
|
3036
|
-
__version__ = "1.16.
|
3038
|
+
__version__ = "1.16.24"
|
3037
3039
|
__author__ = "AKFamily"
|
3038
3040
|
|
3039
3041
|
import sys
|
@@ -3055,6 +3057,14 @@ if sys.version_info < (3, 9):
|
|
3055
3057
|
|
3056
3058
|
del sys
|
3057
3059
|
|
3060
|
+
"""
|
3061
|
+
东方财富-美股-财务分析-三大报表
|
3062
|
+
"""
|
3063
|
+
from akshare.stock_fundamental.stock_finance_us_em import (
|
3064
|
+
stock_financial_us_report_em,
|
3065
|
+
stock_financial_us_analysis_indicator_em,
|
3066
|
+
)
|
3067
|
+
|
3058
3068
|
"""
|
3059
3069
|
期货行情-内盘-历史行情数据-东财
|
3060
3070
|
"""
|
@@ -4674,7 +4684,7 @@ from akshare.stock.stock_industry import stock_sector_spot, stock_sector_detail
|
|
4674
4684
|
"""
|
4675
4685
|
stock-fundamental
|
4676
4686
|
"""
|
4677
|
-
from akshare.stock_fundamental.
|
4687
|
+
from akshare.stock_fundamental.stock_finance_sina import (
|
4678
4688
|
stock_financial_abstract,
|
4679
4689
|
stock_financial_report_sina,
|
4680
4690
|
stock_financial_analysis_indicator,
|
@@ -4691,7 +4701,7 @@ from akshare.stock_fundamental.stock_finance import (
|
|
4691
4701
|
"""
|
4692
4702
|
stock-HK-fundamental
|
4693
4703
|
"""
|
4694
|
-
from akshare.stock_fundamental.
|
4704
|
+
from akshare.stock_fundamental.stock_finance_hk_em import (
|
4695
4705
|
stock_financial_hk_analysis_indicator_em,
|
4696
4706
|
stock_financial_hk_report_em,
|
4697
4707
|
)
|
@@ -436,15 +436,18 @@ def stock_board_concept_cons_em(symbol: str = "融资融券") -> pd.DataFrame:
|
|
436
436
|
"""
|
437
437
|
东方财富-沪深板块-概念板块-板块成份
|
438
438
|
https://quote.eastmoney.com/center/boardlist.html#boards-BK06551
|
439
|
-
:param symbol:
|
439
|
+
:param symbol: 板块名称或者板块代码
|
440
440
|
:type symbol: str
|
441
441
|
:return: 板块成份
|
442
442
|
:rtype: pandas.DataFrame
|
443
443
|
"""
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
444
|
+
if re.match(pattern=r"^BK\d+", string=symbol):
|
445
|
+
stock_board_code = symbol
|
446
|
+
else:
|
447
|
+
stock_board_concept_em_map = __stock_board_concept_name_em()
|
448
|
+
stock_board_code = stock_board_concept_em_map[
|
449
|
+
stock_board_concept_em_map["板块名称"] == symbol
|
450
|
+
]["板块代码"].values[0]
|
448
451
|
url = "https://29.push2.eastmoney.com/api/qt/clist/get"
|
449
452
|
params = {
|
450
453
|
"pn": "1",
|
@@ -557,5 +560,5 @@ if __name__ == "__main__":
|
|
557
560
|
)
|
558
561
|
print(stock_board_concept_hist_min_em_df)
|
559
562
|
|
560
|
-
stock_board_concept_cons_em_df = stock_board_concept_cons_em(symbol="
|
563
|
+
stock_board_concept_cons_em_df = stock_board_concept_cons_em(symbol="BK0655")
|
561
564
|
print(stock_board_concept_cons_em_df)
|
@@ -475,15 +475,18 @@ def stock_board_industry_cons_em(symbol: str = "小金属") -> pd.DataFrame:
|
|
475
475
|
"""
|
476
476
|
东方财富网-沪深板块-行业板块-板块成份
|
477
477
|
https://data.eastmoney.com/bkzj/BK1027.html
|
478
|
-
:param symbol:
|
478
|
+
:param symbol: 板块名称或者板块代码
|
479
479
|
:type symbol: str
|
480
480
|
:return: 板块成份
|
481
481
|
:rtype: pandas.DataFrame
|
482
482
|
"""
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
483
|
+
if re.match(pattern=r"^BK\d+", string=symbol):
|
484
|
+
stock_board_code = symbol
|
485
|
+
else:
|
486
|
+
stock_board_concept_em_map = __stock_board_industry_name_em()
|
487
|
+
stock_board_code = stock_board_concept_em_map[
|
488
|
+
stock_board_concept_em_map["板块名称"] == symbol
|
489
|
+
]["板块代码"].values[0]
|
487
490
|
url = "https://29.push2.eastmoney.com/api/qt/clist/get"
|
488
491
|
params = {
|
489
492
|
"pn": "1",
|
@@ -1,10 +1,11 @@
|
|
1
1
|
#!/usr/bin/env python
|
2
2
|
# -*- coding:utf-8 -*-
|
3
3
|
"""
|
4
|
-
Date:
|
4
|
+
Date: 2025/3/4 17:00
|
5
5
|
Desc: 港股-基本面数据
|
6
6
|
https://emweb.securities.eastmoney.com/PC_HKF10/FinancialAnalysis/index?type=web&code=00700
|
7
7
|
"""
|
8
|
+
|
8
9
|
import pandas as pd
|
9
10
|
import requests
|
10
11
|
|
@@ -20,32 +21,34 @@ def stock_financial_hk_report_em(
|
|
20
21
|
:param symbol: choice of {"资产负债表", "利润表", "现金流量表"}
|
21
22
|
:type symbol: str
|
22
23
|
:param indicator: choice of {"年度", "报告期"}
|
23
|
-
:type indicator:
|
24
|
+
:type indicator: str
|
24
25
|
:return: 东方财富-港股-财务报表-三大报表
|
25
26
|
:rtype: pandas.DataFrame
|
26
27
|
"""
|
27
28
|
url = "https://datacenter.eastmoney.com/securities/api/data/v1/get"
|
28
29
|
params = {
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
30
|
+
"reportName": "RPT_CUSTOM_HKSK_APPFN_CASHFLOW_SUMMARY",
|
31
|
+
"columns": "SECUCODE,SECURITY_CODE,SECURITY_NAME_ABBR,START_DATE,REPORT_DATE,FISCAL_YEAR,"
|
32
|
+
"CURRENCY,ACCOUNT_STANDARD,REPORT_TYPE",
|
33
|
+
"quoteColumns": "",
|
34
|
+
"filter": f'(SECUCODE="{stock}.HK")',
|
35
|
+
"source": "F10",
|
36
|
+
"client": "PC",
|
37
|
+
"v": "02092616586970355",
|
36
38
|
}
|
37
39
|
r = requests.get(url, params=params)
|
38
40
|
data_json = r.json()
|
39
|
-
temp_df = pd.DataFrame(data_json[
|
41
|
+
temp_df = pd.DataFrame(data_json["result"]["data"][0]["REPORT_LIST"])
|
40
42
|
if indicator == "年度":
|
41
|
-
temp_df = temp_df[temp_df[
|
43
|
+
temp_df = temp_df[temp_df["REPORT_TYPE"] == "年报"]
|
42
44
|
else:
|
43
45
|
temp_df = temp_df
|
44
|
-
year_list = [item.split(" ")[0] for item in temp_df[
|
46
|
+
year_list = [item.split(" ")[0] for item in temp_df["REPORT_DATE"]]
|
45
47
|
if symbol == "资产负债表":
|
46
48
|
params = {
|
47
49
|
"reportName": "RPT_HKF10_FN_BALANCE_PC",
|
48
|
-
"columns": "SECUCODE,SECURITY_CODE,SECURITY_NAME_ABBR,ORG_CODE,REPORT_DATE,DATE_TYPE_CODE,
|
50
|
+
"columns": "SECUCODE,SECURITY_CODE,SECURITY_NAME_ABBR,ORG_CODE,REPORT_DATE,DATE_TYPE_CODE,"
|
51
|
+
"FISCAL_YEAR,STD_ITEM_CODE,STD_ITEM_NAME,AMOUNT,STD_REPORT_DATE",
|
49
52
|
"quoteColumns": "",
|
50
53
|
"filter": f"""(SECUCODE="{stock}.HK")(REPORT_DATE in ({"'" + "','".join(year_list) + "'"}))""",
|
51
54
|
"pageNumber": "1",
|
@@ -63,7 +66,8 @@ def stock_financial_hk_report_em(
|
|
63
66
|
elif symbol == "利润表":
|
64
67
|
params = {
|
65
68
|
"reportName": "RPT_HKF10_FN_INCOME_PC",
|
66
|
-
"columns": "SECUCODE,SECURITY_CODE,SECURITY_NAME_ABBR,ORG_CODE,REPORT_DATE,DATE_TYPE_CODE,
|
69
|
+
"columns": "SECUCODE,SECURITY_CODE,SECURITY_NAME_ABBR,ORG_CODE,REPORT_DATE,DATE_TYPE_CODE,"
|
70
|
+
"FISCAL_YEAR,START_DATE,STD_ITEM_CODE,STD_ITEM_NAME,AMOUNT",
|
67
71
|
"quoteColumns": "",
|
68
72
|
"filter": f"""(SECUCODE="{stock}.HK")(REPORT_DATE in ({"'" + "','".join(year_list) + "'"}))""",
|
69
73
|
"pageNumber": "1",
|
@@ -81,7 +85,8 @@ def stock_financial_hk_report_em(
|
|
81
85
|
elif symbol == "现金流量表":
|
82
86
|
params = {
|
83
87
|
"reportName": "RPT_HKF10_FN_CASHFLOW_PC",
|
84
|
-
"columns": "SECUCODE,SECURITY_CODE,SECURITY_NAME_ABBR,ORG_CODE,REPORT_DATE,DATE_TYPE_CODE,
|
88
|
+
"columns": "SECUCODE,SECURITY_CODE,SECURITY_NAME_ABBR,ORG_CODE,REPORT_DATE,DATE_TYPE_CODE,"
|
89
|
+
"FISCAL_YEAR,START_DATE,STD_ITEM_CODE,STD_ITEM_NAME,AMOUNT",
|
85
90
|
"quoteColumns": "",
|
86
91
|
"filter": f"""(SECUCODE="{stock}.HK")(REPORT_DATE in ({"'" + "','".join(year_list) + "'"}))""",
|
87
92
|
"pageNumber": "1",
|
@@ -96,6 +101,8 @@ def stock_financial_hk_report_em(
|
|
96
101
|
data_json = r.json()
|
97
102
|
temp_df = pd.DataFrame(data_json["result"]["data"])
|
98
103
|
return temp_df
|
104
|
+
else:
|
105
|
+
return pd.DataFrame()
|
99
106
|
|
100
107
|
|
101
108
|
def stock_financial_hk_analysis_indicator_em(
|
@@ -0,0 +1,227 @@
|
|
1
|
+
#!/usr/bin/env python
|
2
|
+
# -*- coding:utf-8 -*-
|
3
|
+
"""
|
4
|
+
Date: 2025/3/4 17:00
|
5
|
+
Desc: 美股-基本面数据
|
6
|
+
https://emweb.eastmoney.com/PC_USF10/pages/index.html?code=TSLA&type=web&color=w#/cwfx
|
7
|
+
"""
|
8
|
+
|
9
|
+
import pandas as pd
|
10
|
+
import requests
|
11
|
+
|
12
|
+
from akshare.utils.cons import headers
|
13
|
+
|
14
|
+
|
15
|
+
def __stock_financial_us_report_em(
|
16
|
+
stock: str = "TSLA", symbol: str = "综合损益表", indicator: str = "年报"
|
17
|
+
) -> str:
|
18
|
+
"""
|
19
|
+
东方财富-美股-财务分析-三大报表
|
20
|
+
https://emweb.securities.eastmoney.com/PC_HKF10/FinancialAnalysis/index?type=web&code=00700
|
21
|
+
:param stock: 股票代码
|
22
|
+
:type stock: str
|
23
|
+
:param symbol: choice of {"资产负债表", "综合损益表", "现金流量表"}
|
24
|
+
:type symbol: str
|
25
|
+
:param indicator: choice of {"年报", "单季报", "累计季报"}
|
26
|
+
:type indicator: str
|
27
|
+
:return: 东方财富-美股-财务分析-三大报表
|
28
|
+
:rtype: str
|
29
|
+
"""
|
30
|
+
url = "https://datacenter.eastmoney.com/securities/api/data/v1/get"
|
31
|
+
if symbol == "资产负债表":
|
32
|
+
report_name = "RPT_USF10_FN_BALANCE"
|
33
|
+
elif symbol == "综合损益表":
|
34
|
+
report_name = "RPT_USF10_FN_INCOME"
|
35
|
+
elif symbol == "现金流量表":
|
36
|
+
report_name = "RPT_USSK_FN_CASHFLOW"
|
37
|
+
else:
|
38
|
+
raise ValueError("请输入正确的 symbol 参数")
|
39
|
+
params = {
|
40
|
+
"reportName": report_name,
|
41
|
+
"columns": "SECUCODE,SECURITY_CODE,SECURITY_NAME_ABBR,REPORT,REPORT_DATE,FISCAL_YEAR,CURRENCY,"
|
42
|
+
"ACCOUNT_STANDARD,REPORT_TYPE,DATE_TYPE_CODE",
|
43
|
+
"quoteColumns": "",
|
44
|
+
"filter": f'(SECUCODE="{stock}.O")',
|
45
|
+
"pageNumber": "",
|
46
|
+
"pageSize": "",
|
47
|
+
"sortTypes": "-1",
|
48
|
+
"sortColumns": "REPORT_DATE",
|
49
|
+
"source": "SECURITIES",
|
50
|
+
"client": "PC",
|
51
|
+
"v": "09583551779242467",
|
52
|
+
}
|
53
|
+
r = requests.get(url, params=params, headers=headers)
|
54
|
+
data_json = r.json()
|
55
|
+
temp_df = pd.DataFrame(data_json["result"]["data"])
|
56
|
+
temp_tuple = tuple(set(temp_df["REPORT"].tolist()))
|
57
|
+
if indicator == "年报":
|
58
|
+
tuple_data = tuple(item.strip() for item in temp_tuple if "FY" in item)
|
59
|
+
elif indicator == "单季报":
|
60
|
+
tuple_data = tuple(item.strip() for item in temp_tuple if "Q1" in item)
|
61
|
+
elif indicator == "累计季报":
|
62
|
+
tuple_data = tuple(
|
63
|
+
item.strip() for item in temp_tuple if "Q6" in item or "Q9" in item
|
64
|
+
)
|
65
|
+
else:
|
66
|
+
raise ValueError("请输入正确的 indicator 参数")
|
67
|
+
sorted_tuple = tuple(
|
68
|
+
sorted(tuple_data, key=lambda x: x.split("/")[0], reverse=True)
|
69
|
+
)
|
70
|
+
double_quotes_str = str(sorted_tuple).replace("'", '"')
|
71
|
+
double_quotes_str = double_quotes_str.replace(" ", "")
|
72
|
+
return double_quotes_str
|
73
|
+
|
74
|
+
|
75
|
+
def stock_financial_us_report_em(
|
76
|
+
stock: str = "TSLA", symbol: str = "资产负债表", indicator: str = "年报"
|
77
|
+
) -> pd.DataFrame:
|
78
|
+
"""
|
79
|
+
东方财富-美股-财务分析-三大报表
|
80
|
+
https://emweb.securities.eastmoney.com/PC_HKF10/FinancialAnalysis/index?type=web&code=00700
|
81
|
+
:param stock: 股票代码
|
82
|
+
:type stock: str
|
83
|
+
:param symbol: choice of {"资产负债表", "综合损益表", "现金流量表"}
|
84
|
+
:type symbol: str
|
85
|
+
:param indicator: choice of {"年报", "单季报", "累计季报"}
|
86
|
+
:type indicator: str
|
87
|
+
:return: 东方财富-美股-财务分析-三大报表
|
88
|
+
:rtype: pandas.DataFrame
|
89
|
+
"""
|
90
|
+
url = "https://datacenter.eastmoney.com/securities/api/data/v1/get"
|
91
|
+
date_str = __stock_financial_us_report_em(
|
92
|
+
stock=stock, symbol=symbol, indicator=indicator
|
93
|
+
)
|
94
|
+
if symbol == "资产负债表":
|
95
|
+
report_name = "RPT_USF10_FN_BALANCE"
|
96
|
+
elif symbol == "综合损益表":
|
97
|
+
report_name = "RPT_USF10_FN_INCOME"
|
98
|
+
elif symbol == "现金流量表":
|
99
|
+
report_name = "RPT_USSK_FN_CASHFLOW"
|
100
|
+
else:
|
101
|
+
raise ValueError("请输入正确的 symbol 参数")
|
102
|
+
params = {
|
103
|
+
"reportName": report_name,
|
104
|
+
"columns": "SECUCODE,SECURITY_CODE,SECURITY_NAME_ABBR,REPORT_DATE,REPORT_TYPE,REPORT,"
|
105
|
+
"STD_ITEM_CODE,AMOUNT,ITEM_NAME",
|
106
|
+
"quoteColumns": "",
|
107
|
+
"filter": f'(SECUCODE="{stock}.O")(REPORT in ' + date_str + ")",
|
108
|
+
"pageNumber": "",
|
109
|
+
"pageSize": "",
|
110
|
+
"sortTypes": "1,-1",
|
111
|
+
"sortColumns": "STD_ITEM_CODE,REPORT_DATE",
|
112
|
+
"source": "SECURITIES",
|
113
|
+
"client": "PC",
|
114
|
+
"v": "09583551779242467",
|
115
|
+
}
|
116
|
+
r = requests.get(url, params=params, headers=headers)
|
117
|
+
data_json = r.json()
|
118
|
+
temp_df = pd.DataFrame(data_json["result"]["data"])
|
119
|
+
return temp_df
|
120
|
+
|
121
|
+
|
122
|
+
def stock_financial_us_analysis_indicator_em(
|
123
|
+
symbol: str = "TSLA", indicator: str = "年报"
|
124
|
+
) -> pd.DataFrame:
|
125
|
+
"""
|
126
|
+
东方财富-美股-财务分析-主要指标
|
127
|
+
https://emweb.eastmoney.com/PC_USF10/pages/index.html?code=TSLA&type=web&color=w#/cwfx/zyzb
|
128
|
+
:param symbol: 股票代码
|
129
|
+
:type symbol: str
|
130
|
+
:param indicator: choice of {"年报", "单季报", "累计季报"}
|
131
|
+
:type indicator: str
|
132
|
+
:return: 东方财富-美股-财务分析-主要指标
|
133
|
+
:rtype: pandas.DataFrame
|
134
|
+
"""
|
135
|
+
url = "https://datacenter.eastmoney.com/securities/api/data/v1/get"
|
136
|
+
params = {
|
137
|
+
"reportName": "RPT_USF10_FN_GMAININDICATOR",
|
138
|
+
"columns": "USF10_FN_GMAININDICATOR",
|
139
|
+
"quoteColumns": "",
|
140
|
+
"pageNumber": "",
|
141
|
+
"pageSize": "",
|
142
|
+
"sortTypes": "-1",
|
143
|
+
"sortColumns": "STD_REPORT_DATE",
|
144
|
+
"source": "F10",
|
145
|
+
"client": "PC",
|
146
|
+
"v": "01975982096513973",
|
147
|
+
}
|
148
|
+
if indicator == "年报":
|
149
|
+
params.update({"filter": f"""(SECUCODE="{symbol}.O")(DATE_TYPE_CODE="001")"""})
|
150
|
+
elif indicator == "单季报":
|
151
|
+
params.update(
|
152
|
+
{
|
153
|
+
"filter": f"""(SECUCODE="{symbol}.O")(DATE_TYPE_CODE in ("003","006","007","008"))"""
|
154
|
+
}
|
155
|
+
)
|
156
|
+
elif indicator == "累计季报":
|
157
|
+
params.update(
|
158
|
+
{"filter": f"""(SECUCODE="{symbol}.O")(DATE_TYPE_CODE in ("002","004"))"""}
|
159
|
+
)
|
160
|
+
else:
|
161
|
+
raise ValueError("请输入正确的 indicator 参数")
|
162
|
+
r = requests.get(url, params=params)
|
163
|
+
data_json = r.json()
|
164
|
+
temp_df = pd.DataFrame(data_json["result"]["data"])
|
165
|
+
return temp_df
|
166
|
+
|
167
|
+
|
168
|
+
if __name__ == "__main__":
|
169
|
+
stock_financial_us_analysis_indicator_em_df = (
|
170
|
+
stock_financial_us_analysis_indicator_em(symbol="TSLA", indicator="年报")
|
171
|
+
)
|
172
|
+
print(stock_financial_us_analysis_indicator_em_df)
|
173
|
+
|
174
|
+
stock_financial_us_analysis_indicator_em_df = (
|
175
|
+
stock_financial_us_analysis_indicator_em(symbol="TSLA", indicator="单季报")
|
176
|
+
)
|
177
|
+
print(stock_financial_us_analysis_indicator_em_df)
|
178
|
+
|
179
|
+
stock_financial_us_analysis_indicator_em_df = (
|
180
|
+
stock_financial_us_analysis_indicator_em(symbol="TSLA", indicator="累计季报")
|
181
|
+
)
|
182
|
+
print(stock_financial_us_analysis_indicator_em_df)
|
183
|
+
|
184
|
+
stock_financial_us_report_em_df = stock_financial_us_report_em(
|
185
|
+
stock="TSLA", symbol="资产负债表", indicator="年报"
|
186
|
+
)
|
187
|
+
print(stock_financial_us_report_em_df)
|
188
|
+
|
189
|
+
stock_financial_us_report_em_df = stock_financial_us_report_em(
|
190
|
+
stock="TSLA", symbol="资产负债表", indicator="单季报"
|
191
|
+
)
|
192
|
+
print(stock_financial_us_report_em_df)
|
193
|
+
|
194
|
+
stock_financial_us_report_em_df = stock_financial_us_report_em(
|
195
|
+
stock="TSLA", symbol="资产负债表", indicator="累计季报"
|
196
|
+
)
|
197
|
+
print(stock_financial_us_report_em_df)
|
198
|
+
|
199
|
+
stock_financial_us_report_em_df = stock_financial_us_report_em(
|
200
|
+
stock="TSLA", symbol="综合损益表", indicator="年报"
|
201
|
+
)
|
202
|
+
print(stock_financial_us_report_em_df)
|
203
|
+
|
204
|
+
stock_financial_us_report_em_df = stock_financial_us_report_em(
|
205
|
+
stock="TSLA", symbol="综合损益表", indicator="单季报"
|
206
|
+
)
|
207
|
+
print(stock_financial_us_report_em_df)
|
208
|
+
|
209
|
+
stock_financial_us_report_em_df = stock_financial_us_report_em(
|
210
|
+
stock="TSLA", symbol="综合损益表", indicator="累计季报"
|
211
|
+
)
|
212
|
+
print(stock_financial_us_report_em_df)
|
213
|
+
|
214
|
+
stock_financial_us_report_em_df = stock_financial_us_report_em(
|
215
|
+
stock="TSLA", symbol="现金流量表", indicator="年报"
|
216
|
+
)
|
217
|
+
print(stock_financial_us_report_em_df)
|
218
|
+
|
219
|
+
stock_financial_us_report_em_df = stock_financial_us_report_em(
|
220
|
+
stock="TSLA", symbol="现金流量表", indicator="单季报"
|
221
|
+
)
|
222
|
+
print(stock_financial_us_report_em_df)
|
223
|
+
|
224
|
+
stock_financial_us_report_em_df = stock_financial_us_report_em(
|
225
|
+
stock="TSLA", symbol="现金流量表", indicator="累计季报"
|
226
|
+
)
|
227
|
+
print(stock_financial_us_report_em_df)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
akshare/__init__.py,sha256=
|
1
|
+
akshare/__init__.py,sha256=rl7UQy0xYFxFUqB3iIbF_jY8fH1dwdxGDvsxKJHUK5Y,189223
|
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
|
@@ -231,8 +231,8 @@ akshare/stock/__init__.py,sha256=jSa9260d6aNZajaW68chI2mpPkDSXLOgi3eXrqo4MQ8,82
|
|
231
231
|
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
|
-
akshare/stock/stock_board_concept_em.py,sha256
|
235
|
-
akshare/stock/stock_board_industry_em.py,sha256=
|
234
|
+
akshare/stock/stock_board_concept_em.py,sha256=-ZzrpRCpoiTdOy_yeLtkGEHP_wjKBmKiR5l_EfDhLzg,18554
|
235
|
+
akshare/stock/stock_board_industry_em.py,sha256=Whqgve1JrghcKuaC2F80Vt-z-9oSxQW66GIZwMM0QG8,19170
|
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
|
@@ -353,9 +353,10 @@ akshare/stock_feature/stock_zh_vote_baidu.py,sha256=SsSNnCq7PDFMzWFcPFcC_MSc9rua
|
|
353
353
|
akshare/stock_feature/stock_ztb_em.py,sha256=hMi0NSlBs-qEid3oXKOAempZSItNApPDQKvcsdtF8j8,18141
|
354
354
|
akshare/stock_feature/ths.js,sha256=AWPkHf3L2Il1UUL0F5qDqNn1dfU0OlZBNUbMf8AmI3Y,39664
|
355
355
|
akshare/stock_fundamental/__init__.py,sha256=jiXoO9OXiMxB0wHaPQkuxNckYuoFKtzuhZL1ytnE2nQ,82
|
356
|
-
akshare/stock_fundamental/
|
357
|
-
akshare/stock_fundamental/
|
356
|
+
akshare/stock_fundamental/stock_finance_hk_em.py,sha256=cCiaWX6ZyKe4W2H9qe-ttpMeVMWp6tHdvnjhRuYQhl8,7017
|
357
|
+
akshare/stock_fundamental/stock_finance_sina.py,sha256=432EjGHWFtG0L32PNSC_HWpVLDntabNt9koyUtNG77E,30718
|
358
358
|
akshare/stock_fundamental/stock_finance_ths.py,sha256=4G2sTqZHJbhVBtBAQaWoUx41xekCHdw_fKHgPB07avg,11455
|
359
|
+
akshare/stock_fundamental/stock_finance_us_em.py,sha256=iaPtbCyG7ErjkiHHxxkL77G14jKKZcZPrWEN02SilZo,8451
|
359
360
|
akshare/stock_fundamental/stock_hold.py,sha256=h8V5v_0YOi3FJPc1w95WBaO0v3n87lcufcUlu-i6XXk,5394
|
360
361
|
akshare/stock_fundamental/stock_ipo_declare.py,sha256=18j2542TT2nCJ1HWBcT6-HupRbXvesA30qqejknn-kM,1809
|
361
362
|
akshare/stock_fundamental/stock_kcb_detail_sse.py,sha256=MBanq3sDvb0OTbUl_gg7avDUQg_3Ugzqr43cB43fp60,940
|
@@ -381,8 +382,8 @@ akshare/utils/token_process.py,sha256=K4rGXjh_tgugbRcyOK2h2x0jP3PT65IIK7nxhUKhOe
|
|
381
382
|
akshare/utils/tqdm.py,sha256=MuPNwcswkOGjwWQOMWXi9ZvQ_RmW4obCWRj2i7HM7FE,847
|
382
383
|
tests/__init__.py,sha256=gNzhlO0UPjFq6Ieb38kaVIODXv4cTDByrdohAZnDYt4,82
|
383
384
|
tests/test_func.py,sha256=j1MGYbZI2if2j_LY1S4FLsf4qfq4NwVqD5wmRlv5Log,832
|
384
|
-
akshare-1.16.
|
385
|
-
akshare-1.16.
|
386
|
-
akshare-1.16.
|
387
|
-
akshare-1.16.
|
388
|
-
akshare-1.16.
|
385
|
+
akshare-1.16.24.dist-info/LICENSE,sha256=mmSZCPgfHiVw34LXuFArd-SUgQtBJ_QsIlh-kWlDHfs,1073
|
386
|
+
akshare-1.16.24.dist-info/METADATA,sha256=TrHwxLmyJL_e4fUPZU_NmL5dvfh_-Sr5aSVp-nKUZgc,13847
|
387
|
+
akshare-1.16.24.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
388
|
+
akshare-1.16.24.dist-info/top_level.txt,sha256=jsf9ZzZPmHaISTVumQPsAw7vv7Yv-PdEVW70SMEelQQ,14
|
389
|
+
akshare-1.16.24.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|