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

Read the Docs

PyPI

A package for time series 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

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

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)

External resources

pypi repo

readthedocs.io

Publishing Maintenance

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

Publishing via Github Actions

Pypi publication occurs when pushing a tag:

git tag v0.1.7
git push origin v0.1.7

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.7.tar.gz (13.6 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.7-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: generalized_timeseries-0.1.7.tar.gz
  • Upload date:
  • Size: 13.6 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.7.tar.gz
Algorithm Hash digest
SHA256 47749d1f1f89b28cce19d9904ba560a5397bb6ccfab48866b17425687bb6fff0
MD5 febd01d35571fa2191a8c1186acd04fe
BLAKE2b-256 10bf3f862f1860c9cd5b051a0049fdbafd9da19245fae1b4a5e056e5c77b3961

See more details on using hashes here.

Provenance

The following attestation bundles were made for generalized_timeseries-0.1.7.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.7-py3-none-any.whl.

File metadata

File hashes

Hashes for generalized_timeseries-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 9adc50a32717e1bb93c6e00f9aabd860bc040c5ed15a88373bb3ba06c1df3c07
MD5 6a2b3a38f17751e7a3ebbc074a644223
BLAKE2b-256 abaacf86fcd4519ef40815f0ba1fa20d97b2b389851f22bf027c4e65a3d505c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for generalized_timeseries-0.1.7-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