public void SelectActiveAccount(string accountId) { if (!ProviderAccountNumbers.Contains(accountId)) { Log(new LogMessage(ToString(), $"Cannot activate {accountId}", LogMessageType.TradingError)); return; } StopStreamingDataForPositions(); // Set the active account TradingProvider.SetActiveAccount(accountId); StartStreamingDataForPositions(); }