STRUCTURE
#Replace some special characters
def find_value(text, unit):#Draw figure of cashflows
def draw_cashflow_figure(income_list, income_list2, year_list, op_cashflow_list, fcf_list, div_list, stock_close):
#Draw figure of net income & assets
def draw_corp_history(year_list, asset_sum_list, liability_sum_list, equity_sum_list, sales_list, op_income_list, net_income_list):
#Write financial statements to Excel file
def write_excel_file(workbook_name, dart_post_list, cashflow_list, balance_sheet_list, income_statement_list, corp, stock_code, stock_cat):
#Get data of balance statements
def scrape_balance_sheet(balance_sheet_table, year, unit):
#Get data of cashflows statements
def scrape_cashflows(cashflow_table, year, unit):
#Get data of income statements
def scrape_income_statement(income_table, year, unit, mode):
#Main
def main():
0 개의 댓글:
댓글 쓰기