Add separating Merkel into header and cpp

This commit is contained in:
Lev
2021-05-21 23:15:27 -05:00
parent 3747f8c6b5
commit c7cdffc9ee
6 changed files with 180 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;
};