Skip to content

Commit

Permalink
feat(stock_profit_sheet_by_report_em): add stock_profit_sheet_by_repo…
Browse files Browse the repository at this point in the history
…rt_em interface

add stock_profit_sheet_by_report_em interface
  • Loading branch information
ak-quant committed May 2, 2022
1 parent ef5f278 commit e5ac24c
Show file tree
Hide file tree
Showing 4 changed files with 423 additions and 4 deletions.
5 changes: 3 additions & 2 deletions akshare/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1976,9 +1976,10 @@
1.5.54 fix: fix stock_lrb_em interface
1.5.55 add: add stock_balance_sheet_by_report_em interface
1.5.56 add: add stock_balance_sheet_by_yearly_em interface
1.5.57 add: add stock_profit_sheet_by_report_em interface
"""

__version__ = "1.5.56"
__version__ = "1.5.57"
__author__ = "AKFamily"

import sys
Expand All @@ -1998,8 +1999,8 @@
stock_profit_sheet_by_report_em,
stock_profit_sheet_by_quarterly_em,
stock_profit_sheet_by_yearly_em,
stock_cash_flow_sheet_by_quarterly_em,
stock_cash_flow_sheet_by_report_em,
stock_cash_flow_sheet_by_quarterly_em,
stock_cash_flow_sheet_by_yearly_em,
)

Expand Down
4 changes: 2 additions & 2 deletions akshare/stock_feature/stock_three_report_em.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def stock_cash_flow_sheet_by_quarterly_em(symbol: str = "SH600519") -> pd.DataFr

if __name__ == "__main__":
stock_balance_sheet_by_report_em_df = stock_balance_sheet_by_report_em(
symbol="SH600519"
symbol="SH603808"
)
print(stock_balance_sheet_by_report_em_df)

Expand All @@ -345,7 +345,7 @@ def stock_cash_flow_sheet_by_quarterly_em(symbol: str = "SH600519") -> pd.DataFr
stock_profit_sheet_by_quarterly_em_df = stock_profit_sheet_by_quarterly_em(
symbol="SH600519"
)
print(stock_profit_sheet_by_yearly_em_df)
print(stock_profit_sheet_by_quarterly_em_df)

stock_cash_flow_sheet_by_report_em_df = stock_cash_flow_sheet_by_report_em(
symbol="SH600519"
Expand Down
6 changes: 6 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@

## 更新说明

1.5.57 add: add stock_profit_sheet_by_report_em interface

1. 新增 stock_profit_sheet_by_report_em 接口,获取利润表-报告期数据

1.5.56 add: add stock_balance_sheet_by_yearly_em interface

1. 新增 stock_balance_sheet_by_yearly_em 接口,获取利润表-按年度数据
Expand Down Expand Up @@ -501,6 +505,8 @@

## 版本更新说明

1.5.57 add: add stock_profit_sheet_by_report_em interface

1.5.56 add: add stock_balance_sheet_by_yearly_em interface

1.5.55 add: add stock_balance_sheet_by_report_em interface
Expand Down
Loading

0 comments on commit e5ac24c

Please sign in to comment.