Realized spread, 2D(price - mid a few steps later): the liquidity part of the effective spread.
How many steps ahead the mid is measured (the price-impact horizon).
https://screamer.readthedocs.io/en/latest/ for the Python reference and full details.
Realized spread, 2D(price - mid a few steps later): the liquidity part of the effective spread.