Detecting toxic flow

venue: Quantitative Finance, 26(4), 541-561
date: February 2026
link: https://www.tandfonline.com/doi/full/10.1080/14697688.2026.2619539
Authors: Álvaro Cartea, Gerardo Duran-Martin, Leandro Sánchez-Betancourt

Abstract

This paper develops a framework to predict toxic trades that a broker receives from her clients. Toxic trades are predicted with a novel online learning Bayesian method which we call the projection-based unification of last-layer and subspace estimation (PULSE). PULSE is a fast and statistically-efficient Bayesian procedure for online training of neural networks. We employ a proprietary dataset of foreign exchange transactions to test our methodology. Neural networks trained with PULSE outperform standard machine learning and statistical methods when predicting if a trade will be toxic; the benchmark methods are logistic regression, random forests, and a recursively-updated maximum-likelihood estimator. We devise a strategy for the broker who uses toxicity predictions to internalise or to externalise each trade received from her clients. Our methodology can be implemented in real-time because it takes less than one millisecond to update parameters and make a prediction. Compared with the benchmarks, online learning of a neural network with PULSE attains the highest PnL and avoids the most losses by externalising toxic trades.

Citation

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
@article{cartea2026detecting,
  title={Detecting toxic flow},
  author={Cartea, \'{A}lvaro and Duran-Martin, Gerardo and S\'{a}nchez-Betancourt, Leandro},
  journal={Quantitative Finance},
  volume={26},
  number={4},
  pages={541--561},
  year={2026},
  doi={10.1080/14697688.2026.2619539},
  url={https://doi.org/10.1080/14697688.2026.2619539},
}