This study bridges finance and physics by applying thermodynamic concepts to model the limit order book (LOB) with high-frequency trading data on the Bitcoin spot. We derive the measures of Market Temperature and Market Entropy from the kinetic and potential energies in the LOB to provide a deeper understanding of order activities and market participant behavior. Market Temperature emerges as a robust indicator of market liquidity, correlating with liquidity measures such as Active Quote Volume, bid–ask spread and match volume. Market Entropy, on the other hand, quantifies the degree of disorder or randomness in the LOB, providing insights into the instantaneous volatility of price in the high-frequency trading market. Our empirical findings not only broaden the theoretical framework of econophysics but also enhance comprehensive understanding of the market microstructure and order book dynamics.
13 October 2025 in Frontiers in Artificial Intelligence
While the transformer architecture has demonstrated strong success in natural language processing and computer vision, its application to limit order book forecasting, particularly in capturing spatial and temporal dependencies, remains limited. In this work, we introduce Limit Order Book Transformer (LiT), a novel deep learning architecture for forecasting short-term market movements using high-frequency limit order book data. Unlike previous approaches that rely on convolutional layers, LiT leverages structured patches and transformer-based self-attention to model spatial and temporal features in market microstructure dynamics. We evaluate LiT on multiple LOB datasets across different prediction horizons, LiT consistently outperforms traditional machine learning methods and state-of-the-art deep learning baselines. Furthermore, we show that LiT maintains robust performance under distributional shifts via fine-tuning, making it a practical solution for fast-paced and dynamic financial environments.