mrhappyasthma / IsThisStockGood

A tool for evaluating companies using the Rule #1 investing principles.
http://www.isthisstockgood.com
22 stars 10 forks source link

Error calculate debt #19

Closed mrhappyasthma closed 4 years ago

mrhappyasthma commented 4 years ago

Not sure what's wrong in the calculation but noticed DPZ has tons of debt but shows -1 and green on the site.

mrhappyasthma commented 4 years ago

The problem is likely that the value is -1 when not computed, which is small enough to appear "good".

This is occurring since Debt/Equity is not computed for DPZ.


Debt/Equity | — | — | — | — | — | — | — | — | — | — | —
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
mrhappyasthma commented 4 years ago

Fixed: https://github.com/mrhappyasthma/IsThisStockGood/commit/5e8bc31c6f35c83f1c51132f0e3bd8ae8b294498