For SymbolCache

This commit is contained in:
2024-05-16 20:39:35 -04:00
parent b8a508fead
commit 7df39b2794
2 changed files with 3 additions and 1 deletions

View File

@@ -341,7 +341,8 @@ namespace TradeBlotter.ViewModels
BusyContent = DATA_MESSAGE;
Task workerTask = Task.Factory.StartNew(() =>
{
if (selectedWatchList.Equals(Constants.CONST_ALL)) symbols = PricingDA.GetSymbols();
// if (selectedWatchList.Equals(Constants.CONST_ALL)) symbols = PricingDA.GetSymbols();
if (selectedWatchList.Equals(Constants.CONST_ALL)) symbols = SymbolCache.GetInstance().GetSymbols();
else symbols = WatchListDA.GetWatchList(selectedWatchList);
});
workerTask.ContinueWith((continuation) =>