A package for calculating systemic risk in the market
Project description
systemic_risk
Estimate systematic liquidity in the market using only close and volume data: https://www.financialresearch.gov/working-papers/files/OFRwp-2015-11_Systemwide-Commonalities-in-Market-Liquidity.pdf
Getting Started
Dependencies
- See requirement.txt
Installation
pip install systemic_risk
or
pip install -U systemic_risk
Example
import yfinance as yf
from systemic_risk import Liquidity as lq
yf_df = yf.download('SPY, ^FTSE, ^N225', start='2003-01-01', end='2022-01-01')
close, volume = yf_df["Close"].to_numpy(), yf_df["Volume"].to_numpy()
obj = lq.Liquidity(close, volume)
obj.fit_transform()
Authors
Flynn Chen Daniel Rodriguez Sony Wicaksono Doris Schioberg Devon Cross William Casey King
License
This project is licensed under the MIT License - see the LICENSE file for details
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file systemic_risk-0.0.6.tar.gz.
File metadata
- Download URL: systemic_risk-0.0.6.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4902d57e72abefe8011a08a431989e40d1de3118e9c21c8ed572fd2a059e56e7
|
|
| MD5 |
d9d7b021e8b7137f7f39f2aa22c74485
|
|
| BLAKE2b-256 |
74ce70b72fc679d4817ce37d26f0bfb25d2996a1a6b0fe803b9a116f35af1652
|
File details
Details for the file systemic_risk-0.0.6-py3-none-any.whl.
File metadata
- Download URL: systemic_risk-0.0.6-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f84886ecfe99e8e46640f4323a4b1d4cb89615b645dcef16fd869b6b714f85e
|
|
| MD5 |
9e076f27bd0a2a668933c40ff12d31a0
|
|
| BLAKE2b-256 |
f244c7292b261bed6585701304b16372ab8c5a2a38c5c46d7b508db3d9083622
|