Back to Community
Problem with Historical EPS

Hi everyone,
I'm currently trying to replicate the algorithm for stock picking of Benjamin Graham used in this website: https://old.nasdaq.com/symbol/cmc/guru-analysis/graham.
However, whenever I try to calculate the 'LONG-TERM EPS GROWTH:' i get different results.

My issues:
- The code I wrote for finding if in the last 5 years the EPS were negative gives the wrong value
- The EPS growth is completely different from the one showed on the website

Thanks for your help

Loading notebook preview...