pyrb
riskparity.py
pyrb | riskparity.py | |
---|---|---|
3 | 2 | |
111 | 276 | |
- | 1.4% | |
0.0 | 5.5 | |
10 months ago | 2 months ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pyrb
-
On the relationship between QQQ and TQQQ returns
There's also risk budgeting you can try: https://github.com/jcrichard/pyrb/blob/master/notebooks/RiskBudgeting.ipynb
-
TMF down -18% in 52 weeks - have people been plowing money into it?
In another (https://github.com/jcrichard/pyrb/blob/master/notebooks/RiskBudgeting.ipynb), he's calculating the covariance matrix from the input as follows:
-
My Guide to Hedgefundie's Portfolio and Why I'm 100% Invested in it for FATFire and WHALEFire
The technical explanation is in this academic paper and one of the authors released a python library implementing it. I use this to create some scripting for my own portfolio needs that tells me what portfolio weights to use when I want to rebalance or add new funds.
riskparity.py
What are some alternatives?
Riskfolio-Lib - Portfolio Optimization and Quantitative Strategic Asset Allocation in Python
cvxportfolio - Portfolio optimization and back-testing.
mlfinlab - MlFinLab helps portfolio managers and traders who want to leverage the power of machine learning by providing reproducible, interpretable, and easy to use tools.
okama - Investment portfolio and stocks analyzing tools for Python with free historical data
vectorbt - Find your trading edge, using the fastest engine for backtesting, algorithmic trading, and research.
zipline - Zipline, a Pythonic Algorithmic Trading Library
Empyrial - AI and data-driven quantitative portfolio management library for portfolio risk and performance analysis 投资组合管理
portfolio_allocation_js - A JavaScript library to allocate and optimize financial portfolios.