Exemplo n.º 1
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));
 }
 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));
 }
Exemplo n.º 3
0
 public ExchangeAccessService(IMarketRepository marketRepository, IBalanceRepository balanceRepository, ICandleChartRepository candleChartRepository)
 {
     this._marketRepository      = marketRepository ?? throw new ArgumentNullException(nameof(marketRepository));
     this._balanceRepository     = balanceRepository ?? throw new ArgumentNullException(nameof(balanceRepository));
     this._candleChartRepository = candleChartRepository ?? throw new ArgumentNullException(nameof(candleChartRepository));
 }
Exemplo n.º 4
0
 public CandleChartsController(ExchangeAccessContext context, ICandleChartRepository candleChartRepository, IExchangeAccessService exchangeAccessService)
 {
     _context = context;
     _candleChartRepository      = candleChartRepository ?? throw new ArgumentNullException(nameof(candleChartRepository));
     this._exchangeAccessService = exchangeAccessService ?? throw new ArgumentNullException(nameof(exchangeAccessService));
 }