Skip to main content

A Python package to find and measure negative price shocks in financial time-series data

Project description

sigmet

Github Tests Documentation Status GitHub license

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

License

The project is licensed under the GNU General Public License.

Project details


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)

Uploaded Source

Built Distribution

sigmet-0.9.0-py3-none-any.whl (14.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page