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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
S. Dunbar. Stochastic Processes and Advanced Mathematical Finance Brief History of Mathematical Finance Rating Everyone. In Semantic Scholar, 2015.
Diederik P. Kingma and Jimmy Lei Ba. ADAM: A METHOD FOR STOCHASTIC OPTIMIZATION. In ICLR 2015, 2015.
Paul A. Samuelson. Mathematics of speculative price. SIAM Review, 15(1):1–42, 1973.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
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
DOI: https://doi.org/10.1007/978-1-4842-7912-0_10
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-7911-3
Online ISBN: 978-1-4842-7912-0
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)