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

;roi: optimize "one period per report interval" case a bit #2317

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

adept
Copy link
Collaborator

@adept adept commented Jan 19, 2025

Fixes #2316

roi computes returns per each reporting period, and then computes overall return for complete report interval.
When there is just one reporting period, there is no need to compute overall return as it would be exactly the same.
Lets optimize for this.

@simonmichael simonmichael merged commit 9d4db48 into simonmichael:master Jan 22, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Duplicate display of cashflow on the roi report
2 participants