Exemplo n.º 1
0
        private async void tickerTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
        {
            m_tickerTimer.Enabled = false;
            var tickers = await GetAllTickers();

            UpdateTickerEvent?.Invoke(this, new TickersUpdateArgs(this.Exch, tickers));
            m_tickerTimer.Enabled = true;
        }
Exemplo n.º 2
0
 private static void Exchanges_UpdateTickerEvent(object sender, TickersUpdateArgs e)
 {
     UpdateTickerEvent?.Invoke(sender, e);
 }