19 using System.Collections.Concurrent;
20 using System.Collections.Generic;
33 protected ConcurrentDictionary<Channel, int>
SubscribersByChannel {
get; init; } =
new ConcurrentDictionary<Channel, int>();
43 var channel = GetChannel(dataConfig);
56 catch (Exception exception)
71 var channel = GetChannel(dataConfig);
87 catch (Exception exception)
101 .Select(c => c.Symbol)
113 #pragma warning disable CA1309
114 return SubscribersByChannel.Keys.Where(x => x.Name.Equals(channelName, StringComparison.InvariantCultureIgnoreCase))
115 #pragma warning restore CA1309
116 .Select(c => c.Symbol)
146 protected abstract bool Subscribe(IEnumerable<Symbol> symbols,
TickType tickType);