IMC Trading interview question

Create a matching engine for a trading system