Ratio Risk Measure: private API

PortfolioOptimisers.RkRatioRM — Type
const RkRatioRM = Union{RiskRatio, NonOptimisationRiskRatio}

Groups the two ratio measures whose value is one risk divided by another risk.

Both members hold their two risks in the fields r1 and r2, so one method of supports_precomputed_returns answers for both. Their expected_risk methods stay separate, because only NonOptimisationRiskRatio carries a scalariser for each field.

Related

source