This commit is contained in:
Claudio Maggioni 2023-05-17 08:53:13 +02:00
parent fa9ca0cd8b
commit 23340546d8

View file

@ -23,19 +23,12 @@ def get_market_cap(ticker1):
return market_cap return market_cap
<<<<<<< HEAD
=======
def get_earnings(ticker): def get_earnings(ticker):
aapl = Ticker(ticker) aapl = Ticker(ticker)
performance = aapl.earning_history performance = aapl.earning_history
return performance return performance
>>>>>>> 87c225170b8caaa835e939886712744ade00a165
def get_analyst_estimates(ticker): def get_analyst_estimates(ticker):
estimates = si.get_analysts_info(ticker) estimates = si.get_analysts_info(ticker)
next_5_years_estimates = estimates["Growth Estimates"].iloc[4].dropna() next_5_years_estimates = estimates["Growth Estimates"].iloc[4].dropna()