Skip to content

A-safarji/Time-series-deep-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stock Price Prediction Using Time Series (Deep Learning)

License Python Version PRsWelcome medium TensorFlow

  • Univariate Time Series

Predicting stock price using historical data of a company using Neural Networks for multi-step forecasting of stock price.

General info

This project is; to implement deep learning algorithms two sequential models of recurrent neural networks (RNNs) such as stacked LSTM, Bidirectional LSTM, and NeuralProphet built with PyTorch to predict stock prices using time series forecasting.

Table of contents

This project was created for the article: Univariate Time Series With Stacked LSTM, BiLSTM, and NeuralProphet.

Stock Data

Data are obtained from 2010–01–04 to 2021–11–02 (11 years, 9 months, and 29 days) for Apple Inc (AAPL) and exported directly from Yahoo finance. Stock price history will be for the past 11 years (including the Covid-19 period).

Visualising Results

  • Stacked LSTM

Screen Shot 2022-01-02 at 9 13 34 PM

  • Bidirectional LSTM

Screen Shot 2022-01-02 at 9 12 42 PM

  • NeuralProphet

Screen Shot 2022-01-02 at 9 10 23 PM

Technologies

Final thoughts

The analysis of using three deep learning algorithms shows that they remain a worthy investment for the future. A qualified investor, on the other hand, should perform both external and internal business research before making an investment decision in order to obtain a full picture of the company's potential value.


Disclaimer

Attempts have been made to predict stock prices using time series analysis algorithms, but they are not yet available for betting in the real market. This is just a tutorial and implementation of deep learning models to forecast stock. Therefore, it is not intended to instruct people to buy stock from this repo.

Contributing

You can check out the full contribution document here

  • Fork the Repository here

1- Fork it

2- Create your feature branch (git checkout -b feature/fooBar)

3- Commit your changes (git commit -am 'Add some fooBar')

4- Push to the branch (git push origin feature/fooBar)

5- Create a new Pull Request

Contact

Stock Price Prediction Using Deep Learning - feel free to contact!

About

Developing Deep learning LSTM, BiLSTM models, and NeuralProphet for multi-step time-series forecasting of stock price.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published