Files
UoL/CM2005 Object Oriented Programming/Topic 2/2.5.13/OrderBookEntry.h

26 lines
388 B
C++

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