Giter VIP home page Giter VIP logo

risk-parity-1's Introduction

Risk Parity Helper Calcs

Helper functions to calculate optimal risk parity portfolio weights given historical returns

Dependencies: pandas, numpy, sklearn

  • "min_var" finds global minimum variance portfolio
  • "NewtonERC" class is the most robust in this file. Finds portfolio weights such that each security contributes equally to portfolio risk
  • "get_M2", "get_M3" through "high_moment_F" are a set of functions to find portfolio weights optimized for higher order moments of return distribution
  • "getDiversifiedWeights" is a function to be minimized to return portfolio weights to maximize the number of orthogonal bets taken given a number of securities
  • "getPCAWeights" calculates portfolio weights after running PCA on return distribution, so that each principal component carries equal loading

risk-parity-1's People

Contributors

jensolson avatar

Stargazers

Arnos avatar Riccardo Tinivella avatar EOrlowski avatar

risk-parity-1's Issues

No automatic download?

Hello,
I stumbled upon this repo after I've been looking into the CFTC data that is posted every week. I am just wondering what the pd.read files actually are from on the CFTC website? There is no automatic download of them so it seems it is something you download manually and put in the working directory.

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.