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

report.py's cagr function doesn't include the days per year options #339

Open
yuzeximj123 opened this issue Mar 28, 2024 · 1 comment
Open

Comments

@yuzeximj123
Copy link

It is a great package to use, thanks!

However, I encounter a problem on html report:

In the report.py the line:
"metrics["CAGR﹪%"] = _stats.cagr(df, rf, compounded) * pct"
or other _stats.cagr functions are not passing the down the parameter periods_per_year=252 from the metric method. As a result, the HTML page will show the same CAGR% on any periods_per_year inputs.

Thanks

@zhichenghou
Copy link

+1

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