string GetPerfReport() { if (pastPerf.Where(x => x > 0).Count() > 1) { int stop = 1; } var successRatio = GetSuccessRatio(); //return $"{maxPerf,4},{maxLoss,4},{maxDd,4},{curPerf,4},{pastPerf.Average(),4},{successRatio,4}"; var msg = ""; if (openingState != null) { foreach (var v in openingState) { msg += $"{maxPerf,4},"; } } return(msg); }