Use SymbolCache
This commit is contained in:
@@ -416,7 +416,8 @@ namespace TradeBlotter.ViewModels
|
||||
{
|
||||
semaphorePool[Tasks.SelectedWatchList].WaitOne();
|
||||
MDTrace.WriteLine(LogLevel.DEBUG, "OnOptionsViewModelPropertyChanged:SelectedWatchList");
|
||||
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);
|
||||
symbols = OptionsDA.GetOptionsSymbolIn(symbols);
|
||||
base.OnPropertyChanged("Symbols");
|
||||
|
||||
Reference in New Issue
Block a user