calculate_sortino_ratio
Calculate the Sortino ratio to evaluate risk-adjusted return by penalizing only downside deviation, not upside volatility.
Instructions
Calculate Sortino Ratio = (Rp - Rf) / Downside Deviation. Like Sharpe but only penalizes downside volatility, not upside.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| risk_free_rate | Yes | ||
| portfolio_return | Yes | ||
| downside_deviation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |