Add using a header and cpp file

This commit is contained in:
Lev
2021-05-20 19:57:37 -05:00
parent 6e4465a384
commit 8c9b2943cb
4 changed files with 106 additions and 0 deletions

View File

@ -0,0 +1,23 @@
#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;
};