[Paper Review] Universal features of price formation in financial markets: perspectives from Deep Learning
This paper proposes a universal, stationary price formation model in financial markets using deep learning on high-frequency order book data from 1,000 US stocks. Trained on pooled data across all stocks, the model outperforms asset-specific models in out-of-sample prediction accuracy and generalizes to unseen stocks, demonstrating that price dynamics are governed by universal, path-dependent relationships between order flow and price changes over long horizons.
Using a large-scale Deep Learning approach applied to a high-frequency database containing billions of electronic market quotes and transactions for US equities, we uncover nonparametric evidence for the existence of a universal and stationary price formation mechanism relating the dynamics of supply and demand for a stock, as revealed through the order book, to subsequent variations in its market price. We assess the model by testing its out-of-sample predictions for the direction of price moves given the history of price and order flow, across a wide range of stocks and time periods. The universal price formation model is shown to exhibit a remarkably stable out-of-sample prediction accuracy across time, for a wide range of stocks from different sectors. Interestingly, these results also hold for stocks which are not part of the training sample, showing that the relations captured by the model are universal and not asset-specific. The universal model --- trained on data from all stocks --- outperforms, in terms of out-of-sample prediction accuracy, asset-specific linear and nonlinear models trained on time series of any given stock, showing that the universal nature of price formation weighs in favour of pooling together financial data from various stocks, rather than designing asset- or sector-specific models as commonly done. Standard data normalizations based on volatility, price level or average spread, or partitioning the training data into sectors or categories such as large/small tick stocks, do not improve training results. On the other hand, inclusion of price and order flow history over many past observations is shown to improve forecasting performance, showing evidence of path-dependence in price dynamics.
Motivation & Objective
- To investigate whether a universal price formation mechanism exists across financial assets, independent of individual stock characteristics.
- To test whether deep learning models trained on pooled data from multiple stocks can generalize to unseen instruments with limited historical data.
- To assess the stationarity and robustness of price prediction models over long time horizons and diverse market conditions.
- To evaluate the role of historical order flow in predicting price direction, challenging the Markovian assumption of short-term memory in price dynamics.
Proposed method
- A deep neural network, specifically an LSTM architecture, is trained to predict the direction of the next price move using the history of limit order book data (bid/ask prices, volumes, and order flow) as input.
- The model is trained on a large-scale, high-frequency dataset containing billions of transactions and quotes from 1,000 US equities over a 19-month period.
- Out-of-sample evaluation is performed across 50 stocks in June–August 2015, comparing model performance against both linear models and asset-specific deep learning models.
- The model's generalization capability is tested on stocks not included in the training set, assessing performance on newly listed or data-scarce instruments.
- Performance is evaluated using out-of-sample forecast accuracy for price direction, with ablation studies comparing models using different input sequence lengths (e.g., 100 vs. 5,000 lags).
- Data normalization techniques such as volatility or price-level scaling are tested but found not to improve model performance, suggesting the model captures intrinsic, scale-invariant dynamics.
Experimental results
Research questions
- RQ1Is there a universal, stationary price formation mechanism that applies across different stocks and sectors, independent of asset-specific characteristics?
- RQ2Can a single deep learning model trained on pooled data from multiple stocks outperform asset-specific models in out-of-sample price direction prediction?
- RQ3Does incorporating long historical sequences of order book data (beyond one lag) significantly improve prediction accuracy, indicating path-dependent dynamics?
- RQ4How does model performance vary over time, and is the model robust to regime shifts or non-stationarities in financial data?
- RQ5Can the model generalize to stocks not present in the training data, particularly those with short or incomplete data histories?
Key findings
- The universal deep learning model trained on all 1,000 stocks outperforms all asset-specific models—linear and nonlinear—on out-of-sample prediction of price direction, even for stocks not in the training set.
- The model maintains stable out-of-sample accuracy across all tested time periods, including up to 19 months beyond the training window, indicating strong stationarity.
- Including 5,000 historical lags (approximately 2 hours) in the input sequence increases forecast accuracy significantly compared to models using only 100 lags, demonstrating long-term path dependence in price formation.
- The LSTM-based model, which captures temporal dependencies, outperforms a feedforward neural network that treats the order book as a Markovian process, confirming the importance of memory in price dynamics.
- Standard data normalization techniques such as volatility scaling, price-level normalization, or sector-based partitioning do not improve model performance, suggesting the model learns intrinsic, scale-invariant features.
- The model generalizes effectively to stocks not in the training sample, enabling reliable predictions for newly listed or data-scarce equities without retraining.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.