public Task StopAsync() { _lykkeOrderBookSubscriber.Stop(); ((IStopable)_arbitrageDetectorService).Stop(); return(Task.CompletedTask); }
public Task StopAsync() { _settlementsTimer.Stop(); _indexTickPriceSubscriber.Stop(); _lykkeOrderBookSubscriber.Stop(); _lykkeTradeSubscriber.Stop(); _lykkeBalancesTimer.Stop(); foreach (QuoteSubscriber quoteSubscriber in _quoteSubscribers) { quoteSubscriber.Stop(); } return(Task.CompletedTask); }