semideviation_monthly
- property Portfolio.semideviation_monthly
Calculate semi-deviation monthly value for portfolio rate of return time series.
Semi-deviation (Downside risk) is the risk of the return being below the expected return.
- Returns:
- float
Semi-deviation monthly value for portfolio rate of return time series.
Examples
>>> pf = ok.Portfolio(["MSFT.US", "AAPL.US"], last_date="2024-12") >>> pf.semideviation_monthly 0.057319735856567695