Update added arguments to matchAsksToBids

This commit is contained in:
Lev
2021-06-11 18:57:29 -05:00
parent e64a770ad0
commit dcf943bdfb

View File

@ -20,7 +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<OrderBookEntry> matchAsksToBids();
std::vector<OrderBookEntry> matchAsksToBids(std::string product, std::string timestamp);
static double getHighPrice(std::vector<OrderBookEntry>& orderList);
static double getLowPrice(std::vector<OrderBookEntry>& orderList);
private: