tournas commited on
Commit
508fe78
·
verified ·
1 Parent(s): 445d3bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def get_dcf_of_company(symbol: str) -> str:
39
  balance_sheet = financials['BALANCE_SHEET']['annualReports'][0]
40
 
41
  net_income = float(income_statement['netIncome'])
42
- depreciation = float(cash_flow_statement['depreciation'])
43
  capex = float(cash_flow_statement['capitalExpenditures'])
44
  change_in_working_capital = (
45
  float(balance_sheet['totalCurrentAssets']) - float(balance_sheet['totalCurrentLiabilities'])
 
39
  balance_sheet = financials['BALANCE_SHEET']['annualReports'][0]
40
 
41
  net_income = float(income_statement['netIncome'])
42
+ depreciation = float(cash_flow_statement['depreciationDepletionAndAmortization'])
43
  capex = float(cash_flow_statement['capitalExpenditures'])
44
  change_in_working_capital = (
45
  float(balance_sheet['totalCurrentAssets']) - float(balance_sheet['totalCurrentLiabilities'])