Exemple #1
0
        public Task StopAsync()
        {
            _simService.Stop();

            foreach (var subscriber in _tickPriceSubscribers)
            {
                subscriber.Stop();
            }

            _tickPricePublisher.Stop();

            _orderBookPublisher.Stop();

            return(Task.CompletedTask);
        }
Exemple #2
0
        public Task StopAsync()
        {
            OrderBookPublisher.Stop();

            TickPricePublisher.Stop();

            OrderBooksService.Stop();

            TradeHistoryService.Stop();

            BalanceHistoryService.Stop();

            LedgerHistoryService.Stop();

            return(Task.CompletedTask);
        }