=== Order Matching Engine (simulation) ===
>   S1: 100 resting at 101.50
>   S2: 50 resting at 101.00
>   S3: 70 resting at 101.00
>   S4: 200 resting at 102.25
>   B1: 80 resting at 100.00
>   B2: 40 resting at 99.75
>   B3: 30 resting at 100.00
>         price     qty  orders
  ASK   102.25     200       1
  ASK   101.50     100       1
  ASK   101.00     120       2
  ---- spread 1.00 ----
  BID   100.00     110       2
  BID    99.75      40       1
>   TRADE 50 @ 101.00  (buyer B4, seller S2)
  TRADE 10 @ 101.00  (buyer B4, seller S3)
  B4 fully filled
>         price     qty  orders
  ASK   102.25     200       1
  ASK   101.50     100       1
  ASK   101.00      60       1
  ---- spread 1.00 ----
  BID   100.00     110       2
  BID    99.75      40       1
>   TRADE 60 @ 101.00  (buyer B5, seller S3)
  TRADE 90 @ 101.50  (buyer B5, seller S1)
  B5 fully filled
>         price     qty  orders
  ASK   102.25     200       1
  ASK   101.50      10       1
  ---- spread 1.50 ----
  BID   100.00     110       2
  BID    99.75      40       1
>   TRADE 80 @ 100.00  (buyer B1, seller S5)
  TRADE 20 @ 100.00  (buyer B3, seller S5)
  S5 fully filled
>   reduced S4 to 120
>   cannot reduce S4 (unknown, or not a reduction)
>   cancelled B2
>   not on the book: B2
> Invalid price 'abc'
> Order id B1 was already used
>   TRADE 10 @ 101.50  (buyer B7, seller S1)
  TRADE 120 @ 102.25  (buyer B7, seller S4)
  B7: 170 unfilled, cancelled (market order, no more liquidity)
>         price     qty  orders
  ----------------------
  BID   100.00      10       1
>   trades 8, volume 440, last 102.25, VWAP 101.23
>
