Gather data and perform fundamental analysis for a market.
Overview
In this article, let’s use our coding skills to evaluate and choose quality stocks. It is fun to collate stock data for a particular market and perform fundamental analyses.
Getting Stock Market Data
I am going to use the investpy
library to gather market information.
Let’s get started!
investpy
library is a Python library that can be used to scrape market data. In this example, I download a list of US stocks.
- As you can see, there are 4,582 stocks, and efforts to manually select the stocks are going to be tremendous. Let’s see what we can do to shortlist some stocks.
- The dataset is saved to a CSV file for later use.