From 64b5fe93c3d9ea18b54c025cdd603aa88ee63cce Mon Sep 17 00:00:00 2001 From: Sean Date: Fri, 24 May 2024 15:11:01 -0400 Subject: [PATCH] Use SymbolCache --- ViewModels/AnalystRatingsViewModel.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ViewModels/AnalystRatingsViewModel.cs b/ViewModels/AnalystRatingsViewModel.cs index d8f8258..6a2ff57 100644 --- a/ViewModels/AnalystRatingsViewModel.cs +++ b/ViewModels/AnalystRatingsViewModel.cs @@ -17,6 +17,7 @@ using TradeBlotter.Command; using TradeBlotter.Model; using Microsoft.Research.DynamicDataDisplay.DataSources; using System.Threading; +using TradeBlotter.Cache; namespace TradeBlotter.ViewModels { @@ -234,7 +235,8 @@ namespace TradeBlotter.ViewModels private void HandleSelectedWatchList() { MDTrace.WriteLine(LogLevel.DEBUG, "AnalystRatingsViewModel::HandleSelectedDate"); - 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);