public CryptowatchApiClient(
     IRequestRouter router,
     IAssetsClient assetsClient,
     IPairsClient pairsClient,
     IExchangesClient exchangesClient,
     IMarketsClient marketsClient,
     IAggregatesClient aggregatesClient)
 {
     _router    = router;
     Assets     = assetsClient;
     Pairs      = pairsClient;
     Exchanges  = exchangesClient;
     Markets    = marketsClient;
     Aggregates = aggregatesClient;
 }
Ejemplo n.º 2
0
 public CoingeckoImporter(
     ILoggerFactory loggerFactory,
     ICoinDataTableStorage coinDataTableStorage,
     IRatingDataTableStorage ratingDataTableStorage,
     ICoinsClient coinGeckoClient,
     IExchangesClient exchangesGeckoClient,
     IMapper mapper)
 {
     this.log = loggerFactory.CreateLogger(Constants.FUNCTION_LOG_KEY);
     this.coinDataTableStorage   = coinDataTableStorage;
     this.ratingDataTableStorage = ratingDataTableStorage;
     this.coinGeckoClient        = coinGeckoClient;
     this.exchangesGeckoClient   = exchangesGeckoClient;
     this.mapper = mapper;
 }
Ejemplo n.º 3
0
 public ExchangesClientTests()
 {
     _exchangesClient = ServiceProvider.GetRequiredService <IExchangesClient>();
 }