Skip to main content

sortino_ratio

Get rolling Sortino Ratio.

The Sortino Ratio enhances the evaluation of investment returns by distinguishing harmful volatility from total volatility. Unlike other metrics that treat all volatility as risk, this command specifically assesses the volatility of negative returns relative to a target or desired return. It's particularly useful for investors who are more concerned with downside risk than with overall volatility. By calculating the Sortino Ratio, investors can better understand the risk-adjusted return of their investments, focusing on the likelihood and impact of negative returns. This approach offers a more nuanced tool for portfolio optimization, especially in strategies aiming to minimize the downside.

For method & terminology see: http://www.redrockcapital.com/Sortino__A__Sharper__Ratio_Red_Rock_Capital.pdf

Parameters

data: ForwardRef('Data') | ForwardRef('DataFrame') | ForwardRef('Series') | ForwardRef('ndarray') | dict | list
target: str
target_return: float
Default: 0.0
window: int
Default: 252
adjusted: bool
Default: False
index: str
Default: date


Returns

results: list[Data]

Serializable results.

provider: str

Provider name.

warnings: Optional[list[Warning_]]

list of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data