Our calculations are based on comprehensive, delayed quotes.
Share price information may be rounded up/down and therefore not entirely accurate.
FT is not responsible for any use of content by you outside its scope as stated in the FT Terms & Conditions.
Here is an example file of data you can use to start with: From here, we create a script that will generate a matplotlib graph, then, using animate, read the sample file, and re-draw the graph.
Any time there is an update, this will give us the new graph. Think of it a lot like FPS (frames per second) in things like games.
A popular question is how to get live-updating graphs in Python and Matplotlib.
Luckily for us, the creator of Matplotlib has even created something to help us do just that. This video and the subsequent video shows you the animation function, how it works, and gives an example.
The number of shares in the hands of public investors and available to trade.
To calculate, start with total shares outstanding and subtract the number of restricted shares.
The updates are fixed, but you can do many updates a second, or just do one update every 5 seconds...