Skip to main content

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

Release files for riskybusiness 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for riskybusiness 0.0.3
File Size Uploaded
riskybusiness-0.0.3.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for riskybusiness 0.0.3
File Interpreter ABI Platform
riskybusiness-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 kB

Release files / riskybusiness-0.0.3.tar.gz

Download URL riskybusiness-0.0.3.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
69837248d89f9455a18d7d78a705c492bc392c5c9f11d3d0a5c6fb8cb4c16afe
BLAKE2b-256 checksum
How to use checksums
6a799eab309b79acd08593fbcdb42e5edcf62d908c5a5d6b381350e912d3992b
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / riskybusiness-0.0.3-py3-none-any.whl

Download URL riskybusiness-0.0.3-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5008eebeafb46b3fc7d461b4173d899e31f9a58478b7a95e60a63b19ee0a3eb
BLAKE2b-256 checksum
How to use checksums
d4162f9079a61ca197afb06730d7059e65461419404f707ddd9adde0efdbcc4b
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page