Package com.mcorrigal.matchingEngine.orderBook.bid

Examples of com.mcorrigal.matchingEngine.orderBook.bid.BidOrderComparator


  private PrioritisedOrderList orders;

  @Before
  public void setUp() {
    orders = new PrioritisedOrderList(new BidOrderComparator());
  }
View Full Code Here


  private BuyOrder highPricedOrder = dummyLimitBuyForPrice("50");
  private BuyOrder lowPricedOrder = dummyLimitBuyForPrice("40");
 
  @Before
  public void setUp() {
    bidOrderComparator = new BidOrderComparator();
  }
View Full Code Here

  private OrderBook orderBook;
  private MatchingEngine matchingEngine;
 
  public RealMatchingEngine() {
    OrderList bids = new PrioritisedOrderList(new BidOrderComparator());
    OrderList asks = new PrioritisedOrderList(new AskOrderComparator());
    this.orderBook = OrderBookFactory.newInstance(bids, asks);
    matchingEngine = new MatchingEngine(orderBook);
  }
View Full Code Here

TOP

Related Classes of com.mcorrigal.matchingEngine.orderBook.bid.BidOrderComparator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.