Update added insertOrder
This commit is contained in:
@ -19,6 +19,7 @@ class OrderBook
|
|||||||
/** returns the next time after the sent time in the orderbook
|
/** returns the next time after the sent time in the orderbook
|
||||||
* If no next timestamp is found, wraps to the start */
|
* If no next timestamp is found, wraps to the start */
|
||||||
std::string getNextTime(std::string timestamp);
|
std::string getNextTime(std::string timestamp);
|
||||||
|
void insertOrder(OrderBookEntry& order);
|
||||||
static double getHighPrice(std::vector<OrderBookEntry>& orderList);
|
static double getHighPrice(std::vector<OrderBookEntry>& orderList);
|
||||||
static double getLowPrice(std::vector<OrderBookEntry>& orderList);
|
static double getLowPrice(std::vector<OrderBookEntry>& orderList);
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in New Issue
Block a user