A toxicity score is a market maker’s real-time estimate of the adverse selection it would suffer if one side of its quotes were filled now: here, the negative of a forecast of the fill’s mark-out at a fixed horizon, from features observable while the quote rests, fitted on the market maker’s own past fills.
hf_toxicity.calibration.