-
Notifications
You must be signed in to change notification settings - Fork 0
/
exchange.h
24 lines (20 loc) · 855 Bytes
/
exchange.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
#ifndef EXCHANGE_H
#define EXCHANGE_H
#include "types.h"
#include "exchangespecification.h"
#include "pollingmarketdataservice.h"
#include "pollingtradeservice.h"
#include "pollingaccountservice.h"
class Exchange
{
public:
Exchange();
virtual ExchangeSpecification* getExchangeSpecification() const = 0;
virtual ExchangeSpecification* getDefaultExchangeSpecification() const = 0;
virtual void applySpecification(const ExchangeSpecification *exchangeSpecification) = 0;
virtual PollingMarketDataService* getPollingMarketDataService() const = 0;
// //virtual StreamingExchangeService getStreamingExchangeService(ExchangeStreamingConfiguration configuration);
//virtual PollingTradeService* getPollingTradeService() const = 0;
//virtual PollingAccountService* getPollingAccountService() const = 0;
};
#endif // EXCHANGE_H