Initial commit
This commit is contained in:
17
venv/lib/python3.10/site-packages/edgar/entity/tools.py
Normal file
17
venv/lib/python3.10/site-packages/edgar/entity/tools.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from edgar import Company
|
||||
|
||||
|
||||
def income_statement(ticker:str, annual:bool=True, periods:int=4):
|
||||
company = Company(ticker)
|
||||
if company:
|
||||
return company.income_statement(annual=annual, periods=periods)
|
||||
|
||||
def balance_sheet(ticker:str, annual:bool=True, periods:int=4):
|
||||
company = Company(ticker)
|
||||
if company:
|
||||
return company.balance_sheet(annual=annual, periods=periods)
|
||||
|
||||
def cash_flow_statement(ticker:str, annual:bool=True, periods:int=4):
|
||||
company = Company(ticker)
|
||||
if company:
|
||||
return company.cash_flow_statement(annual=annual, periods=periods)
|
||||
Reference in New Issue
Block a user