Пример #1
0
        public void SetSourceBitstampWebSocket()
        {
            var webSocket = new BitstampWebSocket(exchangeAccount, fiat, cryptoCurrency);

            webSocket.StartReadingData();
            dataProvider = webSocket;
        }
Пример #2
0
        public void SetSourceDataFile(string fileName)
        {
            var tempFileReader = new OrderBookFileReader(exchangeAccount);

            tempFileReader.ReadOrderBookFile(fileName);
            dataProvider = tempFileReader;
        }