Пример #1
0
        public async Task GetPublicSymbols()
        {
            // Public symbols
            List <TTSymbol> publicSymbols;

            if (string.IsNullOrEmpty(PublicSymbolsFilter))
            {
                publicSymbols = await _client.GetPublicAllSymbolsAsync();
            }
            else
            {
                publicSymbols = await _client.GetPublicSymbolAsync(PublicSymbolsFilter);
            }

            PublicSymbols = publicSymbols != null ? new ObservableCollection <TTSymbol>(publicSymbols) : null;
        }