public Task StartAsync()
        {
            _lykkeOrderBookSubscriber.Start();
            ((IStartable)_arbitrageDetectorService).Start();

            return(Task.CompletedTask);
        }
Exemplo n.º 2
0
        public Task StartAsync()
        {
            _lykkeBalancesTimer.Start();

            _lykkeTradeSubscriber.Start();

            _lykkeOrderBookSubscriber.Start();

            _indexTickPriceSubscriber.Start();

            foreach (QuoteSubscriber quoteSubscriber in _quoteSubscribers)
            {
                quoteSubscriber.Start();
            }

            _settlementsTimer.Start();

            return(Task.CompletedTask);
        }