pyrb
mlfinlab
pyrb | mlfinlab | |
---|---|---|
3 | 126 | |
111 | 3,779 | |
- | 1.0% | |
0.0 | 0.0 | |
10 months ago | 7 months ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
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.
mlfinlab
What are some alternatives?
Riskfolio-Lib - Portfolio Optimization and Quantitative Strategic Asset Allocation in Python
bulbea - :boar: :bear: Deep Learning based Python Library for Stock Market Prediction and Modelling
vectorbt - Find your trading edge, using the fastest engine for backtesting, algorithmic trading, and research.
riskparity.py - Fast and scalable construction of risk parity portfolios
PyPortfolioOpt - Financial portfolio optimisation in python, including classical efficient frontier, Black-Litterman, Hierarchical Risk Parity
zipline - Zipline, a Pythonic Algorithmic Trading Library
tradestation-python-api - A Python Client library for the TradeStation API.
portfolio_allocation_js - A JavaScript library to allocate and optimize financial portfolios.
tf-quant-finance - High-performance TensorFlow library for quantitative finance.
documentation - This repository contains the documentation for the current Quantiacs project. Check it out at: https://quantiacs.com/documentation/en/
deepdow - Portfolio optimization with deep learning.