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

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)

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: generalized_timeseries-0.1.2.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for generalized_timeseries-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7c58890894a3acf46d12e22d9357fe822e0dd9bb2f9a8bde0bdda9fbca6164c9
MD5 01c3d67683a73e52ed4e3a7b992e8612
BLAKE2b-256 66bb8f1e9bae38b72712d0f1d5a82b368a3c3316b1199dbee16a4bc3ba41f128

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for generalized_timeseries-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 59a0439065cdb71ae6983ecfaa4564f996a07691d8910c6f7daa6d563a8d79ee
MD5 3c6d582a4e837786b7130328f9b7a4fc
BLAKE2b-256 23ebec6c022799156b5d51ad1dd66f9c194cf0c5a893fa995cf6bdec67f6257a

See more details on using hashes here.

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