diff --git a/CM2005 Object Oriented Programming/Topic 4/4.4.11/OrderBook.h b/CM2005 Object Oriented Programming/Topic 4/4.4.11/OrderBook.h index 3b155bc..e6421a5 100644 --- a/CM2005 Object Oriented Programming/Topic 4/4.4.11/OrderBook.h +++ b/CM2005 Object Oriented Programming/Topic 4/4.4.11/OrderBook.h @@ -19,6 +19,7 @@ class OrderBook /** returns the next time after the sent time in the orderbook * If no next timestamp is found, wraps to the start */ std::string getNextTime(std::string timestamp); + void insertOrder(OrderBookEntry& order); static double getHighPrice(std::vector& orderList); static double getLowPrice(std::vector& orderList); private: