Skip to main content

LSTM-ARIMA with attention mechanisms and multiplicative decomposition for sophisticated stock forecasting.

Project description

Neural Stock Prophet

PyPI version Downloads

neuralstockprophet combines several techniques and algorithms to enhance the robustness, stability, and interoperability of the stock price prediction algorithm. Stock Price Prediction using a machine learning algorithm helps discover the future value of company stock and other financial assets traded on an exchange. Whereas, the existing methods relied highly on model setup and tuning, without considering the variation of data. Also, the machine learning model faces the problems of overfitting and performance limitations.

Combined techniques:

  • LSTM model with attention mechanisms
  • Multiplicative decomposition
  • ARIMA model

Installation

  • Stable version
pip install neuralstockprophet

Getting Started

Simple

nsp = NeuralStockProphet(
        stock_names=["AAPL", "GOOGL"],
        scaler_func=lambda: MinMaxScaler(feature_range=(0, 1)),
        train_start_date="2010-01-01",
        train_end_date="2019-12-31",
        test_start_date="2020-01-01",
        test_end_date="2020-12-31",
    )

License

This project is licensed under the MIT License - see the LICENSE file for details.

TODO

There are further improvements that can be made. Please have a look at the TODO.

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

neuralstockprophet-0.0.2.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

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

neuralstockprophet-0.0.2-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file neuralstockprophet-0.0.2.tar.gz.

File metadata

  • Download URL: neuralstockprophet-0.0.2.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for neuralstockprophet-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0ad5c5bc549d4fb4340f8465514fc01f8e8b8ba5ab2f9bb9ac5d7d7f2c3b4958
MD5 1e68cf419ff451ec9021ae0aabd276e2
BLAKE2b-256 71ed9c80dbd5b825bf8f3d5debb3461e1738a3f6cd52dea162f3a11dd182e725

See more details on using hashes here.

File details

Details for the file neuralstockprophet-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for neuralstockprophet-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b97198cbb9a8b432dc7994501fa0896ebaf0fec8620ab4ea32b0876ea6db769c
MD5 946638e77b5f88144e207d4d2bf5fcb2
BLAKE2b-256 b620814096f06cc2145e3c38597ba214e0191ea8adbe7b86d0f5430466934b7b

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