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 :
- Sharpe Ratio
- Returns & Volatility
- Risk by Return Ratio
- Compounded Percentage
- Annual Drawdown
- Skewness & Kurtosis
- Value Added Risk (VaR - Historic, Gaussian, Cornish-Fisher)
- CVaR - Historic
- 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.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
69837248d89f9455a18d7d78a705c492bc392c5c9f11d3d0a5c6fb8cb4c16afe
|
|
MD5 |
ee7daf357dc1f7a83181966afc143be6
|
|
BLAKE2b-256 |
6a799eab309b79acd08593fbcdb42e5edcf62d908c5a5d6b381350e912d3992b
|
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e5008eebeafb46b3fc7d461b4173d899e31f9a58478b7a95e60a63b19ee0a3eb
|
|
MD5 |
94a284de1aa8458a09f1a13e0fb2d44c
|
|
BLAKE2b-256 |
d4162f9079a61ca197afb06730d7059e65461419404f707ddd9adde0efdbcc4b
|