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

            return(Task.CompletedTask);
        }
コード例 #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);
        }