matlab code for stock price prediction using artificial neural network or hidden markov model using nueral network tool

14 views (last 30 days)
I have the data for 4 companies taken from finance.yahoo.com (Open, High, Low, Close, Volume and Adj Close) from december 2008 till december 2013. but i don't know how start, can you guide me please.. i want to code for stock data (company or gold or any historical data) to predict this data in future on the basis of past values. for this we exchange future data according to past data.using back prapogation (neural network technique),feed forward algorithm and calculate the network weight.train the data , validation,and error in network and graph for predict values as a output.

Accepted Answer

Greg Heath
Greg Heath on 9 Nov 2014
Search the NEWSGROUP and ANSWERS for previous posts on the topic. For example if the search words
neural finance prediction
don't result in postings that help, use a different set of appropriate search words.
Hope this helps.
Greg
  1 Comment
kalpana
kalpana on 10 Nov 2014
Edited: Image Analyst on 22 Nov 2014
thank you sir for accepting my question!!!! actually i already search in that blocks but i could not found my answer.i found only one answer by using neural network NARX.but i don't want it. my question is stock market prediction using hidden markov model and artificial neural network using nntool.
I am new in matlab. I would like to predict future values on the basis of past values. I have trained network but I don't know how to use it to predictions. I would be thankful if you could give me code what could I do to obtain predicted/future prices.
after stock data prediction using narx in neural network .what will graph show in x and y axis||||||||||||

Sign in to comment.

More Answers (2)

Prem Kumar
Prem Kumar on 13 Feb 2015
Hi @kalpana, i am also in search of the Answer for the Same Question. Have you got it? If so, i would like to hear the Answer. Thanks in Advance.
Regards,
Prem

Rishbh chaudhary
Rishbh chaudhary on 9 Mar 2021
Hi@kalpana you can directly use matlab tools of neural networks for your problem if you want to get deep understanding of the code https://github.com/avgn/ANN you should check out this link.
hope this helps
Regards,
Rishabh

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!