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

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% |
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.
My PR for fixing this bug just got approved and merged. Give a try now, with release 0.0.59