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.
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.
The data class inherits the TypeConverter
class that provides a function to_df
to convert the class to a Pandas data frame.