Imc
Interview Question
Software Engineer Interview
Imc
How would you implement a trade matching engine? The API should support: 1) adding Buy/Sell orders, which should return a Trade if an existing order matches the new one; 2) deleting pending orders; 3) getting market depth or demand, i.e., the 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.

