top of page

Piotroski F-Score

The project calculates the Piotroski F-Scores of each company in the Dow Jones index, which is used to assess a company's financial strength. The F-Score takes a value between 0 and 9, 9 being the strongest. The final output returns a data frame in which the tickers and their F-Scores are listed in descending order.

Importing required libraries:

Screen Shot 2022-09-13 at 20.31.35.png

Getting the balance sheet, income statement, and the statement of cash flows,

then calculating the ratios used in the F-Score:

Screen Shot 2022-09-13 at 20.31.56.png

Calculating the F-Score based on the ratios:

codye.png

Getting the list of stocks in the Dow Jones Index and applying the F-Score function to each of them:

Screen Shot 2022-09-13 at 20.45.40.png

Final output where the tickers and their F-Scores are stored in a data frame, printed in descending order:

Screen Shot 2022-09-13 at 20.46.17.png
Screen Shot 2022-09-13 at 20.50.40.png
bottom of page