#pragma once #include "OrderBookEntry.h" #include "CSVReader.h" #include #include class OrderBook { public: /* Construct, reading a csv data file */ OrderBook(std::string filename); /* return vector of all known products in the dataset */ std::vector getKnownProducts(); /* return vector of Orders according to the sent filters */ std::vector getOrders(OrderBookType type, std::string product, std::string timestamp); std::string getEarliestTime(); static double getHighPrice(std::vector& orderList); static double getLowPrice(std::vector& orderList); private: std::vector orders; };