Add included the header file to the main file and both cpp files

This commit is contained in:
Lev
2021-05-20 20:53:04 -05:00
parent 8c9b2943cb
commit 3747f8c6b5
4 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,25 @@
#include <string>
enum class OrderBookType
{
bid,
ask
};
class OrderBookEntry
{
public:
OrderBookEntry
(
double price,
double amount,
std::string timestamp,
std::string product,
OrderBookType orderType
);
double price;
double amount;
std::string timestamp;
std::string product;
OrderBookType orderType;
};