Files
UoL/CM2005 Object Oriented Programming/Topic 2/2.5.9/OrderBookEntry.h
2021-05-21 23:48:15 -05:00

25 lines
375 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;
};