Skip to content

UpsidePotentialRatio missing r when MAR is time series #185

@Javdat

Description

@Javdat

UpsidePotentialRatio fails when MAR is specified as time series:

> UpsidePotentialRatio(managers, MAR = managers$`US 10Y TR`)
Error in FUN(newX[, i], ...) : object 'r' not found

The issue is due to returns being specified as r instead of R
https://github.com/braverock/PerformanceAnalytics/blob/49a93f1ed6e2e159b63bf346672575f3634ed370/R/UpsidePotentialRatio.R#L91C31-L91C31

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