public LiveRoundtripExitOrderSubmittedIntegrationEventHandler(IExchangeAccessIntegrationEventService exchangeAccessIntegrationEventService, IMarketRepository marketRepository, IBalanceRepository balanceRepository, IExchangeAccessService exchangeAccessService) { _exchangeAccessIntegrationEventService = exchangeAccessIntegrationEventService ?? throw new ArgumentNullException(nameof(exchangeAccessIntegrationEventService)); _marketRepository = marketRepository ?? throw new ArgumentNullException(nameof(marketRepository)); _balanceRepository = balanceRepository ?? throw new ArgumentNullException(nameof(balanceRepository)); _exchangeAccessService = exchangeAccessService ?? throw new ArgumentNullException(nameof(exchangeAccessService)); }
public BacktesingTraceStartedIntegrationEventHandler( ICandleChartRepository candleChartRepository, IExchangeAccessIntegrationEventService exchangeAccessIntegrationEventService, IExchangeAccessService exchangeAccessService ) { this._candleChartRepository = candleChartRepository ?? throw new ArgumentNullException(nameof(candleChartRepository)); this._exchangeAccessIntegrationEventService = exchangeAccessIntegrationEventService ?? throw new ArgumentNullException(nameof(exchangeAccessIntegrationEventService)); this._exchangeAccessService = exchangeAccessService ?? throw new ArgumentNullException(nameof(exchangeAccessService)); }
public ExchangeBalanceDataReceivedIntegrationEventHandler(IBalanceRepository balanceRepository, IExchangeAccessIntegrationEventService exchangeAccessIntegrationEventService) { _balanceRepository = balanceRepository ?? throw new ArgumentNullException(nameof(balanceRepository)); _exchangeAccessIntegrationEventService = exchangeAccessIntegrationEventService ?? throw new ArgumentNullException(nameof(exchangeAccessIntegrationEventService)); }
public TraceDataRequestedIntegrationEventHandler(ICandleChartRepository candleChartRepository, IExchangeAccessIntegrationEventService exchangeAccessIntegrationEventService, IExchangeAccessService exchangeAccessService) { _candleChartRepository = candleChartRepository ?? throw new ArgumentNullException(nameof(candleChartRepository)); _exchangeAccessIntegrationEventService = exchangeAccessIntegrationEventService ?? throw new ArgumentNullException(nameof(exchangeAccessIntegrationEventService)); _exchangeAccessService = exchangeAccessService ?? throw new ArgumentNullException(nameof(exchangeAccessService)); }