25 lines
568 B
C++
25 lines
568 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
#include "OrderBookEntry.h"
|
|
#include "OrderBook.h"
|
|
|
|
class MerkelMain
|
|
{
|
|
public:
|
|
MerkelMain();
|
|
/** Call this to start the sim */
|
|
void init();
|
|
private:
|
|
void loadOrderBook();
|
|
void printMenu();
|
|
void printHelp();
|
|
void printMarketStats();
|
|
void enterOffer();
|
|
void enterBid();
|
|
void printWallet();
|
|
void gotoNextTimeframe();
|
|
int getUserOption();
|
|
void processUserOption(int userOption);
|
|
OrderBook orderBook{"20200317.csv"};
|
|
};
|