Why you keep only part of the spread you quote
Asked at Jane Street
You sell shares at your offer of when the mid is , a -cent quoted half-spread. Five minutes later, the mid has moved to : the trade "predicted" the move, because the buyer knew something.
Of your -cent quoted half-spread, how much did you actually keep? Decompose it into realized spread and price impact.