private SortedDictionary<float, StockPersonality> EvalPersonalityList(StockSerie stockSerie, List<StockPersonality> personalityList) { SortedDictionary<float, StockPersonality> returnDico = new SortedDictionary<float, StockPersonality>(); float returnValue; foreach (StockPersonality stockPersonality in personalityList) { stockSerie.StockAnalysis.StockPersonality = stockPersonality; stockSerie.AddSerie(StockDataType.SAREX_FOLLOWER_CUSTOM, null); stockSerie.AddSerie(StockIndicatorType.BUY_SELL_RATE, null); returnValue = stockSerie.CalculateSarReturn(StockDataType.SAREX_FOLLOWER_CUSTOM); if (returnValue >0 && !returnDico.ContainsKey(returnValue)) { returnDico.Add(returnValue, stockPersonality); } } return returnDico; }