예제 #1
0
 public void clear(Order ask, Order bid, double buyerCharge, double sellerPayment, int quantity) {
   assert ask.isAsk();
   assert bid.isBid();
   recordMatch(ask, bid);
   market.clear(ask, bid, buyerCharge, sellerPayment, quantity);
 }
예제 #2
0
 public void clear(Order ask, Order bid, double price) {
   assert ask.isAsk();
   assert bid.isBid();
   recordMatch(ask, bid);
   market.clear(ask, bid, price);
 }