Quantitative functions in Python
Project description
Risk
Welcome to the Quant-Risk 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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
quant_risk-1.0.1.tar.gz
(15.8 kB
view details)
Built Distribution
File details
Details for the file quant_risk-1.0.1.tar.gz
.
File metadata
- Download URL: quant_risk-1.0.1.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8bcb6ff199f2fefa19a5909d37d238c184cf698ed585e5dd6ac296edc0d4b09 |
|
MD5 | 78b841095f71810f46ef75a847520814 |
|
BLAKE2b-256 | 00418dcc6f092b83b921c0a5789ebc4b672df218514ffcc90144d86c43e19b12 |
File details
Details for the file quant_risk-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: quant_risk-1.0.1-py3-none-any.whl
- Upload date:
- Size: 21.9 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fc68160a4ee7cfb3bd33f17b681d320bdff662ec218b49dc6f8a2408c2a1c0d |
|
MD5 | 7e6da1c017700ecc91d0784a59256999 |
|
BLAKE2b-256 | 55b07881c49978e070c468c735023fd5d936e8c00d9c72e0ba56954698aa86c5 |