EconPapers    
Economics at your fingertips  
 

Forecasting stock prices: Deep Learning and Full Order Book Dynamics

Léo Dody ()
Additional contact information
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

Post-Print from HAL

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.

Keywords: Deep Learning; Market Microstructure; Order Book Dynamics; Price forecasting; Sensitivity analysis (search for similar items in EconPapers)
Date: 2026
References: Add references at CitEc
Citations:

Published in Finance, inPress

There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:hal:journl:hal-05483822

Access Statistics for this paper

More papers in Post-Print from HAL
Bibliographic data for series maintained by CCSD ().

 
Page updated 2026-02-03
Handle: RePEc:hal:journl:hal-05483822