Machine Learning for Spoofing and Layering Detection: An Evaluation Protocol and a Semi-Synthetic Order-Book Benchmark
Spoofing and layering, in which orders are placed without intent to execute and canceled after influencing prices or visible liquidity, threaten the integrity of futures markets, and fixed-threshold surveillance rules struggle to separate them from legitimate high-frequency trading. This paper specifies a machine learning framework and evaluation protocol for spoofing and layering surveillance and tests part of it on a semi-synthetic benchmark. Because labeled spoofing data are not public, the benchmark uses 183 hours of real BTC-USD order-book snapshots from a public exchange feed with injected, labeled spoofing episodes, in which spoofing differs from genuine liquidity only in how soon the displayed quantity is withdrawn. A cancellation-rule baseline and five detectors were evaluated over five injection seeds and three chronological test windows. Logistic regression, a random forest, and gradient boosting improved on the rule baseline (F1-score 0.16 to 0.18 against 0.11; PR-AUC about 0.11 against 0.07) in 13 to 15 of 15 paired runs, but absolute precision was low (0.15 to 0.16, against a base rate of 3.3%), the ensembles did not outperform logistic regression, and an isolation forest and a temporal convolutional network did not beat the rule. Removing the cancellation features lowered the F1-score of gradient boosting from 0.165 to 0.121. The results are a first reference point on a synthetic task, not evidence of operational readiness. Validation on labeled futures-exchange data and trader-level features remains the main direction for future work.
- Link
- https://doi.org/10.20944/preprints202611.1171.v2
- Found by
- Crossref
- Authors
- Sakthi Sankara Balaji Sathyamurthy
- Categories
- benchmark, evaluation
- Published
- 2026-11-30
- Last seen by the radar
- 2026-12-01
- Citations
- 0
- Radar score
- 35.78 / 100 (how it is scored)
- Why it scored so
- Matched: benchmark, evaluat; Primary record: Crossref