コード例 #1
0
        public async Task GetPublicTickers()
        {
            // Public symbol statistics
            List <TTTicker> publicTickers;

            if (string.IsNullOrEmpty(PublicTickersFilter))
            {
                publicTickers = await _client.GetPublicAllTickersAsync();
            }
            else
            {
                publicTickers = await _client.GetPublicTickerAsync(PublicTickersFilter);
            }

            PublicTickers = publicTickers != null ? new ObservableCollection <TTTicker>(publicTickers) : null;
        }