public void ChangeClient(IHuobiMarketWebsocketClient client)
        {
            CryptoValidations.ValidateInput(client, nameof(client));

            _client = client;
            _subscription?.Dispose();
            Subscribe();
        }
Пример #2
0
 public MarketClientExample(IHuobiMarketWebsocketClient client, ILogger <MarketClientExample> symbol)
 {
     _client = client;
     _logger = symbol;
 }
 public HuobiTradeSource(IHuobiMarketWebsocketClient client)
 {
     ChangeClient(client);
 }