Module 6 · Interview Prep: A Stock Exchange Matching Engine Lesson 45 of 54
Exchange Follow-ups and the Invariant Replay
Self-trades, fairness between members, new stocks, and four ticks.
Transcript
24 sentences · select one to jump thereCheck your understanding
A firm's own buy order is about to match its own sell. What does self-trade prevention do?
Lesson notes
The rule
Anything that changes matching, even adding a stock, goes through the sequencer so it replays