I am a total rookie coder but I'm really interested in learning. I thought the best way to learn would be to jump right in and give it my best shot. So I am trying to write an algorithm based on Joel Greenblatt's book "The little Book that still beats the market" it essentially ranks companies based on their ROIC and Earning Yield then combines those factors to rank the top companies. I've tried my best to write this into code but my algorithm is still buying nothing. I am totally lost and would love help solving the problem
Thanks!