Add Initial commit

This commit is contained in:
Lev
2021-06-16 17:33:44 -05:00
parent d3d84e81c3
commit 2dc386e7fd
6 changed files with 32 additions and 16 deletions

View File

@ -7,11 +7,13 @@
class Bot
{
public:
Bot(std::string filename);
MerkelMain app;
Bot(MerkelMain app);
/** returns a vector with the Y, B0 and B1 values in the formula Y = B0 + B1.X */
std::vector<double> linearRegresion(std::vector<OrderBookEntry> orderList, unsigned int start, unsigned int end);
void Print(int intLimit);
private:
std::vector<OrderBookEntry> orders;
double getMean(std::vector<OrderBookEntry>);
std::vector<std::string> Bot::getTimeStamps();
};