Example #1
0
 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));
 }
Example #2
0
 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));
 }
Example #3
0
 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));
 }