Skip to main content

A package for time series data processing and modeling using ARIMA and GARCH models

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

Generalized Timeseries

CI/CD readthedocs.io PyPI codecov Codacy Badge

A package for timeseries data processing and modeling using ARIMA and GARCH models.

Features

  • Price series generation for simulation.
  • Data preprocessing including missing data handling and scaling.
  • Stationarity testing and transformation.
  • ARIMA and GARCH models for time series forecasting.

Installation

Install from pypi:

python -m venv venv
source venv/bin/activate
pip install generalized-timeseries

Install from github:

python -m venv venv
source venv/bin/activate
pip install git+https://github.com/garthmortensen/generalized-timeseries.git

Usage

from generalized_timeseries import data_generator, data_processor, stats_model

# generate price series data
price_series = data_generator.generate_price_series(length=1000)

# preprocess the data
processed_data = data_processor.preprocess_data(price_series)

# fit ARIMA model
arima_model = stats_model.fit_arima(processed_data)

# fit GARCH model
garch_model = stats_model.fit_garch(processed_data)

# forecast using ARIMA model
arima_forecast = stats_model.forecast_arima(arima_model, steps=10)

# forecast using GARCH model
garch_forecast = stats_model.forecast_garch(garch_model, steps=10)

print("ARIMA Forecast:", arima_forecast)
print("GARCH Forecast:", garch_forecast)

Publishing Maintenance

Reminder on how to manually push to pypi. This step, along with autodoc build, is automated with CI/CD.

pypi

pip install --upgrade build
pip install --upgrade twine
python -m build  # build the package
twine check dist/  # check it works
twine upload dist/

rm -rf dist build *.egg-info # restart if needed

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

generalized_timeseries-0.1.8.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

generalized_timeseries-0.1.8-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file generalized_timeseries-0.1.8.tar.gz.

File metadata

  • Download URL: generalized_timeseries-0.1.8.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for generalized_timeseries-0.1.8.tar.gz
Algorithm Hash digest
SHA256 8ed19f3718055e1d5dd7bcb3ce3228c5da7692a4d8e86e091228419ee7211591
MD5 3d11e1b9e0c6b9779fcb1566a40888cc
BLAKE2b-256 132783d39adf93db0d11a57e1f60af67fbec9f345d15080481cf94cb4b11eeb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for generalized_timeseries-0.1.8.tar.gz:

Publisher: execute_CICD.yml on garthmortensen/generalized-timeseries

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file generalized_timeseries-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for generalized_timeseries-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 cf1b16d70f42f3c06c19ee8e5df40adccf4727454e0ed545f2378485625c5475
MD5 016700434c70946011e0cea5dccc7ce0
BLAKE2b-256 707ad81cf077db417ef101ffd3d6159e9273c489b2995bf528bd02e6b9c549bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for generalized_timeseries-0.1.8-py3-none-any.whl:

Publisher: execute_CICD.yml on garthmortensen/generalized-timeseries

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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