Skip to content

Add compounded flag to qs.stats.rar() for non-compounded return streams #510

@austinchennn

Description

@austinchennn

Description:
Similar to Issue #507, the qs.stats.rar() function currently computes CAGR assuming daily compounded returns because it calls cagr() without exposing the compounded parameter.

For intraday or capital-constrained strategies, this geometric CAGR inflates the Risk-Adjusted Return.

Proposed Solution:
Add a compounded boolean flag to rar() (defaulting to True for backward compatibility) and pass it down to cagr() to maintain consistency across the library. I would be happy to open a PR to implement this fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions