public async Task Refresh() { if (m_dataSearchService == null) { m_dataSearchService = SearchServiceProvider.GetDataSearchService(); } var symbols = await m_dataSearchService.Search(string.Empty); Data = new List <SymbolData>(symbols.Where(s => s.m_isQuotable && s.m_isTradable)); LastUpdated = DateTime.Now; await Save(); }
public QuestradeSymbolDataConfig(DataSearchService dataSearchService) : this() { m_dataSearchService = dataSearchService; }