Float (Outstanding Shares) API in Python

In this tutorial, we will learn how to use Python to retrieve, parse, and analyze float (outstanding shares) data from the Float API that provides information about the share classes, number of outstanding shares, float and reporting period for companies listed on US stock exchanges. This tutorial assumes a basic understanding of Python. We look at two companies with different share class structures, Google and Apple, and visualize the number of outstanding shares over the last 10 years while identifying the impact of share buybacks on the number of outstanding shares.

Click on "Open in Colab" to run the Python code in a Jupyter notebook on Google Colab in your browser.