IDEAS home Printed from https://ideas.repec.org/p/war/wpaper/2020-22.html
   My bibliography  Save this paper

Nvidia’s stock returns prediction using machine learning techniques for time series forecasting problem

Author

Listed:
  • Marcin Chlebus

    (Faculty of Economic Sciences, University of Warsaw)

  • Michał Dyczko

    (Faculty of Mathematics and Computer Science, Warsaw University of Technology)

  • Michał Woźniak

    (Faculty of Economic Sciences, University of Warsaw)

Abstract

The main aim of this paper was to predict daily stock returns of Nvidia Corporation company quoted on Nasdaq Stock Market. The most important problems in this research are: statistical specificity of return ratios i.e. time series might occur to be a white noise and the fact of necessity of applying many atypical machine learning methods to handle time factor influence. The period of study covered 07/2012 - 12/2018. Models used in this paper were: SVR, KNN, XGBoost, LightGBM, LSTM, ARIMA, ARIMAX. Features which, were used in models comes from such classes like: technical analysis, fundamental analysis, Google Trends entries, markets related to Nvidia. It was empirically proved that there is a possibility to construct prediction model of Nvidia daily return ratios which can outperform simple naive model. The best performance was obtained by SVR based on stationary attributes. Generally, it was shown that models based on stationary variables perform better than models based on stationary and non-stationary variables. Ensemble approach designed especially for time series failed to make an improvement in forecast precision. It seems that usage of machine learning models for the problem of time series with various explanatory variable classes brings good results.

Suggested Citation

  • Marcin Chlebus & Michał Dyczko & Michał Woźniak, 2020. "Nvidia’s stock returns prediction using machine learning techniques for time series forecasting problem," Working Papers 2020-22, Faculty of Economic Sciences, University of Warsaw.
  • Handle: RePEc:war:wpaper:2020-22
    as

    Download full text from publisher

    File URL: https://www.wne.uw.edu.pl/index.php/download_file/5749/
    File Function: First version, 2020
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Gianluca Bontempi & Souhaib Ben Taieb & Yann-Aël Le Borgne, 2013. "Machine learning strategies for time series forecasting," ULB Institutional Repository 2013/167761, ULB -- Universite Libre de Bruxelles.
    2. Pai, Ping-Feng & Lin, Chih-Sheng, 2005. "A hybrid ARIMA and support vector machines model in stock price forecasting," Omega, Elsevier, vol. 33(6), pages 497-505, December.
    3. Hill, Jonathan B. & Motegi, Kaiji, 2019. "Testing the white noise hypothesis of stock returns," Economic Modelling, Elsevier, vol. 76(C), pages 231-242.
    4. Chou, Jui-Sheng & Tran, Duc-Son, 2018. "Forecasting energy consumption time series using machine learning techniques based on usage patterns of residential householders," Energy, Elsevier, vol. 165(PB), pages 709-726.
    5. ?enol Emir & Hasan Din?er & Mehpare Timor, 2012. "A Stock Selection Model Based on Fundamental and Technical Analysis Variables by Using Artificial Neural Networks and Support Vector Machines," Review of Economics & Finance, Better Advances Press, Canada, vol. 2, pages 106-122, August.
    6. Nikola MILOSEVIC, 2016. "Equity Forecast: Predicting Long Term Stock Price Movement using Machine Learning," Journal of Economics Library, KSP Journals, vol. 3(2), pages 288-294, June.
    7. Jegadeesh, Narasimhan & Titman, Sheridan, 1993. "Returns to Buying Winners and Selling Losers: Implications for Stock Market Efficiency," Journal of Finance, American Finance Association, vol. 48(1), pages 65-91, March.
    8. Masaya Abe & Hideki Nakayama, 2018. "Deep Learning for Forecasting Stock Returns in the Cross-Section," Papers 1801.01777, arXiv.org, revised Jun 2018.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Maudud Hassan Uzzal & Robert Ślepaczuk, 2023. "The performance of time series forecasting based on classical and machine learning methods for S&P 500 index," Working Papers 2023-05, Faculty of Economic Sciences, University of Warsaw.
    2. Karol Chojnacki & Robert Ślepaczuk, 2023. "This study compares well-known tools of technical analysis (Moving Average Crossover MAC) with Machine Learning based strategies (LSTM and XGBoost) and Ensembled Machine Learning Strategies (LSTM ense," Working Papers 2023-15, Faculty of Economic Sciences, University of Warsaw.

    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. Kei Nakagawa & Tomoki Ito & Masaya Abe & Kiyoshi Izumi, 2019. "Deep Recurrent Factor Model: Interpretable Non-Linear and Time-Varying Multi-Factor Model," Papers 1901.11493, arXiv.org.
    2. Shalini Sharma & Víctor Elvira & Emilie Chouzenoux & Angshul Majumdar, 2021. "Recurrent Dictionary Learning for State-Space Models with an Application in Stock Forecasting," Post-Print hal-03184841, HAL.
    3. Jasleen Kaur & Khushdeep Dharni, 2022. "Application and performance of data mining techniques in stock market: A review," Intelligent Systems in Accounting, Finance and Management, John Wiley & Sons, Ltd., vol. 29(4), pages 219-241, October.
    4. Karol Bot & Samira Santos & Inoussa Laouali & Antonio Ruano & Maria da Graça Ruano, 2021. "Design of Ensemble Forecasting Models for Home Energy Management Systems," Energies, MDPI, vol. 14(22), pages 1-37, November.
    5. Diogo M. F. Izidio & Paulo S. G. de Mattos Neto & Luciano Barbosa & João F. L. de Oliveira & Manoel Henrique da Nóbrega Marinho & Guilherme Ferretti Rissi, 2021. "Evolutionary Hybrid System for Energy Consumption Forecasting for Smart Meters," Energies, MDPI, vol. 14(7), pages 1-19, March.
    6. Harrison Hong & Terence Lim & Jeremy C. Stein, 2000. "Bad News Travels Slowly: Size, Analyst Coverage, and the Profitability of Momentum Strategies," Journal of Finance, American Finance Association, vol. 55(1), pages 265-295, February.
    7. Berg, Joyce E. & Rietz, Thomas A., 2019. "Longshots, overconfidence and efficiency on the Iowa Electronic Market," International Journal of Forecasting, Elsevier, vol. 35(1), pages 271-287.
    8. Rojahn, Joachim & Röhl, Christian W. & Frère, Eric, 2010. "Optimum Portfolio ETF Indices: Benchmarking für multidimensional diversifizierte Wertpapierportfolios," Berichte aus der Forschung der FOM 75202, FOM Hochschule für Oekonomie & Management.
    9. Shi, Huai-Long & Zhou, Wei-Xing, 2022. "Factor volatility spillover and its implications on factor premia," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 80(C).
    10. David A. Volkman, 1999. "Market Volatility And Perverse Timing Performance Of Mutual Fund Managers," Journal of Financial Research, Southern Finance Association;Southwestern Finance Association, vol. 22(4), pages 449-470, December.
    11. Pastor, Lubos & Stambaugh, Robert F., 2003. "Liquidity Risk and Expected Stock Returns," Journal of Political Economy, University of Chicago Press, vol. 111(3), pages 642-685, June.
    12. Klaus Grobys & James W. Kolari & Jere Rutanen, 2022. "Factor momentum, option-implied volatility scaling, and investor sentiment," Journal of Asset Management, Palgrave Macmillan, vol. 23(2), pages 138-155, March.
    13. Constantinos Antoniou & John A. Doukas & Avanidhar Subrahmanyam, 2016. "Investor Sentiment, Beta, and the Cost of Equity Capital," Management Science, INFORMS, vol. 62(2), pages 347-367, February.
    14. Agarwal, Vikas & Gay, Gerald D. & Ling, Leng, 2011. "Window dressing in mutual funds," CFR Working Papers 11-07, University of Cologne, Centre for Financial Research (CFR).
    15. Siddiqi, Hammad, 2015. "Anchoring and Adjustment Heuristic: A Unified Explanation for Equity Puzzles," MPRA Paper 68729, University Library of Munich, Germany.
    16. Philip A. Stork, 2011. "The intertemporal mechanics of European stock price momentum," Studies in Economics and Finance, Emerald Group Publishing Limited, vol. 28(3), pages 217-232, August.
    17. Brad M. Barber & Yi‐Tsung Lee & Yu‐Jane Liu & Terrance Odean, 2007. "Is the Aggregate Investor Reluctant to Realise Losses? Evidence from Taiwan," European Financial Management, European Financial Management Association, vol. 13(3), pages 423-447, June.
    18. Dimitrios D. Thomakos & Michail S. Koubouros, 2011. "The Role of Realised Volatility in the Athens Stock Exchange," Multinational Finance Journal, Multinational Finance Journal, vol. 15(1-2), pages 87-124, March - J.
    19. AltInkIlIç, Oya & Hansen, Robert S., 2009. "On the information role of stock recommendation revisions," Journal of Accounting and Economics, Elsevier, vol. 48(1), pages 17-36, October.
    20. Tobias J. Moskowitz & Mark Grinblatt, 2002. "What Do We Really Know About the Cross-Sectional Relation Between Past and Expected Returns?," Yale School of Management Working Papers ysm259, Yale School of Management.

    More about this item

    Keywords

    nvidia; stock returns; machine learning; technical analysis; fundamental analysis; google trends; stationarity; ensembling;
    All these keywords.

    JEL classification:

    • C32 - Mathematical and Quantitative Methods - - Multiple or Simultaneous Equation Models; Multiple Variables - - - Time-Series Models; Dynamic Quantile Regressions; Dynamic Treatment Effect Models; Diffusion Processes; State Space Models
    • C38 - Mathematical and Quantitative Methods - - Multiple or Simultaneous Equation Models; Multiple Variables - - - Classification Methdos; Cluster Analysis; Principal Components; Factor Analysis
    • C44 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Operations Research; Statistical Decision Theory
    • C51 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Model Construction and Estimation
    • C52 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Model Evaluation, Validation, and Selection
    • C61 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Optimization Techniques; Programming Models; Dynamic Analysis
    • C65 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Miscellaneous Mathematical Tools
    • G11 - Financial Economics - - General Financial Markets - - - Portfolio Choice; Investment Decisions
    • G15 - Financial Economics - - General Financial Markets - - - International Financial Markets

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    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:war:wpaper:2020-22. 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: Marcin Bąba (email available below). General contact details of provider: https://edirc.repec.org/data/fesuwpl.html .

    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.