Investops

Latest version: v0.4.0

Safety actively analyzes 623860 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.4.0

New features:

- Class `StockForecast` (`stock_forecast.py`)
- Functions `rel_change` and `mean_rel_change` (`rel_change.py`)

0.3.0

New features:

- Portfolio group constraints (`group_constraints.py`)
- Generate random portfolio groups (`random.py`)
- Function `random.rand_where`

Changes:

- Selection of parallel vs. serial execution in `diversify.py`

Moved:

- `rand_weights_uniform` to `rand_uniform`
- `rand_weights_normal` to `rand_normal`
- `diversify._check_weights` to `check.check_weights`

0.2.0

New features:

- Portfolio diversification for sparse corr. matrix (`diversify_sparse.py`)
- Functions for sparse matrices (`sparse.py`)
- Functions for removing zero/small portfolio weights (`remove_weights.py`)

Fixes:

- Parallel "race condition" in function `diversify._update_weights`

0.1.0

First beta version with the following features:

- Portfolio diversification (`diversify.py`)
- Portfolio weight normalization (`normalize.py`)
- Random generation of portfolio weights and correlation matrix (`random.py`)
- Check and fix correlation matrix (`check.py`)
- Linear mapping (`maps.py`)

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.