From e0d225ad1793b1207f46ed0c5df8b08348d90710 Mon Sep 17 00:00:00 2001 From: Sean Date: Fri, 24 May 2024 15:10:26 -0400 Subject: [PATCH] Use SymbolCache --- UIUtils/ProformaAddPositionDialog.xaml.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UIUtils/ProformaAddPositionDialog.xaml.cs b/UIUtils/ProformaAddPositionDialog.xaml.cs index 67b610b..d188e18 100644 --- a/UIUtils/ProformaAddPositionDialog.xaml.cs +++ b/UIUtils/ProformaAddPositionDialog.xaml.cs @@ -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;