Limit Order Book Simulation and Trade Evaluation with $K$-Nearest-Neighbor Resampling
<|reference_start|>Limit Order Book Simulation and Trade Evaluation with $K$-Nearest-Neighbor Resampling: In this paper, we show how $K$-nearest neighbor ($K$-NN) resampling, an off-policy evaluation method proposed in \cite{giegrich2023k}, can be applied to simulate limit order book (LOB) markets and how it can be used to evaluate and calibrate trading strategies. Using historical LOB data, we demonstrate that our simulation method is capable of recreating realistic LOB dynamics and that synthetic trading within the simulation leads to a market impact in line with the corresponding literature. Compared to other statistical LOB simulation methods, our algorithm has theoretical convergence guarantees under general conditions, does not require optimization, is easy to implement and computationally efficient. Furthermore, we show that in a benchmark comparison our method outperforms a deep learning-based algorithm for several key statistics. In the context of a LOB with pro-rata type matching, we demonstrate how our algorithm can calibrate the size of limit orders for a liquidation strategy. Finally, we describe how $K$-NN resampling can be modified for choices of higher dimensional state spaces.<|reference_end|>
@article{giegrich2024limit,
    title={Limit Order Book Simulation and Trade Evaluation with
  $K$-Nearest-Neighbor Resampling},
    author={Michael Giegrich, Roel Oomen, Christoph Reisinger},
    journal={arXiv preprint arXiv:2409.06514},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.06514},
    primaryClass={q-fin.TR cs.LG math.OC q-fin.ST stat.ML}
}