Last Updated on September 4, 2021 by shibatau
I. What do you learn?
You will learn about Fundamental Analysis and how to build market indexes with Python using the following article as a reference.
Select the items in red squares on the Statistics page in Yahoo Finance and create a data frame with Python
The following data frame will be created though I haven’t get it yet.
On Google Colaboratory you can see all of my scripts though they are not completed.
Let’s get the Toyota Market Capitalization with yahoo_fin as a sample.
# Toyota Motor Corporation (TM)
import yahoo_fin.stock_info as si
import pandas as pd
The market capitalization measures the size of a company. You can use the market cap to categorize a company into a large, medium, or small-sized company category.
2.PS Ratio (ttm)
The price-to-sales (P/S) ratio is a valuation ratio that compares a company’s stock price to its sales. It is measured on a TTM basis. TTM means trailing twelve month.
To be continued.