Beispiel #1
0
        public async Task GetSymbols()
        {
            // Account symbols
            List <TTSymbol> symbols;

            if (string.IsNullOrEmpty(SymbolsFilter))
            {
                symbols = await _client.GetAllSymbolsAsync();
            }
            else
            {
                symbols = await _client.GetSymbolAsync(SymbolsFilter);
            }

            Symbols = symbols != null ? new ObservableCollection <TTSymbol>(symbols) : null;
        }