Package com.mcorrigal.matchingEngine.orderBook.ask

Examples of com.mcorrigal.matchingEngine.orderBook.ask.AskOrderComparator


  private SellOrder highPricedOrder = dummyLimitSellForPrice("50");
  private SellOrder lowPricedOrder = dummyLimitSellForPrice("40");
 
  @Before
  public void setUp() {
    askOrderComparator = new AskOrderComparator();
  }
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.ask.AskOrderComparator

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.