Investment Analysis — Finance Database

Finance databases for investment analysis.

alpha2phi
4 min readSep 20, 2022

--

Investment Analysis — Finance Database

In this article, we will explore APIs and open-source finance databases to help us perform investment analysis.

This article is part of the Investment Analysis series.

The source code is available in this repository.

Getting Started

In the previous article, we use the investpy and yfinance libraries to prepare a dataset for investment analysis. Using the libraries, we prepare a dataset of around 4000 stocks traded in the US market. We will explore alternatives to get more data for analysis.

There are 2 options we will explore.

Fundamental Analysis Library

Getting Started

pip install fundamentalanalysis

List of Companies and Exchanges

Using the library, we can get a list of companies.

There are around 44k companies from multiple exchanges.

Get Available Companies
List of Exchanges and Stocks

We can filter the list using the exchangeShortName column. E.g, we can get the companies listed in the US market.

US Market

Lastly, we can save the dataset to an Excel file.

--

--

alpha2phi

Software engineer, Data Science and ML practitioner.