Investment Analysis — Dividends and Earnings

Analyze stock performance, dividends, and earnings.

alpha2phi
3 min readOct 15, 2022

--

Investment Analysis — Dividends and Earnings

In this article, we will use Python to gather the fundamental of high-yield dividend stocks, and their earning and dividend history. We will also analyze and evaluate the performance of the stocks with forthcoming earning dates.

This article is part of the Investment Analysis series.

The source code is available in this repository.

Getting Started

In a previous article, we look at fundamental stock indicators and use them to select stocks. One of the indicators we use is the dividend yield. High-yield dividend stocks are worth investing in, and we will analyze these stocks in this article.

Fundamental Indicators

Yahoo Stock Screener is extremely useful to screen stocks based on the criteria that we can configure.

Yahoo Stock Screener

There is a curated list of high-yield dividend stocks created by Yahoo Finance. We will use this list for our analysis.

Using the Python yfinance library, we can gather the data we need for analysis.

Using this data class, we can get all the fundamental data for a particular stock.

Get Stock Fundamental

The data class inherits the TypeConverter class that provides a function to_df to convert the class to a Pandas data frame.

--

--

alpha2phi

Software engineer, Data Science and ML practitioner.