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

Uploaded Python 3

File details

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

File metadata

  • Download URL: generalized_timeseries-0.1.1.tar.gz
  • Upload date:
  • Size: 10.1 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.1.tar.gz
Algorithm Hash digest
SHA256 46e22b7dd6e6e032fde5241cf8566fe5a3db23ca7a49fcddc72b1937504c5a53
MD5 8ab83f6158fba1aef34b1ea128c8dcfc
BLAKE2b-256 9ba9c8b35bfff6c3cb9b594c17e6e90632befd3cd42d3a8c1c6a7bee49d2f847

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for generalized_timeseries-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ca198bebf2b05b6cfe05ddbaacf3313e642bd7b4234fd532ce4a1dd8d03b953
MD5 018c798c2bd0ebae0290d0a55c9387eb
BLAKE2b-256 bbfa8604e1651d2209399054aef02992ae897238691b04fb14dc63fcae0c09ce

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