-
Notifications
You must be signed in to change notification settings - Fork 0
/
MerkelMain.h
36 lines (32 loc) · 1023 Bytes
/
MerkelMain.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#pragma once
#include <vector>
#include "OrderBookEntry.h"
#include "OrderBook.h"
#include "Candlestick.h"
#include "Wallet.h"
#include "TechnicalAnalysis.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(const std::string& currencyPair);
int getUserOption();
void processUserOption(int userOption);
void enterAsk();
void plotVolumeData(const std::vector<OrderBookEntry>& entries, const std::string& currencyPair);
void plotPriceData(const std::vector<OrderBookEntry>& entries, const std::string& currencyPair);
std::string currentTime;
//OrderBook orderBook{ "20200317.csv" };
OrderBook orderBook{ "20200601.csv" };
Wallet wallet;
};