Update implemented simuser logs

This commit is contained in:
Lev
2021-06-13 13:02:49 -05:00
parent 4b64ff2af7
commit 4f7a711942
4 changed files with 25 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
#include <string>
enum class OrderBookType{bid, ask, unknown, sale};
enum class OrderBookType{bid, ask, unknown, asksale, bidsale};
class OrderBookEntry
{
@@ -12,7 +12,8 @@ class OrderBookEntry
double _amount,
std::string _timestamp,
std::string _product,
OrderBookType _orderType);
OrderBookType _orderType,
std::string username = "dataset");
static OrderBookType stringToOrderBookType(std::string s);
@@ -34,4 +35,5 @@ class OrderBookEntry
std::string timestamp;
std::string product;
OrderBookType orderType;
std::string username;
};