Skip to Content

Stock Exchange

Questions

What

  • What securities are we going to trade? (Stocks)
  • What types of order operations are supported? (Placing a new order, canceling an order)
  • What types of orders do we need to support? (Limit order)
  • What are the basic functions of the exchange? (Placing/canceling orders, viewing real-time order book, receiving matched trades in real-time)
  • What scale of the exchange do we need to support? (Tens of thousands of users, at least 100 symbols, billions of orders per day)

When

  • When does the trading occur? (Normal trading hours, no after-hours trading)

How

  • How do we handle risk checks? (Simple risk checks, e.g., maximum 1 million shares of Apple stock per day per user)
  • How do we manage user funds? (Ensure sufficient funds, withhold funds for pending orders)

Overview

Last updated on