ClusterLOB: Enhancing Trading Strategies by Clustering Orders in Limit Order Books
By: Yichi Zhang , Mihai Cucuringu , Alexander Y. Shestopaloff and more
Potential Business Impact:
Groups traders by how they buy/sell stocks.
Plain English Summary
This helps traders spot patterns in stock market activity to make smarter decisions faster. It sorts trading actions into groups based on behavior, revealing who is driving prices up or down. This means investors can better predict market moves and improve their strategies. Anyone investing in stocks could benefit from clearer insights into how markets really work.
In the rapidly evolving world of financial markets, understanding the dynamics of limit order book (LOB) is crucial for unraveling market microstructure and participant behavior. We introduce ClusterLOB as a method to cluster individual market events in a stream of market-by-order (MBO) data into different groups. To do so, each market event is augmented with six time-dependent features. By applying the K-means++ clustering algorithm to the resulting order features, we are then able to assign each new order to one of three distinct clusters, which we identify as directional, opportunistic, and market-making participants, each capturing unique trading behaviors. Our experimental results are performed on one year of MBO data containing small-tick, medium-tick, and large-tick stocks from NASDAQ. To validate the usefulness of our clustering, we compute order flow imbalances across each cluster within 30-minute buckets during the trading day. We treat each cluster's imbalance as a signal that provides insights into trading strategies and participants' responses to varying market conditions. To assess the effectiveness of these signals, we identify the trading strategy with the highest Sharpe ratio in the training dataset, and demonstrate that its performance in the test dataset is superior to benchmark trading strategies that do not incorporate clustering. We also evaluate trading strategies based on order flow imbalance decompositions across different market event types, including add, cancel, and trade events, to assess their robustness in various market conditions. This work establishes a robust framework for clustering market participant behavior, which helps us to better understand market microstructure, and inform the development of more effective predictive trading signals with practical applications in algorithmic trading and quantitative finance.
Similar Papers
Representation Learning of Limit Order Book: A Comprehensive Study and Benchmarking
Computational Engineering, Finance, and Science
Makes stock market data easier for computers to understand.
A Comparative Analysis of Statistical and Machine Learning Models for Outlier Detection in Bitcoin Limit Order Books
Trading & Market Microstructure
Finds fake trades in crypto markets.
Order Book Filtration and Directional Signal Extraction at High Frequency
Trading & Market Microstructure
Filters trading data to predict stock prices better.