Exemple #1
0
        // public ChartPair ChartPair60 { get; set; }

        public OhlcService(
            ILogger <OhlcService> logger,
            IHubContext <TickerHub> hubContext,
            LandsbankinnService landsbankinn,
            AssetService asset,
            KrakenService kraken)
        {
            _logger     = logger;
            _hubContext = hubContext;
            _asset      = asset;
            _kraken     = kraken;
        }
Exemple #2
0
 public TickerService(
     ILogger <TickerService> logger,
     IHubContext <TickerHub> hubContext,
     LandsbankinnService landsbankinn,
     KrakenService kraken,
     AssetService asset)
 {
     _logger       = logger;
     _hubContext   = hubContext;
     _landsbankinn = landsbankinn;
     _kraken       = kraken;
     _asset        = asset;
 }
Exemple #3
0
 public MarketService(
     ILogger <MarketService> logger,
     IServiceScopeFactory scopeFactory,
     AssetService asset,
     LandsbankinnService landsbankinn,
     KrakenService kraken,
     TickerService ticker,
     OhlcService ohlc)
 {
     _logger       = logger;
     _scopeFactory = scopeFactory;
     _asset        = asset;
     _landsbankinn = landsbankinn;
     _kraken       = kraken;
     _ticker       = ticker;
     _ohlc         = ohlc;
 }