Files
UoL/CM2005 Object Oriented Programming/Topic 2/2.5.1/OrderBookEntry.h
2021-05-20 19:57:37 -05:00

23 lines
365 B
C++

#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;
};