Skip to main content

Quantitative functions in Python

Project description

Documentation Status GitHub

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:

  1. install pipenv by:
pip install pipenv
  1. then go to the main directory of this repo and do:
pipenv shell
  1. Update your setup tools package by:
python -m pip install -U pip setuptools
  1. Now, to install the package, run the command:
pipenv install quant_risk
  1. To exit the virtual environment do:
exit

Since, PyPortfolioOpt requires Visual Studio C++, do the following:

  1. 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
  2. From the available softwares, select "Visual Studio Build Tools 2019"
  3. 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:

  1. Activate your venv by:
pipenv shell
  1. run the command:
pipenv install jupyter
  1. run the command:
pipenv run jupyter notebook

All done! An instance of Jupyter notebook should now open up in your browser

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


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.1.0.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

quant_risk-1.1.0-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file quant_risk-1.1.0.tar.gz.

File metadata

  • Download URL: quant_risk-1.1.0.tar.gz
  • Upload date:
  • Size: 17.3 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

Hashes for quant_risk-1.1.0.tar.gz
Algorithm Hash digest
SHA256 af5e2614da8a4a5e26b4760f13dc4229b4ced6d9562ca3307a15e41db84742ee
MD5 08a3c885eca39171d7cda81418948a1b
BLAKE2b-256 dfb764ee8bf2aa9267b8b27bcc7af1e84ecdd91a34083cf600ac333b70916b80

See more details on using hashes here.

File details

Details for the file quant_risk-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: quant_risk-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.0 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

Hashes for quant_risk-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c530dc26f03f06c6fe354819d30064afddd9f373c0a7e397fdbeb5115813d218
MD5 4ea0f4230dacd9d03ef5127b1cc3adc0
BLAKE2b-256 55aeace25fb47416e6b24bbb581d3d99476646525c5dce56e7ca0a1d309469d7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page