Coinbase interview question

Design a distributed system for buying stocks.