Ejemplo n.º 1
0
 public ApiService(IConfigService configService, ICryptoCompareDataService cryptoCompareDataService, IServiceProvider serviceProvider)
 {
     _configService            = configService;
     _cryptoCompareDataService = cryptoCompareDataService;
     _serviceProvider          = serviceProvider;
     _configurationData        = configService.GetApiConfigurationForExchange(Name);
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 4
0
 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;
 }
Ejemplo n.º 5
0
        //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;
        }
Ejemplo n.º 6
0
 public CoinroomApiService(IConfigService configService, ICryptoCompareDataService cryptoCompareDataService, IServiceProvider serviceProvider)
     : base(configService, cryptoCompareDataService, serviceProvider)
 {
 }
Ejemplo n.º 7
0
 public YobitApiService(Exchange exchange, IConfigService configService, ICryptoCompareDataService cryptoCompareDataService, IServiceProvider serviceProvider)
     : base(configService, cryptoCompareDataService, serviceProvider)
 {
     _exchange = exchange;
 }
Ejemplo n.º 8
0
 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)
 {
 }
Ejemplo n.º 10
0
 public BitfinexApiService(IConfigService configService, ICryptoCompareDataService cryptoCompareDataService, IServiceProvider serviceProvider)
     : base(configService, cryptoCompareDataService, serviceProvider)
 {
 }
Ejemplo n.º 11
0
 public BtcMarketsApiService(IConfigService configService, ICryptoCompareDataService cryptoCompareDataService, IServiceProvider serviceProvider)
     : base(configService, cryptoCompareDataService, serviceProvider)
 {
 }
Ejemplo n.º 12
0
 public LocalBitcoinsApiService(IConfigService configService, ICryptoCompareDataService cryptoCompareDataService, IServiceProvider serviceProvider)
     : base(configService, cryptoCompareDataService, serviceProvider)
 {
 }
Ejemplo n.º 13
0
 public TuxExchangeApiService(IConfigService configService, ICryptoCompareDataService cryptoCompareDataService, IServiceProvider serviceProvider)
     : base(configService, cryptoCompareDataService, serviceProvider)
 {
 }