Update compareByTime function

This commit is contained in:
Lev
2021-06-11 16:06:12 -05:00
parent aaba315e77
commit 13798a3669

View File

@ -15,6 +15,10 @@ class OrderBookEntry
OrderBookType _orderType);
static OrderBookType stringToOrderBookType(std::string s);
static bool compareByTimestamp(OrderBookEntry& entry1, OrderBookEntry& entry2)
{
return entry1.timestamp < entry2.timestamp;
}
double price;
double amount;