public ExchangeServices( ICryptopiaService cryptopiaService, IBittrexService bittrexService, IBinanceService binanceService ) { _cryptopiaService = cryptopiaService; _bittrexService = bittrexService; _binanceService = binanceService; }
public ExchangeNormalizerService( IBinanceService binanceService, IBittrexService bittrexService, ICryptopiaService cryptopiaService ) { _binanceService = binanceService; _bittrexService = bittrexService; _cryptopiaService = cryptopiaService; }
public PingService( IGMailService gmailService, IBinanceService binanceService, IHostingEnvironment hostingEnv, IStorageService storageService, IStateService stateService, ILogger <PingService> logger) { _gmailService = gmailService; _binanceService = binanceService; _storageService = storageService; _hostingEnv = hostingEnv; _stateService = stateService; _logger = logger; }
public EmailSummaryJob( IConfigurationRoot configuration, ILogger log, IMapper mapper, XtbInterface xtbService, IBinanceService binanceService, IEmailService emailService, IOtoDomRepository otoDomRepository, IPriceRepository priceRepository, IEmailGeneratorFactory emailGeneratorFactory) { _configuration = configuration; _log = log; _mapper = mapper; _xtbService = xtbService; _binanceService = binanceService; _emailService = emailService; _otoDomRepository = otoDomRepository; this._priceRepository = priceRepository; _emailGeneratorFactory = emailGeneratorFactory; }
public BinanceDataPool(IBinanceService binanceService) { BinanceService = binanceService; _tradeDataCallbacks = new Dictionary <String, Action <List <TradeInfo> > >(); _priceCheckTimer = new Timer(state => Refresh(), binanceService, Timeout.InfiniteTimeSpan, Timeout.InfiniteTimeSpan); }