Python Exercises for Corporate Finance and Risk Management

18 / 26

Question: 89

Please refer to the previous question to answer this question. What is the correct value of the Sharpe Ratio of the portfolio (rp)?


The Sharpe ratio compares the return of an investment with its risk. It's a mathematical expression of the insight that excess returns over a period of time may signify more volatility and risk, rather than investing skill.

  • Define a function with the name "sharp_ratio", which will take 3 arguments on risk , given standard deviation and premium that is risk free rate.
  • The signature of the function should be like:

    def sharp_ratio(risk, sd_1,premium,):

  • Use the formula, Sharp ratio = (risk - premium)/standard deviation

Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...