Risk
Welcome to the Quant-Risk package!
Please head over to https://quant-risk.readthedocs.io/en/latest/ to view the latest documentation for the package
To set up your environment:
- install pipenv by:
pip install pipenv
- then go to the main directory of this repo and do:
pipenv shell
- Update your setup tools package by:
python -m pip install -U pip setuptools
- Now, to install the package, run the command:
pipenv install quant_risk
- To exit the virtual environment do:
exit
Since, PyPortfolioOpt requires Visual Studio C++, do the following:
- Before installing and setting up your environment, install Visual Studio Build Tools from here: https://visualstudio.microsoft.com/downloads/ choose the Community version if you have Windows
- From the available softwares, select "Visual Studio Build Tools 2019"
- Now your pipenv shell should be able to install PyPortfolioOpt
Note: The above is for Windows users, for Mac users please see: https://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/
To run a jupyter notebook instance with this venv:
- Activate your venv by:
pipenv shell
- run the command:
pipenv install jupyter
- run the command:
pipenv run jupyter notebook
All done! An instance of Jupyter notebook should now open up in your browser
Version 1.1.1
Fixed minor import errors
Version 1.1.0
Added risk parity portfolios and covariance shrinkage
Version 1.0.2
Removed Quandl dependency and risk free rate function
Version 1.0.1
First published working build
Version 1.0.0
Initial Build
Metadata
Release files for quant-risk 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quant_risk-1.1.1.tar.gz | 17.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quant_risk-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.5 kB
Release files / quant_risk-1.1.1.tar.gz
| Download URL | quant_risk-1.1.1.tar.gz |
|---|---|
| Size | 17.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f539aadffd6f3df3fb250641f6f096ed3a8b1423238f52c6e20c0c5ec04c1f54
|
|
BLAKE2b-256 checksum How to use checksums |
0cf6b839ede811b471d300a6b991d30a830751599ce31dbab0e22c91eb811af4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.10
|
Release files / quant_risk-1.1.1-py3-none-any.whl
| Download URL | quant_risk-1.1.1-py3-none-any.whl |
|---|---|
| Size | 27.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
45a008e59a7c533b996565dd90cac0ede9ce0a6d37dd3c1fa3c92083371b3882
|
|
BLAKE2b-256 checksum How to use checksums |
ede3bbb4354725dbae0abdd2494291206f960868ee0a1f2009d1afc1b0855cc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.10
|