From 0dd93700c28f9d214c6800629307ea67f521e314 Mon Sep 17 00:00:00 2001 From: Lev Date: Fri, 11 Jun 2021 18:27:42 -0500 Subject: [PATCH] Update added matchAsksToBids function --- CM2005 Object Oriented Programming/Topic 4/4.5.4/OrderBook.h | 1 + 1 file changed, 1 insertion(+) diff --git a/CM2005 Object Oriented Programming/Topic 4/4.5.4/OrderBook.h b/CM2005 Object Oriented Programming/Topic 4/4.5.4/OrderBook.h index e6421a5..82ca373 100644 --- a/CM2005 Object Oriented Programming/Topic 4/4.5.4/OrderBook.h +++ b/CM2005 Object Oriented Programming/Topic 4/4.5.4/OrderBook.h @@ -20,6 +20,7 @@ class OrderBook * If no next timestamp is found, wraps to the start */ std::string getNextTime(std::string timestamp); void insertOrder(OrderBookEntry& order); + std::vector matchAsksToBids(); static double getHighPrice(std::vector& orderList); static double getLowPrice(std::vector& orderList); private: