public ProfitRoomFoundedWithEnoughBalancesIntegrationEventHandler( ISimpleArbitrageRepository simpleArbitrageRepository, IStopLossSettingRepository stopLossSettingRepository, IOrderRepository orderRepository, IExchangeApiRequestFrequenciesControlService exchangeApiRequestFrequenciesControlService) { this._simpleArbitrageRepository = simpleArbitrageRepository ?? throw new ArgumentNullException(nameof(simpleArbitrageRepository)); this._stopLossSettingsRepository = stopLossSettingRepository ?? throw new ArgumentNullException(nameof(stopLossSettingRepository)); this._orderRepository = orderRepository ?? throw new ArgumentNullException(nameof(orderRepository)); this._exchangeApiRequestFrequenciesControlService = exchangeApiRequestFrequenciesControlService ?? throw new ArgumentNullException(nameof(exchangeApiRequestFrequenciesControlService)); }
public ProfitRoomFoundedIntegrationEventHandler(ISimpleArbitrageRepository simpleArbitrageRepository, IStopLossSettingRepository stopLossSettingRepository) { this._simpleArbitrageRepository = simpleArbitrageRepository ?? throw new ArgumentNullException(nameof(simpleArbitrageRepository)); this._stopLossSettingsRepository = stopLossSettingRepository ?? throw new ArgumentNullException(nameof(stopLossSettingRepository)); }