Imc
Interview Question
Software Engineer Interview
Imc
How would you implement a trade matching engine? The API for it should support: (1) adding Buy/Sell orders (these methods should return a Trade if an existing order matches the new one), (2) deleting pending orders, and (3) getting market depth or demand (i.e., range of buy/sell prices and total volume of pending orders at each price).
Unlock the Full Solution
Enter your email to get instant access to the complete solution, explanation, and similar practice problems.

