All problems
Intermediate·💳 Fintech·Zerodha · Robinhood · Goldman Sachs +1

Design
Online Stock Brokerage

Design an online stock trading system where users place buy/sell orders that are matched through an order book.

#Order Book#Matching Engine#Finance
Start Solving 7F + 4NF requirements inside

01 -  Why interviewers ask this

It touches order-matching and portfolio math, both classic fintech LLD themes — interviewers use it to see if you separate order types cleanly and keep balance updates atomic.

02 -  Where this system exists in the real world

You interact with this design every day.

Robinhood / Zerodha-style trading platforms

Portfolio tracking and management tools

Exchange order-matching engines (simplified)

03 -  What you'll master

Solve this once. Know it forever.

01

Model different order types (market, limit, stop)

02

Keep buy/sell balance updates atomic

03

Compute portfolio value and P&L correctly

04 -  What you'll design

7 functional · 4 non-functional requirements.

Users place market orders and limit orders to buy or sell stocks

6 more requirements inside

Sign in to unlock the full brief and start designing

Unlock Requirements

05 -  Companies that ask this

You may face this exact question in your next interview.

Z
Zerodha
R
Robinhood
G
Goldman Sachs
M
Morgan Stanley

Ready?

Open the canvas.
Design it yourself.

See all requirements, use staged hints, run your code, and compare with community discussions - all on the same canvas.

Start Solving