Skip to main content

A Python Library containing various functions to analyse the risk of a business.

Project description

Analyse the risk of a business using Risky Business

Functions :

  1. Sharpe Ratio
  2. Returns & Volatility
  3. Risk by Return Ratio
  4. Compounded Percentage
  5. Annual Drawdown
  6. Skewness & Kurtosis
  7. Value Added Risk (VaR - Historic, Gaussian, Cornish-Fisher)
  8. CVaR - Historic
  9. VaR Comparison Plot

Important : Please read the DOCUMENTATION file before implementing any of the functions.

Installation

Use the package manager pip to install riskybusiness

pip install riskybusiness

Usage

import riskybusiness as rb
rb.FunctionName(dataset = Your_Dataset)

Make sure the dataset is loaded using pandas with the necessary columns.

A sample program using all the functions is displayed in risky.ipynb

  • Open using Jupyter NB or Google Colab
  • This file contains the output samples of all the functions present in the library.

github link

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

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

riskybusiness-0.0.3.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

riskybusiness-0.0.3-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file riskybusiness-0.0.3.tar.gz.

File metadata

  • Download URL: riskybusiness-0.0.3.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for riskybusiness-0.0.3.tar.gz
Algorithm Hash digest
SHA256 69837248d89f9455a18d7d78a705c492bc392c5c9f11d3d0a5c6fb8cb4c16afe
MD5 ee7daf357dc1f7a83181966afc143be6
BLAKE2b-256 6a799eab309b79acd08593fbcdb42e5edcf62d908c5a5d6b381350e912d3992b

See more details on using hashes here.

File details

Details for the file riskybusiness-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: riskybusiness-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for riskybusiness-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e5008eebeafb46b3fc7d461b4173d899e31f9a58478b7a95e60a63b19ee0a3eb
MD5 94a284de1aa8458a09f1a13e0fb2d44c
BLAKE2b-256 d4162f9079a61ca197afb06730d7059e65461419404f707ddd9adde0efdbcc4b

See more details on using hashes here.

Supported by

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