MCPcopy Create free account

hub / github.com/bben1/Automatic-fundamental-investment-valuation / functions

Functions13 in github.com/bben1/Automatic-fundamental-investment-valuation

↓ 6 callersFunctionget_statement
Get a financial statement to use for fundamental calculations inputs: company_ticker (str) -- e.g. 'AAPL' for Apple inc. stateme
data/get_statements.py:1
↓ 1 callersMethod_get_cost_of_debt
Summary: calculates the cost of debt of the company using the credit-rating method. Returns: cost of debt (float) = r
tools/fundamentals_class.py:55
↓ 1 callersMethod_get_cost_of_equity
Summary: calculates the CAPM of a company. Returns: capm (float) = rfr + beta*(iar-rfr) Where: rfr =
tools/fundamentals_class.py:117
↓ 1 callersMethod_get_enterprise_value
Summary: Calculates the enterprise value of the company. Inputs: earnings_growth_rate (float): expected growth rate o
tools/fundamentals_class.py:167
↓ 1 callersMethod_get_equity_value
Summary: calculates the instrinsic value of a company. Returns: (dict) = {'equity value':float, 'im
tools/fundamentals_class.py:225
↓ 1 callersMethod_get_interest_coverage_and_risk_free_rate
Summary: Calculates the interest-coverage-ratio and risk-free-rate of the company. returns: risk_free_rate (float): A
tools/fundamentals_class.py:29
↓ 1 callersMethod_get_wacc
Summary: Calculates the weighted-average-cost-of-capital (WACC) Returns: WACC (float) = (kd*(1-ETR)*dp) + (ke*ep)
tools/fundamentals_class.py:143
↓ 1 callersMethoddcf
Summary: Performs a two-stage DCF calculation. Inputs: earnings_growth_rate: cap_ex_growth_rate:
tools/fundamentals_class.py:245
↓ 1 callersMethodsensitivity
Summary: Performs sensitivity analysis on WACC and g values. Inputs: confidence_intervals -- (list/float) A
tools/fundamentals_class.py:268
↓ 1 callersFunctiontest
(ticker, earnings_growth_rate, cap_ex_growth_rate, perpetual_growth_rate, confidence_intervals, bound, api)
tests/Fundamentals_test_goog.py:17
Method__init__
Summary: Reads data from financial statements and calculates a DCF valuation. inputs: income_statement (json): 'finan
tools/fundamentals_class.py:3
Functionf_score
Summary: Calculates f1-score based on 9 financial conditions. Returns: dict containing the results.
tools/fundamentals_class.py:373
Methodimplied_share_price
(wacc, g)
tools/fundamentals_class.py:301