Add Bot.h and Bot.cpp
This commit is contained in:
@ -1,20 +1,20 @@
|
||||
#include "OrderBookEntry.h"
|
||||
|
||||
OrderBookEntry::OrderBookEntry( double _price,
|
||||
double _amount,
|
||||
std::string _timestamp,
|
||||
std::string _product,
|
||||
OrderBookType _orderType,
|
||||
std::string _username)
|
||||
: price(_price),
|
||||
amount(_amount),
|
||||
timestamp(_timestamp),
|
||||
product(_product),
|
||||
orderType(_orderType),
|
||||
username(_username)
|
||||
OrderBookEntry::OrderBookEntry(
|
||||
double _price,
|
||||
double _amount,
|
||||
std::string _timestamp,
|
||||
std::string _product,
|
||||
OrderBookType _orderType,
|
||||
std::string _username)
|
||||
:
|
||||
price(_price),
|
||||
amount(_amount),
|
||||
timestamp(_timestamp),
|
||||
product(_product),
|
||||
orderType(_orderType),
|
||||
username(_username)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
OrderBookType OrderBookEntry::stringToOrderBookType(std::string s)
|
||||
|
||||
Reference in New Issue
Block a user