public WarmupSubscriptionsService(TaskRepository taskRepository, BitfinexMessageGenerator messageGenerator, ISocketCommandService bitfinexSocketService, ICandleHistoryPublisher candleHistoryPublisher, ILogger <WarmupSubscriptionsService> logger) { _taskRepository = taskRepository; _messageGenerator = messageGenerator; _bitfinexSocketService = bitfinexSocketService; _candleHistoryPublisher = candleHistoryPublisher; _logger = logger; }
public BrokerChannelService(ISubscriber subscriber, SubscriptionManager subscriptionManager, BitfinexMessageGenerator messageGenerator, ISocketCommandService bitfinexSocketService, ICandleHistoryPublisher candleHistoryPublisher, ILogger <BrokerChannelService> logger) { _logger = logger; _subscriber = subscriber; _subscriptionManager = subscriptionManager; _messageGenerator = messageGenerator; _bitfinexSocketService = bitfinexSocketService; _candleHistoryPublisher = candleHistoryPublisher; }