ranaroussi/quantstats

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

yuzeximj123 opened this issue · 1 comments

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