Skip to content

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

License

Notifications You must be signed in to change notification settings

agupta01/sigmet

Repository files navigation

sigmet

Github Tests Documentation Status GitHub license Downloads

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages