Skip to content

Use pandas to calculate and compare profitability and risk of different investments using the Sharpe Ratio

Notifications You must be signed in to change notification settings

HermawanHermawan/sharpe-ratio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

PROJECT DESCRIPTION

When assessing whether to invest in an asset or not, an investor wants to look not only at how much money they could make but also at how much risk they are taking. The Sharpe Ratio, developed by Nobel Prize winner William Sharpe some 50 years ago, does precisely this: it compares the return of an investment to that of an alternative and relates the relative return to the risk of the investment, measured by the standard deviation of returns. In this project, the Sharpe ratio will be applied to real financial data using pandas

PROJECT DETAIL

  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

About

Use pandas to calculate and compare profitability and risk of different investments using the Sharpe Ratio

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published