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

Short-Term Stock Price Forecasting using exogenous variables and Machine Learning Algorithms
[Prévision court terme de valeurs boursières par apprentissage automatique et variables exogènes]

Author

Listed:
  • Albert Wong

    (Langara College)

  • Steven Whang

    (Langara College)

  • Emilio Sagre

    (Langara College)

  • Niha Sachin

    (Langara College)

  • Gustavo Dutra

    (Langara College)

  • Yew-Wei Lim

    (Langara College)

  • Gaétan Hains

    (UPEC FST - Université Paris-Est Créteil Val-de-Marne - Faculté des sciences et technologie - UPEC UP12 - Université Paris-Est Créteil Val-de-Marne - Paris 12)

  • Youry Khmelevsky

    (Okanagan College - University of Brithish Columbia)

  • Frank Zhang

    (UFV - University of the Fraser Valley)

Abstract

Creating accurate predictions in the stock market has always been a significant challenge in finance. With the rise of machine learning as the next level in the forecasting area, this research paper compares four machine learning models and their accuracy in forecasting three well-known stocks traded in the NYSE in the short term from March 2020 to May 2022. We deploy, develop, and tune XGBoost, Random Forest, Multi-layer Perceptron, and Support Vector Regression models. We report the models that produce the highest accuracies from our evaluation metrics: RMSE, MAPE, MTT, and MPE. Using a training data set of 240 trading days, we find that XGBoost gives the highest accuracy despite running longer (up to 10 seconds). Results from this study may improve by further tuning the individual parameters or introducing more exogenous variables.

Suggested Citation

  • Albert Wong & Steven Whang & Emilio Sagre & Niha Sachin & Gustavo Dutra & Yew-Wei Lim & Gaétan Hains & Youry Khmelevsky & Frank Zhang, 2023. "Short-Term Stock Price Forecasting using exogenous variables and Machine Learning Algorithms [Prévision court terme de valeurs boursières par apprentissage automatique et variables exogènes]," Working Papers hal-04201060, HAL.
  • Handle: RePEc:hal:wpaper:hal-04201060
    Note: View the original document on HAL open archive server: https://hal.u-pec.fr/hal-04201060
    as

    Download full text from publisher

    File URL: https://hal.u-pec.fr/hal-04201060/document
    Download Restriction: no
    ---><---

    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:hal:wpaper:hal-04201060. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: CCSD (email available below). General contact details of provider: https://hal.archives-ouvertes.fr/ .

    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.