17 lines
408 B
C++
17 lines
408 B
C++
#pragma once
|
|
|
|
#include "OrderBook.h"
|
|
#include <vector>
|
|
//#include "CSVReader.h"
|
|
|
|
class Bot
|
|
{
|
|
public:
|
|
Bot(std::string filename);
|
|
/** 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;
|
|
}; |