Beispiel #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);
 }
Beispiel #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);
 }