Skip to main content

Package for financial time series forecasting.

Project description

ftsf

This package provides high-level interface to work with financial time series forecasting models.

Installation

To install this package run command:

pip install ftsf

Usage

The usage of package is simple:

from ftsf.model import Model
from ftsf.preprocessing import get_data
x_train, x_test, y_train, y_test, scaler = get_data('AAPL', length=15)
model = Model('LSTM x2', lag = 15)
model.fit(x_train, y_train) model.evaluate(x_test, y_test, scaler)
{'mse' : 0.679, 'mae' : 0.8291, 'mape' : 0.00783, 'r2' : 0.98778}

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

ftsf-0.0.2.3.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

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

ftsf-0.0.2.3-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file ftsf-0.0.2.3.tar.gz.

File metadata

  • Download URL: ftsf-0.0.2.3.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for ftsf-0.0.2.3.tar.gz
Algorithm Hash digest
SHA256 879ae0cbe1746c02f1dc98f4460362f78f28f9ed11aa7d9a28163a50a414f0e9
MD5 959b44b2a2e7d8e6b81e2cb0eb71e902
BLAKE2b-256 3a380c7bad1ec8bc3dd4b27bdeb6dd7001beb172f57820d4fcc7f91c52d39843

See more details on using hashes here.

File details

Details for the file ftsf-0.0.2.3-py3-none-any.whl.

File metadata

  • Download URL: ftsf-0.0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for ftsf-0.0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b6648899e139f0406ef38b0c5b1650e20a7c1a5e54a5fd8f5cebc2e0d14628b9
MD5 c8310e76869f429d264fa05540ea3405
BLAKE2b-256 d83c64219bca805584940ce711eedc1271b989e0969258eb6872d68240dfd4f6

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