IDEAS home Printed from https://ideas.repec.org/p/hal/journl/hal-05483822.html

Forecasting stock prices: Deep Learning and Full Order Book Dynamics

Author

Listed:
  • Léo Dody

    (University of Lyon, UJML - Université Jean Moulin - Lyon 3 - Université de Lyon, iae Lyon, MAGELLAN - Laboratoire de Recherche Magellan - UJML - Université Jean Moulin - Lyon 3 - Université de Lyon - Institut d'Administration des Entreprises (IAE) - Lyon)

Abstract

This paper examines the effectiveness of deep learning models in short-term stock price forecasting using full order book (FOB) data alongside traditional OHLCV features. Historical prices and order book data for 39 stocks over one month were collected, cleaned, and normalized to build three datasets. Convolutional Neural Network (CNN), Long Short-Term Memory (LSTM), and hybrid CNN-LSTM models were developed with optimized hyperparameters and trained to predict the next 100 five-minute intervals based on the preceding 100 intervals. Evaluation metrics included mean squared error, mean absolute error, and directional accuracy. Results show that the CNN-LSTM model combining OHLCV and FOB data outperforms other configurations, achieving the lowest prediction errors. Sensitivity analysis using Sobol indices indicates that aggregate liquidity variables and recent time steps are the most influential predictors. These findings demonstrate that integrating granular microstructure data significantly improves forecasting accuracy, providing valuable insights for the design of data-driven trading strategies that capitalize on short-term market dynamics.

Suggested Citation

  • Léo Dody, 2026. "Forecasting stock prices: Deep Learning and Full Order Book Dynamics," Post-Print hal-05483822, HAL.
  • Handle: RePEc:hal:journl:hal-05483822
    as

    Download full text from publisher

    To our knowledge, this item is not available for download. To find whether it is available, there are three options:
    1. Check below whether another version of this item is available online.
    2. Check on the provider's web page whether it is in fact available.
    3. Perform a
    for a similarly titled item that would be available.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    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:hal:journl:hal-05483822. 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.