quantstats icon indicating copy to clipboard operation
quantstats copied to clipboard

EOY Returns values doesn't match with graph

Open jdarias3 opened this issue 2 years ago • 2 comments

When runs an Html report, the data from the EOY Returns graph doesn't match with the Key Performance Metrics when benchmark is None

image
Year Return Cumulative
2015 4088609.18% inf%
2016 7028080.04% inf%
2017 16818466.65% inf%
2018 43249527.67% inf%
2019 83941260.79% inf%
2020 112595171.44% inf%
2021 200606276.12% inf%

jdarias3 avatar Mar 05 '22 21:03 jdarias3

It appears that the compunded is not passed through the EOY function on line 919 of the stats.py.

If you pass it, it works.

joaoppc avatar Mar 21 '22 22:03 joaoppc

My PR for fixing this bug just got approved and merged. Give a try now, with release 0.0.59

TradingDominion avatar Jul 05 '22 18:07 TradingDominion