Part 11 · Trading it for real
How orders really fill
Your order joins a line
A quote is a list of offers, each for a limited number of shares. Your order trades against whatever is there when it arrives.
If the best offer is smaller than your order, the rest fills at the next price, and the next.
