July 4th Sale
Limited Time Deal: Unlock all premium questions for over 40% off
$10.42$6.25
10
:
09
:
25
:
21
Back to Dashboard
Find Maximum Trade Shares
Medium
A stock exchange processes a stream of trade orders sequentially. Each order specifies a limit price, a quantity of shares, and a side (either "buy" or "sell").
When a new order arrives, the exchange attempts to match it against resting orders on the opposite side: ...