A Python package to find and measure negative price shocks in financial time-series data
Project description
sigmet
Installation
Sigmet (Signal Metrics Toolkit) is an end-to-end solution for the detection and measurement of negative shocks in time series data.
Sigmet requires the following packages:
- Pandas: primary data format for easy data manipulation and datetime functionality
- Numpy: for computation
- Statsmodels: AU3 uses statsmodel’s ARIMA and SARIMAX models for prediction
- Matplotlib: plotting for .graph() method
To install, run the following on the command line
pip install sigmet
Example
First we instantiate an AU3 object
from sigmet import Sigmet
data = pd.read_csv('time-series.csv')
ex = Sigmet(start, end, data)
ex.fit(window_start, window_end)
# graph the result as follows
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
ax = ex.graph()
plt.show()
Contribute
- Issue Tracker: https://github.com/agupta01/sigmet/issues
- Source Code: https://github.com/agupta01/sigmet
License
The project is licensed under the GNU General Public 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
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 sigmet-0.9.0.tar.gz.
File metadata
- Download URL: sigmet-0.9.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcbfa2fdcc119f50b4c3c8639a0017de28f1f4531af689d57bd0089c15de16dd
|
|
| MD5 |
fe08c8bc7730f61b6b97f851f1ca7d93
|
|
| BLAKE2b-256 |
48626755ec993c96b3454c2fa640432ffdf57d2ea4d3e7ecb425fe4fafd5b32f
|
File details
Details for the file sigmet-0.9.0-py3-none-any.whl.
File metadata
- Download URL: sigmet-0.9.0-py3-none-any.whl
- Upload date:
- Size: 14.4 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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71298e2d2e77cd86d5319bddbb52ff37e3b15461d481aa2316815371dbc98f91
|
|
| MD5 |
aeee1078cb13f830dfef7aeca357a565
|
|
| BLAKE2b-256 |
2f4a6791a3f416f04557a56ede9b02c259a630b156f977dd8d27bbe66f0bd148
|