Order Book — matching engine

Runs the real orderbookcrate's price-time-priority matching engine over a compact order spec (GET /orderbook). Drive it with ?orders=b,limit,100,5;s,market,,3.

spec: —

Depth

Bids

Asks