artificial neural networks approach to stock prediction l.
Skip this Video
Loading SlideShow in 5 Seconds..
Artificial Neural Networks Approach to Stock Prediction PowerPoint Presentation
Download Presentation
Artificial Neural Networks Approach to Stock Prediction

Loading in 2 Seconds...

play fullscreen
1 / 12

Artificial Neural Networks Approach to Stock Prediction - PowerPoint PPT Presentation

  • Uploaded on

Artificial Neural Networks Approach to Stock Prediction. Presented by Justin Jaeck. Project Outline. Project Description Explanation of neural network usage and procedure Method Formatting of Data Matlab implementation Results from experimentation Conclusion. Project Description.

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
Download Presentation

PowerPoint Slideshow about 'Artificial Neural Networks Approach to Stock Prediction' - JasminFlorian

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
project outline
Project Outline
  • Project Description
  • Explanation of neural network usage and procedure
    • Method
    • Formatting of Data
    • Matlab implementation
  • Results from experimentation
  • Conclusion
project description
Project Description

Being a very interested and active trader in the stock market, I thought it would be informative to apply particular stock data to a neural network and extrapolate predictions to use in my own investments.


After some research and some trial and error, I decided to use a feed-forward neural network. This network has one hidden layer and is trained with a back-propagation algorithm. The network was implemented with Matlab and the neural network toolbox.

I picked three possible inputs with which to train the network. The first is the closing price of the stock. The second is the volume traded of the stock. The third is the product of the closing price and the volume.

The output of the network is the day to day difference of the closing price.

All data used was obtained from However, this data was not suitable for direct implementation into Matlab. I therefore wrote a java program which formats the data into a useful format.

formatting of data
Formatting of Data

Data is taken from the website for the stock of interest. It can be saved to a text file.

A java program takes this text file, formats the dates, removes extra white space, and scales the volume accordingly.

matlab implementation
Matlab Implementation

My matlab program takes the output of the java program and does some additional formatting. This includes storing the date in serial format as well as calculating the product of volume and closing price.

The user can then select what data is to be used for training. Upon selection, he/she selects the amount of data to be used, the number of points used to predict the next point, and the number of neurons in the hidden layer.


Once the user has input the file and selected the options, training of the network is begun. The trained network is then used to simulate and form predictions. These predictions are plotted along with the actual values. An additional plot is also generated which shows the difference between the actual and predicted values


In general, I found that the product of volume and closing price consistently yielded the best results. I experimented with stocks that are highly volatile and others which are very stable. Regardless of the stock, the results were the same.

I had hoped to be able to predict future values of the stock, but was unable to do this. The best I could do was to predict one day into the future. However, this was found to have no accuracy whatsoever.

I feel that there are too many outside factors which effect the price of a stock to simply pick a few and expect a good prediction. Many of the most influential factors are also such that they cannot be characterized into data for training purposes. Such things include press releases and earnings reports, as well as the actions of the Federal Reserve Board.

  • Neural Networks Toolbox documentation.
  • ECE 539 Class Notes on feed forward networks and back-propagation algorithms.
  • American Stock Exchange Web page
  • Multi-Task Learning for Stock Selection, Joumana Ghosn