GithubHelp home page GithubHelp logo

mfzhang / price-and-trend-forecasting-with-deep-learning Goto Github PK

View Code? Open in Web Editor NEW

This project forked from furkankocer/price-and-trend-forecasting-with-deep-learning

0.0 1.0 0.0 1.29 MB

One of the most critical application areas in the Financial Market especially sits on Stock Markets. In this area, the aim is trying to predict the future value of a specific stock by looking at its previous financial data on the exchange process in the market. In this paper, we proposed a system that uses a Deep Learning based approach for training and constructing a knowledge base on a specific stock such as "IBM". We get time series values of the stock from the New York Stock Exchange which starts from 1968 up to 2018. Experimental results showed that this approach produces very good forecasting for specific stocks.

Python 100.00%

price-and-trend-forecasting-with-deep-learning's Introduction

Price-and-Trend-Forecasting-with-Deep-Learning

One of the most critical application areas in the Financial Market especially sits on Stock Markets. In this area, the aim is trying to predict the future value of a specific stock by looking at its previous financial data on the exchange process in the market. We proposed a system that uses a Deep Learning based approach for training and constructing a knowledge base on a specific stock such as "IBM".
We get time series values of the stock from the New York Stock Exchange which starts from 1968 up to 2018. Experimental results showed that this approach produces very good forecasting for specific stocks.

Proposed System of time series data, tanh activation function was used for hidden BLSTM layers during model training. Different training algorithms were tested and finally, the Adam training algorithm was selected and as its learning speed 0.001 and its batch size 2. Network inputs are presented as 15 data points vectors corresponding to past values of the last five days. The number of hidden layers and the number of neurons corresponding set experimentally. 64,16 and 64 which corresponds to the number of neurons BLSTM three hidden layer showed the lowest error estimate and the highest directional accuracy with the comparison of other BLSTM models. On the other hand, 0.2 dropouts is used to prevent overfitting for each layer.

After the compilation of the model, for testing the 300 days prediction We can easily compute that the directional accuracy of this model is 0,64 at 100th epochs. On each epoch accuracy has been fluctuated because of the dropout layer.

price-and-trend-forecasting-with-deep-learning's People

Contributors

furkankocer avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.