Beispiel #1
0
 public StartupManager(
     TickPriceSubscriber[] tickPriceSubscribers,
     SimService simService,
     TickPricePublisher tickPricePublisher,
     OrderBookPublisher orderBookPublisher)
 {
     _tickPriceSubscribers = tickPriceSubscribers;
     _simService           = simService;
     _tickPricePublisher   = tickPricePublisher;
     _orderBookPublisher   = orderBookPublisher;
 }
Beispiel #2
0
        public Task StopAsync()
        {
            OrderBookPublisher.Stop();

            TickPricePublisher.Stop();

            OrderBooksService.Stop();

            TradeHistoryService.Stop();

            BalanceHistoryService.Stop();

            LedgerHistoryService.Stop();

            return(Task.CompletedTask);
        }