project
Risk and Returns: The Sharpe Ratio
Beginner
Updated 06/2024Start project for free
Included withPremium or Teams
PythonApplied Finance45 minutes11 Tasks1,500 XP21,540
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.Training 2 or more people?
Try DataCamp for BusinessLoved by learners at thousands of companies
Project Description
Risk and Returns: The Sharpe Ratio
Risk and Returns: The Sharpe Ratio
Use pandas to calculate and compare profitability and risk of different investments using the Sharpe Ratio.
- 1
Meet Professor William Sharpe
- 2
A first glance at the data
- 3
Plot & summarize daily prices for Amazon and Facebook
- 4
Visualize & summarize daily values for the S&P 500
- 5
The inputs for the Sharpe Ratio: Starting with Daily Stock Returns
- 6
Daily S&P 500 returns
- 7
Calculating Excess Returns for Amazon and Facebook vs. S&P 500
- 8
The Sharpe Ratio, Step 1: The Average Difference in Daily Returns Stocks vs S&P 500
- 9
The Sharpe Ratio, Step 2: Standard Deviation of the Return Difference
- 10
Putting it all together
- 11
Conclusion
FAQs
Join over 15 million learners and start Risk and Returns: The Sharpe Ratio today!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.