Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMPROVE] Fix trailing calculation for ratios in income statement #173

Closed
codemug opened this issue Feb 28, 2025 · 2 comments
Closed

[IMPROVE] Fix trailing calculation for ratios in income statement #173

codemug opened this issue Feb 28, 2025 · 2 comments

Comments

@codemug
Copy link

codemug commented Feb 28, 2025

What's the feature that should be improved?
The trailing calculation of income statement here

Describe how you would like the feature improved

Income statement contains the following ratios:

Gross Profit Ratio
EBITDA Ratio
Operating Income Ratio
Income Before Tax Ratio
Net Income Ratio

Ratios cannot be simply added. They require multiplication by Least Common Denominator before being added.

Possibly describe the ideal way to improve this
Recalculate the ratios after the trailing values of the numerator and the denominator have been calculated e.g Gross Profit Ratio Trailing = Gross Profit Trailing / Revenue Trailing

@JerBouma
Copy link
Owner

Thanks for this, keep it coming. I've added a fix:

Image

Which if I look at Apple:

Image

@JerBouma
Copy link
Owner

JerBouma commented Mar 1, 2025

Fixed in v2.0.0

@JerBouma JerBouma closed this as completed Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants