Use SymbolCache
This commit is contained in:
@@ -18,6 +18,7 @@ using TradeBlotter.Model;
|
||||
using Microsoft.Research.DynamicDataDisplay.DataSources;
|
||||
using System.Threading;
|
||||
using System.Windows;
|
||||
using TradeBlotter.Cache;
|
||||
|
||||
namespace TradeBlotter.ViewModels
|
||||
{
|
||||
@@ -247,7 +248,8 @@ namespace TradeBlotter.ViewModels
|
||||
}
|
||||
private void HandleSelectedWatchList()
|
||||
{
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user