[PYTHON] About Sharpe Ratio and Sortino Ratio

1. Purpose

Explain the meaning of Sharpe Ratio and Sortino Ratio.

2 Contents

2-1 About Sharpe Ratio

When selecting stocks for stock investment, it is generally considered good to select stocks with high expected returns and low risk (daily volatility, volatility). The Sharpe Ratio shows the relationship between return and risk. The formula for Sharpe Ratio is defined below.

Sharpe Ratio = \biggl({\frac{R_{p}-R_{f}}{σ_{p}}} \biggl)

$ R_ {p}: $ Represents the expected return. Please see here for the actual calculation method. $ R_ {f}: $ Indicates a risk-free return. It's a profit you can get without doing anything. (Example: dividend, interest) $ σ_ {p}: $ Represents Volatility. Please see here for the actual calculation method.

From the above formula, the Sharpe Ratio is large = high expected return & low risk (Volatility), which is generally a good tendency. On the other hand, if the Sharpe Ratio is low, it means that the risk (Volarility) is high, and it means that the loss will be large if you lose. Generally, it is recommended to buy a stock with $ Sharpe Ratio> 1 $. </ b>

If you want to know more about Sharpe Ratio, you can find it on this site.

Recommended Posts

About Sharpe Ratio and Sortino Ratio
About _ and __
About Class and Instance
About cumprod and cummax
About cross-validation and F-number
This and that about pd.DataFrame
About python objects and classes
About Python variables and objects
About Raid group and LUN
About fork () function and execve () function
About Python, len () and randint ()
About Python datetime and timezone
About Python and regular expressions
About Python and os operations
About http.Handle () and http.NewServeMux (). Handle ()
Python # About reference and copy
About Numpy array and asarray
About Python sort () and reverse ()
About installing Pwntools and Python2 series
Summary and common errors about cron
About python dict and sorted functions
About dtypes in Python and Cython
About MkDocs themes and their customs
About Python pickle (cPickle) and marshal
[Python] About Executor and Future classes
About Python, from and import, as
About time series data and overfitting