Package: yahoostats
yahoostatsWebscrape stock statistic data from:yahoo finance,reuters,morningstar,zacks.Quick startTry on colab:from yahoostats.evaluator import combine_stats
stocklist = ['GOOGL', 'TSLA', 'AMD']
combine_stats(stocklist)Explanation for webscraped data:GOOGL
tr_score6/10Tiprankstotalscore
tr_AnalystRatingsStrongBuy
tr_BloggerOpinionsBullish
tr_HedgeFundActivityDecreased
tr_InsiderActivitySoldShares
tr_TipRanksInvestorsNeutral
tr_NewsSentimentBullish
tr_TechnicalsNegative
tr_Fundamentals17.83%
tr_target_pr1482.030Tiprankstargetpriceafter12months
tr_change▲(7.06%Upside)Tipranks
tr_next_ex_dividend_dateNoneTipranksNextEx-dividendDate
tr_dividend_amountNoneTipranksNextdividendamount
ex_date1Nov9,2020Tipranksex-dividenddatehistoryex_date2Aug7,2020Tipranksex-dividenddatehistoryex_date3May7,2020Tipranksex-dividenddatehistoryex_date4Feb7,2020Tipranksex-dividenddatehistoryex_date5Nov7,2019Tipranksex-dividenddatehistoryPEGRatio(5yrexpected)11.94YahooFinancePEGRatio
sa_rating3.20513Seekingalpharating1(bearish)÷5bullish
sa_target_price1550.73Seekingalphatargetprice
yf_price_now1384.34YahooFinancepricenow
yf_price_target1515.73YahooFinancetargetprice
yf_ratingvalue1.8YahooFinancerecomendationscore
yf_ratingstringbuyYahooFinancerecomendation
yf_profit1.09491Yahoofinanceprofit(target/currentprice)yf_current_ratio3.658YahooFinanceCurrentratio
yf_return_assets0.08712YahooFinanceReturnonassets
yf_return_equity0.17835YahooFinanceReturnonequity
yf_beta1.0649YahooFinanceBetafactor
ms_starsr_star3Morningstarstarrating[0-5]stars
zacks_rate3-HoldZacks.comrecomentations
r_beta1.06ReutersBetafactor
r_eps_gr320.82ReutersEPS_Grow3years
r_eps_gr519.92ReutersEPSGrow5y
r_div_gr3--ReutersDividentsgrow3y
r_roi_ttm15.56ReutersReturnoninvestmentTTM
r_roi_515.02ReutersReturnoninvestment5years
r_current_ratio3.37ReutersCurrentratio
r_mar_cap919,046.30ReutersMarketcap
r_net_income35,813.79ReutersNetincome
r_net_debt-115,121.00ReutersNetdebt
r_div_yield--Reutersdividentsyeld
r_div_yield5--Reutersdividentsyeld5years
r_rev_employee1,401,837.00ReutersRevenue/Employee
r_eps51.27ReutersDelutedEPS
eps_-4q12.76EstimatedEPS2020Q1-Wallstconsensuseps_-3q10.66EstimatedEPS2020Q2
eps_-2q7.95EstimatedEPS2020Q3
eps_-1q11.28EstimatedEPS2020Q4
eps_cur15.74EstimatedEPS2021Q1
eps_+1q13.51EstimatedEPS2020Q2
eps_+2q14.03EstimatedEPS2020Q3
eps_+3q16.41EstimatedEPS2020Q4Install system requirementsOn Windows:Firefox with geckodriver in PATHChrome with chrome-driver in PATHOn Linux:For Chrome -please check version compatability chrome-driversudoapt-getupdate
sudoapt-getinstallchromiumchromium-driverFor Firefox -https://firefox-source-docs.mozilla.org/testing/geckodriver/Support.htmlsudoapt-getupdate
sudoapt-getinstallwgetlibgtk-3-0libdbus-glib-1-2libxt6FIREFOX_VERSION=62.0.2wget-O/tmp/firefox.tar.bz2https://download-installer.cdn.mozilla.net/pub/firefox/releases/$FIREFOX_VERSION/linux-x86_64/en-US/firefox-$FIREFOX_VERSION.tar.bz2
rm-rf/opt/firefoxtar-C/opt-xvjf/tmp/firefox.tar.bz2rm/tmp/firefox.tar.bz2mv/opt/firefox/opt/firefox-$FIREFOX_VERSIONsudoln-fs/opt/firefox-$FIREFOX_VERSION/firefox/usr/bin/firefoxGECKO_VERSION=0.26.0
wgethttps://github.com/mozilla/geckodriver/releases/download/v$GECKO_VERSION/geckodriver-v$GECKO_VERSION-linux64.tar.gztar-xvzfgeckodriver-v$GECKO_VERSION-linux64.tar.gzsudocpgeckodriver/usr/local/bin/
sudochmoda+x/usr/local/bin/geckodriverInstall python requirements on venvOn Windows:python-mvenvenv
env/Scripts/activate.bat
pipinstall-rrequirements.txt
pipinstallyahoostatsOn Linux:aliaspython=python3
python-mvenvenvsourceenv/bin/activate
pipinstall-rrequirements.txt
pipinstallyahoostatsPython Requirementspandas==1.0.3requests>=2.21.0beautifulsoup4==4.6.3urllib3==1.25.9selenium==3.141.0LicenseThis project is licensed under the MIT License - see theLICENSE.txtAcknowledgmentsInspirationranaroussi/yfinance.Yahoo API docsGunjan933/stock-market-scraper.DonationIf you want to send me a tip:Buy me a coffeeBTC address = 1GfRewxWtovg7gHYiKvGyaxxEhzdN2CMgCLTC address = LS9Jcek1mCrvbpsnbyaCHHtn6iqpM6ef4a