Git Product home page Git Product logo

cluster_portfolio_analysis's Introduction

Cluster_Portfolio_Analysis


This project examines a 35 stock varying weight portfolio loosely based on a colleague's portfolio with similar composition.


Quantitative analytics performed on the portfolio included component correlation and interaction, a benchmark comparison, distribution of returns analysis and sharpe ratio analysis.


Furthermore, a "deep dive" into the components of the portfolio was undertaken and numerous metrics including valuation & performance were examined.


Primary tools used in the project were:

  • OpenBB SDK - quick & easy access to stock data on all components of the portfolio. Further "deep dive" into certain metrics fo the portfolio was also achieved through application of just a few of the hundreds of available functions.
  • Riskfolio-Lib - portfolio optimization library that was used to explore how the components of the portfolio "interacted" via correlation & clustering analysis

Summary

  • This project was an excellent case used to explore two very powerful analysis tool kits; OpenBB SDK & Riskfolio-Lib
  • Through use of the OpenBB SDK stock data of portfolio components was quickly and easily obtained ready for further analysis.
  • The use of Riskfolio-lib allow for the examination of correlation and interaction of portfolio components. A minimum spanning tree analysis and asset cluster map gave excellent insight to the interactions of the stocks in the portfolio.
  • The OpenBB SDK allowed for the analysis to dive deep into the components of the portfolio and start to examine multiple valuation and performance metrics.

Follow On

  • At this point in the project, the analysis could take a number of different directions depending on the end user/client objectives. Some possible avenues to explore are:
    • Portfolio rebalancing/reduction based on cluster analysis
    • Portfolio optimization around risk parameters (Sharpe optimization, risk parity ...)
    • Predictive analytics utilizing current data frames of performance and valuation data.
    • Portfolio hedging

cluster_portfolio_analysis's People

Contributors

mikewenner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.