jaehyukchoi / riskparity.py

Fast and scalable design of risk parity portfolios

Home Page:https://mirca.github.io/riskparity.py/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

riskparity.py

PyPI version Downloads codecov

riskparityportfolio provides tools to design risk parity portfolios. In its simplest form, we consider the convex formulation with a unique solution proposed by Spinu (2013) and use cyclical methods inspired by Griveau-Billion et al. (2013) and Choi & Chen (2022). For more general formulations, which are usually nonconvex, we implement the successive convex approximation method proposed by Feng & Palomar (2015).

Documentation: https://mirca.github.io/riskparity.py

R version: https://mirca.github.io/riskParityPortfolio

Talks: slides HKML meetup 2020, tutorial - Data-driven Portfolio Optimization Course (HKUST)

Installation

  • development version
$ git clone https://github.com/dppalomar/riskparity.py.git
$ cd riskparity.py
$ pip install -e .
  • stable version
$ pip install riskparityportfolio

Windows requirements

Make sure to install Microsoft C++ Build Tools prior to riskparityportfolio.

References

License

Copyright 2022 Ze Vinicius and Daniel Palomar

This project is licensed under the terms of the MIT License.

Disclaimer

The information, software, and any additional resources contained in this repository are not intended as, and shall not be understood or construed as, financial advice. Past performance is not a reliable indicator of future results and investors may not recover the full amount invested. The authors of this repository accept no liability whatsoever for any loss or damage you may incur. Any opinions expressed in this repository are from the personal research and experience of the authors and are intended as educational material.

About

Fast and scalable design of risk parity portfolios

https://mirca.github.io/riskparity.py/

License:MIT License


Languages

Language:Python 78.4%Language:C++ 21.6%