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