public void SetSourceBitstampWebSocket() { var webSocket = new BitstampWebSocket(exchangeAccount, fiat, cryptoCurrency); webSocket.StartReadingData(); dataProvider = webSocket; }
public void SetSourceDataFile(string fileName) { var tempFileReader = new OrderBookFileReader(exchangeAccount); tempFileReader.ReadOrderBookFile(fileName); dataProvider = tempFileReader; }