public CryptoRtdServer() { _subMgr = new SubscriptionManager(); _socket = new GdaxWebSocketClient(new Uri("wss://ws-feed.gdax.com")); _binanceAdapter = new BinanceAdapter(_subMgr); }
// // Excel calls this when it wants to shut down RTD server. // void IRtdServer.ServerTerminate() { if (_timer != null) { _timer.Stop(); _timer = null; } if (_socket != null) { _socket.Disconnect(); _socket = null; } if (_binanceAdapter != null) { _binanceAdapter.UnsubscribeAllStreams(); _binanceAdapter = null; } }
public CryptoRtdServer() { _subMgr = new SubscriptionManager(); _binanceAdapter = new BinanceAdapter(_subMgr); }