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
sigmet-0.9.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
sigmet-0.9.0-py3-none-any.whl
(14.4 kB
view hashes)