Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bben1/Automatic-fundamental-investment-valuation
/ functions
Functions
13 in github.com/bben1/Automatic-fundamental-investment-valuation
⨍
Functions
13
◇
Types & classes
1
↓ 6 callers
Function
get_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 callers
Method
_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 callers
Method
_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 callers
Method
_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 callers
Method
_get_equity_value
Summary: calculates the instrinsic value of a company. Returns: (dict) = {'equity value':float, 'im
tools/fundamentals_class.py:225
↓ 1 callers
Method
_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 callers
Method
_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 callers
Method
dcf
Summary: Performs a two-stage DCF calculation. Inputs: earnings_growth_rate: cap_ex_growth_rate:
tools/fundamentals_class.py:245
↓ 1 callers
Method
sensitivity
Summary: Performs sensitivity analysis on WACC and g values. Inputs: confidence_intervals -- (list/float) A
tools/fundamentals_class.py:268
↓ 1 callers
Function
test
(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
Function
f_score
Summary: Calculates f1-score based on 9 financial conditions. Returns: dict containing the results.
tools/fundamentals_class.py:373
Method
implied_share_price
(wacc, g)
tools/fundamentals_class.py:301