Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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['
|
| 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'])
|