Remove Active from StopLimit.
All checks were successful
Build .NET Project / build (push) Successful in 4m45s

This commit is contained in:
2025-12-12 09:32:53 -05:00
parent decccea743
commit e2a72df57d
5 changed files with 255 additions and 257 deletions

View File

@@ -27,7 +27,7 @@ namespace MarketData.MarketDataModel.GainLoss
if(null==gainLossGenerator || null==activeGainLossGenerator)return;
Dictionary<String,String> companyNames = PricingDA.GetNamesForSymbols(symbols);
Dictionary<String,bool> stopLimits = PortfolioDA.HasStopLimit(symbols);
Dictionary<String,bool> stopLimits = StopLimitDA.HasStopLimit(symbols);
foreach(String symbol in symbols)
{
@@ -99,7 +99,7 @@ namespace MarketData.MarketDataModel.GainLoss
public GainLossSummaryItemCollection(PortfolioTrades portfolioTrades,DateTime? maxDateRef=null)
{
List<String> symbols=portfolioTrades.Symbols;
Dictionary<String,bool> stopLimits = PortfolioDA.HasStopLimit(symbols);
Dictionary<String,bool> stopLimits = StopLimitDA.HasStopLimit(symbols);
Dictionary<String,String> namesDictionary = PricingDA.GetNamesForSymbols(symbols);
foreach(String symbol in symbols)