Add changed the main.cpp and the Merkel.cpp to finilize integration

This commit is contained in:
Lev
2021-05-24 14:23:59 -05:00
parent 5b2607113a
commit 725c540a48
11 changed files with 3987 additions and 0 deletions

View File

@ -0,0 +1,22 @@
#pragma once
#include <string>
enum class OrderBookType{bid, ask, unknown};
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;
static OrderBookType stringToOrderBookType(std::string s);
};