A scikit-learn compatible classifier to perform trade classification in Python.
-
Updated
Dec 1, 2026 - Python
A scikit-learn compatible classifier to perform trade classification in Python.
Trade classification error and the reliability of flow toxicity metrics, measuring BVC error against exchange-reported aggressor sides and tracing it into VPIN
End-to-end Python replication of 'The Value of Information: A Puzzle' (Kadan et. al, 2026). Estimates equilibrium dollar value of private information in US equity markets via discrete quadratic covariation of 1-min NYSE TAQ price changes & signed order flow. Implements CLNV trade signing, Amihud filtering, 2-way FE regressions, & SDF entropy bounds
Trade-signing rules (tick, quote, Lee-Ready, EMO, BVC) scored against known ground truth, and whether VPIN tracks informed trading, on a trades-and-quotes simulator with a no-signal control
Trade classification rules scored against the exchange's own flags on 34.4 million CME prints: at-trade quotes are near-perfect, one second of staleness ruins them, and sign error moves 9 in 10 bar boundaries.
To associate your repository with the trade-classification topic, visit your repo's landing page and select "manage topics."