Add separating Merkel into header and cpp
This commit is contained in:
@ -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;
|
||||
};
|
||||
Reference in New Issue
Block a user