Updated The Analysis and Score For Fundamental Labels
the code in post#1 has been updated.
The biggest revision of this script is to the scoring of the Fundamentals. Originally the P/E was weighted so heavily that no stock w/ a negative P/E could get a score over the minimum threshold. Now, if a stock has positive profits / book ratios and/or positive debt/asset ratios, positive sales/share, good inventory turnover but a negative P/E that stock could possibly receive a good score. CommScope's fundamentals in the 1st post is a good example. CommScope has a negative P/E but otherwise some really interesting numbers.
Additional labels have been added for inventory turnover, book value, and a few more. I originally left these off because how to interpret them varies drastically by sector. But given that fundamentals analysis assumes a certain amount of in-depth understanding of the equity to start with, these can give breathe to that analysis.
HTH
the code in post#1 has been updated.
The biggest revision of this script is to the scoring of the Fundamentals. Originally the P/E was weighted so heavily that no stock w/ a negative P/E could get a score over the minimum threshold. Now, if a stock has positive profits / book ratios and/or positive debt/asset ratios, positive sales/share, good inventory turnover but a negative P/E that stock could possibly receive a good score. CommScope's fundamentals in the 1st post is a good example. CommScope has a negative P/E but otherwise some really interesting numbers.
Additional labels have been added for inventory turnover, book value, and a few more. I originally left these off because how to interpret them varies drastically by sector. But given that fundamentals analysis assumes a certain amount of in-depth understanding of the equity to start with, these can give breathe to that analysis.
HTH