Goldman Sachs interview question
Design a stock trading system for placing and executing orders
- Company:
- Goldman Sachs
- Round:
- Technical
- Type:
- System design
- Difficulty:
- Hard
- Reported:
- October 19, 2026
Problem
Design a stock trading system. The prompt gives no further detail, so agree on scope with the interviewer before designing. Points to settle:
- Does the system match buy and sell orders itself, as an exchange does, or pass them on to outside markets, as a broker does?
- Which order types are needed (for example market and limit orders), and can open orders be cancelled?
- Must the system check that a user has the cash or shares before accepting an order?
- What do users need to see: order status and executions, holdings, live prices?
Scale No numbers are given. Ask for the number of users and listed stocks, the peak order rate (for example at the market open) and the latency expected for order acknowledgment and execution.
What the interviewer focuses on The order lifecycle, how orders are executed correctly and fairly, how money and shares stay consistent (no double spending, no lost trades), recovery from failures, and, if live prices are in scope, how market data reaches many clients.
Reported by candidates or drawn from publicly available sources, and rewritten in our own words. Pathwise Prep does not publish confidential assessment content. Report a concern