Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 20 May 2023

Kalman Filtering for Stocks Price Prediction and Control

Jimbo Henri Claver1, Mbiazi Dave2 & Shu Felix Che2

Journal of Computer Science, Volume 19, Issue 6, pp. 739–748 · doi.org/10.3844/jcssp.2023.739.748

6,367 accesses6,616 downloads2 citations (Crossref)Metrics
Cite Check for updates

Abstract

Stocks price analysis has been a critical area of research as the stock market is a very fluctuating market. Stocks price is affected by demand and supply dynamics making it difficult to forecast the price of a stock at a particular instant. The entire idea of predicting stocks price is to gain significant profits but predicting how the stock market will perform is a difficult task to carry out. In an attempt to do this, we construct a dynamical system for the stock’s price and simulate it using the Kalman filter. The dynamic tracking features of the filter here enable us to track the price of the Boeing stock. The stock price variation appears to be a maneuvering system from which we derive the state space model. Further, the robustness of the model is investigated by examining observability and controllability in the state space and proving that the system can be stabilized through state feedback. Finally, the forecasting result of 252 stock closing prices from January 01, 2021, to January 01, 2022, is provided by Kalman predictor and Python simulation. The evaluation of the prediction is done using absolute and relative error which gives relatively small values and thus makes the filter accurate for prediction.

Licence and reuse

Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Claver, J. H., Dave, M. & Che, S. F. (2023). Kalman Filtering for Stocks Price Prediction and Control. Journal of Computer Science, 19(6), 739–748. https://doi.org/10.3844/jcssp.2023.739.748

Licence
CC BY 4.0
Issue
Volume 19, Issue 6
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
Kalman Filtering for Stocks Price Prediction and ControlJournal of Computer Science · Volume 19, Issue 6 · pp. 739–748 · CC BY 4.0Download