public ApiService(IConfigService configService, ICryptoCompareDataService cryptoCompareDataService, IServiceProvider serviceProvider) { _configService = configService; _cryptoCompareDataService = cryptoCompareDataService; _serviceProvider = serviceProvider; _configurationData = configService.GetApiConfigurationForExchange(Name); }
public BitstampApiService(Exchange exchange, IConfigService configService, ICryptoCompareDataService cryptoCompareDataService, IServiceProvider serviceProvider, IBuilderFactory builderFactory) : base(configService, cryptoCompareDataService, serviceProvider) { _exchange = exchange; _serviceProvider = serviceProvider; _builderFactory = builderFactory; }
public ApiServiceInjectionFactory(IConfigService configService, ICryptoCompareDataService cryptoCompareDataService, IBuilderFactory builderFactory, IServiceProvider serviceProvider) { _configService = configService; _cryptoCompareDataService = cryptoCompareDataService; _builderFactory = builderFactory; _serviceProvider = serviceProvider; }
public PricingService(ICryptoCompareDataService cryptoCompareDataService, IMathService mathService, IBuilderFactory builderFactory, IPricingContext pricingContext, IExchangeApiServiceFactory exchangeApiServiceFactory) { _threads = new List <Thread>(); _builderFactory = builderFactory; _pricingContext = pricingContext; _exchangeApiServiceFactory = exchangeApiServiceFactory; _cryptoCompareDataService = cryptoCompareDataService; _mathService = mathService; }
//public TradingService(string exchangeCurrentlyHoldingFunds, string primaryCoin, decimal investment) // : this(exchangeCurrentlyHoldingFunds, primaryCoin, investment, new MathService(), new ExchangeApiServiceFactory(), new CryptoCompareDataService(), new ConfigService(), new EmailService()) //{ } public TradingService(IMathService mathService, IExchangeApiServiceFactory apiServiceFactory, ICryptoCompareDataService cryptoCompareDataService, IConfigService configService, IEmailService emailService, IPricingService pricingService, IPricingContext pricingContext) { _mathService = mathService; _apiServiceFactory = apiServiceFactory; _cryptoCompareDataService = cryptoCompareDataService; _configService = configService; _emailService = emailService; _pricingService = pricingService; _pricingContext = pricingContext; }
public CoinroomApiService(IConfigService configService, ICryptoCompareDataService cryptoCompareDataService, IServiceProvider serviceProvider) : base(configService, cryptoCompareDataService, serviceProvider) { }
public YobitApiService(Exchange exchange, IConfigService configService, ICryptoCompareDataService cryptoCompareDataService, IServiceProvider serviceProvider) : base(configService, cryptoCompareDataService, serviceProvider) { _exchange = exchange; }
public BitTrexApiService(IConfigService configService, ICryptoCompareDataService cryptoCompareDataService, IServiceProvider serviceProvider, IBuilderFactory builderFactory) : base(configService, cryptoCompareDataService, serviceProvider) { _serviceProvider = serviceProvider; _builderFactory = builderFactory; }
public TheRockTradingApiService(IConfigService configService, ICryptoCompareDataService cryptoCompareDataService, IServiceProvider serviceProvider) : base(configService, cryptoCompareDataService, serviceProvider) { }
public BitfinexApiService(IConfigService configService, ICryptoCompareDataService cryptoCompareDataService, IServiceProvider serviceProvider) : base(configService, cryptoCompareDataService, serviceProvider) { }
public BtcMarketsApiService(IConfigService configService, ICryptoCompareDataService cryptoCompareDataService, IServiceProvider serviceProvider) : base(configService, cryptoCompareDataService, serviceProvider) { }
public LocalBitcoinsApiService(IConfigService configService, ICryptoCompareDataService cryptoCompareDataService, IServiceProvider serviceProvider) : base(configService, cryptoCompareDataService, serviceProvider) { }
public TuxExchangeApiService(IConfigService configService, ICryptoCompareDataService cryptoCompareDataService, IServiceProvider serviceProvider) : base(configService, cryptoCompareDataService, serviceProvider) { }