Skip to main content

Stock Prediction

  • Chapter
  • First Online:
Practical MATLAB Deep Learning

Abstract

The goal of a stock prediction algorithm is to recommend a portfolio of stocks that will maximize an investor’s return. The investor has a finite amount of money and wants to create a portfolio to maximize her or his return on investment. The neural network in this chapter will predict the behavior of a portfolio of stocks given its history. This could then be used to select a portfolio of stocks with some idea of the future performance. The stock market model used in this chapter is based on Geometric Brownian Motion. Given that, we could do statistical analysis that would allow us to pick stocks. We’ll show that a neural net, which does not have any knowledge of the model, can do as well in modeling the stocks.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. S. Dunbar. Stochastic Processes and Advanced Mathematical Finance Brief History of Mathematical Finance Rating Everyone. In Semantic Scholar, 2015.

    Google Scholar 

  2. Diederik P. Kingma and Jimmy Lei Ba. ADAM: A METHOD FOR STOCHASTIC OPTIMIZATION. In ICLR 2015, 2015.

    Google Scholar 

  3. Paul A. Samuelson. Mathematics of speculative price. SIAM Review, 15(1):1–42, 1973.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Paluszek, M., Thomas, S., Ham, E. (2022). Stock Prediction. In: Practical MATLAB Deep Learning. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-7912-0_10

Download citation

Publish with us

Policies and ethics