Detecting Toxic Flow

Álvaro Cartea, Gerardo Duran-Martin, Leandro Sánchez-Betancourt
12/10/2023
q-fin.TRcs.LG
bayesian

No confident code implementation found for this paper.

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).

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cartea2023detecting,
  title  = {Detecting Toxic Flow},
  author = {Álvaro Cartea and Gerardo Duran-Martin and Leandro Sánchez-Betancourt},
  year   = {2023},
  eprint = {2312.05827},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.05827v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.05827.svg)](https://codeofpaper.com/paper/2312.05827)

Discussion