Files
UoL/CM2005 Object Oriented Programming/Midterm/Midterm Project/TradingBot.h
2021-06-13 17:56:00 -05:00

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;
};