Use SymbolCache

This commit is contained in:
2024-05-24 15:10:26 -04:00
parent d302e28c2b
commit e0d225ad17

View File

@@ -15,6 +15,7 @@ using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.Windows.Threading;
using TradeBlotter.Cache;
namespace TradeBlotter.UIUtils
{
@@ -48,7 +49,8 @@ namespace TradeBlotter.UIUtils
txtExposure.TextChanged += txtExposure_SelectionChanged;
dpPurchaseDate.SelectedDateChanged += dpPurchaseDate_SelectionChanged;
symbols=PricingDA.GetSymbols();
// symbols=PricingDA.GetSymbols();
symbols=SymbolCache.GetInstance().GetSymbols();
Title = title;
Shares = 0.00;
Exposure = 0.00;