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.1.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.1-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ftsf-0.0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 32e04446928f650b889b2a149130a2ef1d323f3b6cf0a50e376b737b0915c792
MD5 0795049d64835abecde1895b1161cd50
BLAKE2b-256 7ac4d022fb84082409dd997ee7b3c8a448a633d9cde218801c452c9096fdbb0a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ftsf-0.0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d6c10cde7aa54752df99280b2eaeb14279c35d9984956e18054be30d7ed72fd
MD5 767b5dc250bea3852e6b07a4ebea2ebc
BLAKE2b-256 7dda9e78ee3dc68186f1226010149b762f0eab78ab3e517189fdfa2cfcf9ae8b

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