IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i17p2676-d1466107.html
   My bibliography  Save this article

Game Theory for Predicting Stocks’ Closing Prices

Author

Listed:
  • João Costa Freitas

    (Faculty of Sciences, University of Porto, R Campo Alegre, 4169-007 Porto, Portugal)

  • Alberto Adrego Pinto

    (Faculty of Sciences, University of Porto, R Campo Alegre, 4169-007 Porto, Portugal
    Artificial Intelligence and Decision Support (LIAAD)—Institute for Systems and Computer Engineering, Technology and Science (INESC TEC), University of Porto, R Campo Alegre, 4169-007 Porto, Portugal)

  • Óscar Felgueiras

    (Faculty of Sciences, University of Porto, R Campo Alegre, 4169-007 Porto, Portugal
    Centro de Matemática da Universidade do Porto (CMUP), University of Porto, R Campo Alegre, 4169-007 Porto, Portugal)

Abstract

We model the financial markets as a game and make predictions using Markov chain estimators. We extract the possible patterns displayed by the financial markets, define a game where one of the players is the speculator, whose strategies depend on his/her risk-to-reward preferences, and the market is the other player, whose strategies are the previously observed patterns. Then, we estimate the market’s mixed probabilities by defining Markov chains and utilizing its transition matrices. Afterwards, we use these probabilities to determine which is the optimal strategy for the speculator. Finally, we apply these models to real-time market data to determine its feasibility. From this, we obtained a model for the financial markets that has a good performance in terms of accuracy and profitability.

Suggested Citation

  • João Costa Freitas & Alberto Adrego Pinto & Óscar Felgueiras, 2024. "Game Theory for Predicting Stocks’ Closing Prices," Mathematics, MDPI, vol. 12(17), pages 1-49, August.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:17:p:2676-:d:1466107
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/17/2676/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/17/2676/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Hyndman, Rob J. & Khandakar, Yeasmin, 2008. "Automatic Time Series Forecasting: The forecast Package for R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 27(i03).
    2. Benoit Mandelbrot & Howard M. Taylor, 1967. "On the Distribution of Stock Price Differences," Operations Research, INFORMS, vol. 15(6), pages 1057-1062, December.
    3. Jackson, Christopher, 2011. "Multi-State Models for Panel Data: The msm Package for R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 38(i08).
    4. Jackwerth, Jens Carsten & Rubinstein, Mark, 1996. "Recovering Probability Distributions from Option Prices," Journal of Finance, American Finance Association, vol. 51(5), pages 1611-1632, December.
    5. Bollerslev, Tim, 1986. "Generalized autoregressive conditional heteroskedasticity," Journal of Econometrics, Elsevier, vol. 31(3), pages 307-327, April.
    6. Pearce, David G, 1984. "Rationalizable Strategic Behavior and the Problem of Perfection," Econometrica, Econometric Society, vol. 52(4), pages 1029-1050, July.
    7. Nicky J. Welton & A. E. Ades, 2005. "Estimation of Markov Chain Transition Probabilities and Rates from Fully and Partially Observed Data: Uncertainty Propagation, Evidence Synthesis, and Model Calibration," Medical Decision Making, , vol. 25(6), pages 633-645, November.
    8. Engle, Robert F, 1982. "Autoregressive Conditional Heteroscedasticity with Estimates of the Variance of United Kingdom Inflation," Econometrica, Econometric Society, vol. 50(4), pages 987-1007, July.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Kyungsub Lee, 2022. "Application of Hawkes volatility in the observation of filtered high-frequency price process in tick structures," Papers 2207.05939, arXiv.org, revised Sep 2024.
    2. Arthur M. Berd & Robert F. Engle & Artem Voronov, 2010. "The Underlying Dynamics of Credit Correlations," Papers 1001.0786, arXiv.org.
    3. Ghysels, E. & Harvey, A. & Renault, E., 1995. "Stochastic Volatility," Papers 95.400, Toulouse - GREMAQ.
    4. David M. Frankel, 2008. "Adaptive Expectations And Stock Market Crashes," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 49(2), pages 595-619, May.
    5. Szakmary, Andrew & Ors, Evren & Kyoung Kim, Jin & Davidson, Wallace III, 2003. "The predictive power of implied volatility: Evidence from 35 futures markets," Journal of Banking & Finance, Elsevier, vol. 27(11), pages 2151-2175, November.
    6. Shafiqah Azman & Dharini Pathmanathan & Aerambamoorthy Thavaneswaran, 2022. "Forecasting the Volatility of Cryptocurrencies in the Presence of COVID-19 with the State Space Model and Kalman Filter," Mathematics, MDPI, vol. 10(17), pages 1-15, September.
    7. Saswat Patra & Malay Bhattacharyya, 2021. "Does volume really matter? A risk management perspective using cross‐country evidence," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 26(1), pages 118-135, January.
    8. Lim, Kian Guan & Chen, Ying & Yap, Nelson K.L., 2019. "Intraday information from S&P 500 Index futures options," Journal of Financial Markets, Elsevier, vol. 42(C), pages 29-55.
    9. Giulia Di Nunno & Kk{e}stutis Kubilius & Yuliya Mishura & Anton Yurchenko-Tytarenko, 2023. "From constant to rough: A survey of continuous volatility modeling," Papers 2309.01033, arXiv.org, revised Sep 2023.
    10. Ajay Singh & Dinghai Xu, 2016. "Random matrix application to correlations amongst the volatility of assets," Quantitative Finance, Taylor & Francis Journals, vol. 16(1), pages 69-83, January.
    11. Tae-Hwy Lee & Yong Bao & Burak Saltoğlu, 2007. "Comparing density forecast models Previous versions of this paper have been circulated with the title, 'A Test for Density Forecast Comparison with Applications to Risk Management' since October 2003;," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 26(3), pages 203-225.
    12. Aldrich, Eric M. & Heckenbach, Indra & Laughlin, Gregory, 2016. "A compound duration model for high-frequency asset returns," Journal of Empirical Finance, Elsevier, vol. 39(PA), pages 105-128.
    13. Koundouri, Phoebe & Kourogenis, Nikolaos & Pittis, Nikitas & Samartzis, Panagiotis, 2015. "Factor Models as "Explanatory UniÖers" versus "Explanatory Ideals" of Empirical Regularities of Stock Returns," MPRA Paper 122254, University Library of Munich, Germany.
    14. Darsinos, T. & Satchell, S.E., 2001. "Bayesian Analysis of the Black-Scholes Option Price," Cambridge Working Papers in Economics 0102, Faculty of Economics, University of Cambridge.
    15. Giulia Di Nunno & Kęstutis Kubilius & Yuliya Mishura & Anton Yurchenko-Tytarenko, 2023. "From Constant to Rough: A Survey of Continuous Volatility Modeling," Mathematics, MDPI, vol. 11(19), pages 1-35, October.
    16. Senarathne, Chamil W & Jayasinghe, Prabhath, 2017. "Information Flow Interpretation of Heteroskedasticity for Capital Asset Pricing: An Expectation-based View of Risk," MPRA Paper 78771, University Library of Munich, Germany, revised 04 Apr 2017.
    17. Carol Alexander & Emese Lazar, 2009. "Modelling Regime‐Specific Stock Price Volatility," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 71(6), pages 761-797, December.
    18. Warusawitharana, Missaka, 2018. "Time-varying volatility and the power law distribution of stock returns," Journal of Empirical Finance, Elsevier, vol. 49(C), pages 123-141.
    19. Ata Türkoğlu, 2016. "Normally distributed high-frequency returns: a subordination approach," Quantitative Finance, Taylor & Francis Journals, vol. 16(3), pages 389-409, March.
    20. Tompkins, Robert G. & D'Ecclesia, Rita L., 2006. "Unconditional return disturbances: A non-parametric simulation approach," Journal of Banking & Finance, Elsevier, vol. 30(1), pages 287-314, January.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:12:y:2024:i:17:p:2676-:d:1466107. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.