public void DealAdded(object control, CIMTDeal cimtDeal) { Deal deal = new Deal(cimtDeal, _mT5ApiRequests.Name); _deals.Add(deal); decimal balance = _mT5ApiRequests.GetUserBalance(cimtDeal.Login()); _logger.Information(cimtDeal.FormatDeal(balance, _mT5ApiRequests.Name)); RunChecks(deal, _deals.Where(x => x.Action == deal.Action && x.Timestamp <= deal.Timestamp).ToList()); }