public void ChangeClient(IHuobiMarketWebsocketClient client) { CryptoValidations.ValidateInput(client, nameof(client)); _client = client; _subscription?.Dispose(); Subscribe(); }
public MarketClientExample(IHuobiMarketWebsocketClient client, ILogger <MarketClientExample> symbol) { _client = client; _logger = symbol; }
public HuobiTradeSource(IHuobiMarketWebsocketClient client) { ChangeClient(client); }