Git Product home page Git Product logo

risk-management-and-markowitz-efficient-frontier's Introduction

Risk-Management-Measures-and-Markowitz-Efficient-Frontier

Markowitz Efficient Frontier and other risk management measures

Developed by Nobel Laureate Harry Markowitz, Modern portfolio theory is a widely used investing model designed to help investors minimize market risk while maximizing returns for their portfolio. It is a theory of investing based on the premise that markets are efficient and more reliable than investors.

In this Jupyter Notebook, I've demonstrated how to calculate some of the basic risk measures and plot the Efficient Frontier for a portfolio in Python. This notebook includes calculation and plots of measures such as:

  1. Standard Deviation (Volatility)
  2. Expected Returns
  3. Drawdown
  4. VaR and CVar
  5. Sharpe Ratio
  6. Efficient Frontier
  7. Capital Market Line (CML)
  8. Global Minimum Variance (GMV) Portfolio
  9. Beta

The notebook contains calculations of portfolio volatility based on a number of measures and how portfolios can be optimized using Modern Portfolio Theory (MPT). The results are plotted using visualization libraries like Plotly and Seaborn.

Github performs a static render of the notebooks and it doesn't include the embedded HTML/JavaScript that makes up a plotly graph, so the graphs which are plotted using Plotly cannot be displayed in Github. To view the complete notebook with outputs as well, one nice option is to paste the link of GitHub notebook into http://nbviewer.jupyter.org/, which will present a rich view of the notebook.

OR

Visit https://nbviewer.jupyter.org/github/tejaslinge/Risk-Management-and-Markowitz-Efficient-Frontier/blob/main/Risk%20Measures%20and%20Efficient%20Frontier.ipynb to view complete Jupyter notebook.

risk-management-and-markowitz-efficient-frontier's People

Contributors

tejaslinge avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.